Giter Club home page Giter Club logo

Comments (31)

ElPumpo avatar ElPumpo commented on May 29, 2024 1

TinyNvidiaUpdateChecker v1.9.0-beta 2.zip

  • supports portable 7zip (17.01 tested), the directory must be in the same directory and named 7-Zip Make sure you have all the binaries! Especially 7zG.exe and 7z.exe are important!
  • --confirm-dl argument that will download and install drivers automaticly, saves the installer at %temp\*driver_version*%, and uses the minimal install feature to cut all bs

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

Thanks for the feedback! What about --install which will install the drivers?

from tinynvidiaupdatechecker.

seagull avatar seagull commented on May 29, 2024

My pleasure, thanks for being so receptive.
If we're discussing wording, I'd propose --force-install to make it clear that user input will not be prompted.
Will this work in tandem with --quiet or does the setting imply interaction-free operation?

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

--force-install is just wrong. We don't want to force an install?

from tinynvidiaupdatechecker.

seagull avatar seagull commented on May 29, 2024

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

How about --confirm-dl

from tinynvidiaupdatechecker.

seagull avatar seagull commented on May 29, 2024

Yeah, that works

from tinynvidiaupdatechecker.

Quozzo avatar Quozzo commented on May 29, 2024

I was just about to suggest the same, well an auto-close option since I just threw a shortcut into the startup folder. Pressing any key is not as bad as having Geforce Experience installed on my system.

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

But then how about self-updating?

from tinynvidiaupdatechecker.

Quozzo avatar Quozzo commented on May 29, 2024

I don't mind self updating. Isn't the whole point of it to update drivers? That what I want regardless of any user input.
If you mean silently update itself then maybe have an option when setting it up, running it for the first time.

from tinynvidiaupdatechecker.

seagull avatar seagull commented on May 29, 2024

From my POV the program's main use will be to give my customers as a way to inform them that their devices need a driver update. Some will use the "just install it" feature, others won't.

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

With self-updating I mean updates to the application.

from tinynvidiaupdatechecker.

seagull avatar seagull commented on May 29, 2024

Oh, I see.
For me, just putting the text "An update is available, grab it at www.blah.xyz" in the StdOut as part of the normal program run would be sufficient.

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

But you wanted everything to be automatic? Dialogs or not? I haven't either programmed a self-updater...

from tinynvidiaupdatechecker.

seagull avatar seagull commented on May 29, 2024

For me, what's important is that it runs without user input. Input is considered before the program is run as part of the arguments it's run with. If there's a "quiet" command-line (or an analogue, as we're doing here), it needs to be just that.

If you're asking me what we should do in regards to program updates, I'm perfectly fine with just saying "A new version is available" in the StdOut. That way the administrator can update their package and run the new version as behoves them. I lean against automatic updates, not least because Administrators typically prefer to keep strict inventories of every program they're using and the version number, but also because it saves you the hassle of coding anything new.

Alternatively, updating really isn't an issue to begin with for me. @Quozzo might disagree, but it seems like a new issue for a new case. As far as I'm concerned it's a non-issue and it doesn't need any additional attention.

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

Ok man

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

Since you're the one wanting this feature, is making a minimal install important to you? One more important thing is that we cannot skip the UAC! You must have privs to install drivers...

from tinynvidiaupdatechecker.

seagull avatar seagull commented on May 29, 2024

Hi;
UAC isn't an issue, the software I work with runs everything in the highest user context.
Installation is undesired; the virtue of the program is its portability. An installer would be a nice extra for other people who aren't me, but if we're focusing on just my use case, I'll go for portable 100% of the time.

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

Installation is undesired; the virtue of the program is its portability. An installer would be a nice extra for other people who aren't me, but if we're focusing on just my use case, I'll go for portable 100% of the time.

I didn't mean installing TNUC? I meant using the 'minimal installer' feature, which will extract the base drivers, so that you don't install all the other shit (telemetry, extra services etc)

from tinynvidiaupdatechecker.

seagull avatar seagull commented on May 29, 2024

Oh, I see.
It would be great if we had some facility to just install the NVIDIA drivers, yeah, without any concern paid to GeForce Experience, HDMI audio, 3D vision, PhysX, ShadowPlay, etc., etc., etc.

from tinynvidiaupdatechecker.

seagull avatar seagull commented on May 29, 2024

Thanks!
Two things:

  • The --quiet switch still causes a prompt, which means it isn't quiet by definition. It should just say "There is an update available to version x.xx" or "There is no update available" in the StdOut.
  • Running the program normally produces the following error for me:
    Retrieving GPU information . . . OK! System.NullReferenceException: Object reference not set to an instance of an object. at TinyNvidiaUpdateChecker.MainConsole.Main(String[] args)

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

Use --quiet with --confirm-dl

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

For the crash, run the app with --debug whitch will tell us more about the problem

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

@seagull try TinyNvidiaUpdateChecker v1.9.0-beta 3.zip which should give us more information about your problem. this version also comes with the new dialog for new driver 🔨 and please use the --debug argument and paste everything here

from tinynvidiaupdatechecker.

Quozzo avatar Quozzo commented on May 29, 2024
Making installer . . .
Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object.
   at TinyNvidiaUpdateChecker.MainConsole.MakeInstaller(Boolean silent)
   at TinyNvidiaUpdateChecker.MainConsole.DownloadDriverQuiet()
   at TinyNvidiaUpdateChecker.MainConsole.DownloadDriver()
   at TinyNvidiaUpdateChecker.MainConsole.Main(String[] args)

That's what I get with v1.9.0 linked above

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

@Quozzo are you using 7-Zip or WinRAR? Try TinyNvidiaUpdateChecker v1.9.0-beta 4.zip which tries to sorround the MakeInstaller() method with try / catch

from tinynvidiaupdatechecker.

Quozzo avatar Quozzo commented on May 29, 2024

I'm using winzip since I don't have winrar installed XD After installing WinRAR no diver was installed and I got this.

TinyNvidiaUpdateChecker v1.9.0 dev build

Copyright (C) 2016-2017 Hawaii_Beach
This program comes with ABSOLUTELY NO WARRANTY
This is free software, and you are welcome to redistribute it
under certain conditions. Licensed under GPLv3.

Arg: --debug

configFile: C:\Users\Quozzo\AppData\Local\Hawaii_Beach\TinyNvidiaUpdateChecker\app.config

Searching for a network connection . . . OK!

winVer: 10
osID:   57
verOrg: 10.0.15063.0

langID:   2
cultName: en-GB

Searching for Updates . . . OK!
offlineVer: 1.9.0
onlineVer:  1.8.0

Retrieving GPU information . . . OK!
gpuURL:      http://www.nvidia.com/Download/processDriver.aspx?psid=98&pfid=756&rpf=1&osid=57&lid=2&ctk=0
processURL:  http://www.nvidia.co.uk/download/driverResults.aspx/124420/en-uk
confirmURL:  http://www.nvidia.com/content/DriverDownload-March2009/confirmation.php?url=/Windows/385.69/385.69-desktop-win10-64bit-international-whql.exe&lang=uk&type=GeForce
downloadURL: http://uk.download.nvidia.com/Windows/385.69/385.69-desktop-win10-64bit-international-whql.exe
pdfURL:      http://uk.download.nvidia.com/Windows/385.69/385.69-win10-win8-win7-desktop-release-notes.pdf
releaseDate: 21/09/2017
OfflineGPUVersion: 385.41
OnlineGPUVersion:  385.69
There are new drivers available to download!

Making installer . . . OK!
Running installer . . . Could not run driver installer!


Job done! Press any key to exit.

It may be due to cancelling the download since the error only occured when clicking install and not download.

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

@Quozzo yes this is my bad, I'm currently implementing a file size check for the driver file, because it skips the download if a file named (in this case) 385.69-desktop-win10-64bit-international-whql.exe. You used the Download + Install button, right? In the meantime you can head over to %temp% and erase the 385.69 folder

from tinynvidiaupdatechecker.

Quozzo avatar Quozzo commented on May 29, 2024

Yeah that did it. So was it caused by using WinZip instead of WinRAR?

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

@Quozzo please continue in #21 as your issue has nothing to do with this.

from tinynvidiaupdatechecker.

ElPumpo avatar ElPumpo commented on May 29, 2024

@seagull i've closed this issue and released v1.9.0. There's now --config-here which uses the working directory as path for config, and --confirm-dl will now automaticly write the config if needed.

from tinynvidiaupdatechecker.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.