A problem when upgrading using the silent switch.
Forum rules
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
An Activity Log is required for support requests. Please read How-to get an activity log? for details on how and why this should be provided.
A problem when upgrading using the silent switch.
I have a problem for a while, the silent switch (/S) works fine with installation, but it doesn't work right when upgrading from a previous release to a new one!
Example: If I have already v1.0.5 installed and tried to update to v1.0.7 using "/S" with the installer it just removes HandBrake v1.0.5 and doesn't install v1.0.7 ! And it doesn't even remove v1.0.5 completely! there are many leftovers! and it never installs v1.0.7 !
I have test several versions but all are the same! So, is there another switch I should use with "/S" to upgrade successfully ?!
Example: If I have already v1.0.5 installed and tried to update to v1.0.7 using "/S" with the installer it just removes HandBrake v1.0.5 and doesn't install v1.0.7 ! And it doesn't even remove v1.0.5 completely! there are many leftovers! and it never installs v1.0.7 !
I have test several versions but all are the same! So, is there another switch I should use with "/S" to upgrade successfully ?!
Re: A problem when upgrading using the silent switch.
It's probably a bug in the installer. /S is the only relevant switch.
I'll look into it when I get some time.
I'll look into it when I get some time.
Re: A problem when upgrading using the silent switch.
Thank you so much it's been like that for a long time BTW.
It would be great if it is fixed in the next release
It would be great if it is fixed in the next release
Re: A problem when upgrading using the silent switch.
Try a nightly build dated tomorrow or later.
https://github.com/HandBrake/HandBrake/ ... 77539cde00
It looks like it was an intermittent failure since the installer wouldn't wait for the uninstaller to complete. Given the uninstaller is so quick, chances are quite a few people never noticed it.
https://github.com/HandBrake/HandBrake/ ... 77539cde00
It looks like it was an intermittent failure since the installer wouldn't wait for the uninstaller to complete. Given the uninstaller is so quick, chances are quite a few people never noticed it.
Re: A problem when upgrading using the silent switch.
Yeah that's sounds like the problem! I tried the new nightly build but it doesn't replace the last stable release, can you provide me a URL for a previous nightly build so I can test with it?
Re: A problem when upgrading using the silent switch.
Yeh, the nightly build can be installed along side the normal release. We don't archive nightlies so best bet is to grab tomorrows nightly.
Re: A problem when upgrading using the silent switch.
Ok then, thanks a lot and I hope to see the fix in the next stable build
Re: A problem when upgrading using the silent switch.
Sadly this is still happening with v1.1.0 ! It's only fixed on Windows 7, but on Win 8.1 & Win 10 the issue remains..
Re: A problem when upgrading using the silent switch.
Funny, I noticed the other day another issue with the Execwait fix. Due to the way NSIS works, there may not actually be any way to cleanly fix this issue
Basically, when you run the uninstaller, it copies itself to a temp folder then executes a second process. So execwait returns before that 2nd uninstaller finishes. So you can be installing / uninstalling at the same time still.
Planning to move to WIX at some point when I get time but that's a bigger more time consuming project.
Basically, when you run the uninstaller, it copies itself to a temp folder then executes a second process. So execwait returns before that 2nd uninstaller finishes. So you can be installing / uninstalling at the same time still.
Planning to move to WIX at some point when I get time but that's a bigger more time consuming project.
Re: A problem when upgrading using the silent switch.
The workaround, is to uninstall silently, wait, then install silently as two separate calls.
Re: A problem when upgrading using the silent switch.
Ok no problem Thanks for the reply! and good luck with this
Re: A problem when upgrading using the silent switch.
BTW can I use a single switch for the v1.1.0 to do all this automatically?
(Uninstall older version, wait, install new version)
(Uninstall older version, wait, install new version)
Re: A problem when upgrading using the silent switch.
Also it always works fine on Windows 7 !! But the issue is only in Windows 8 & 10 !
Re: A problem when upgrading using the silent switch.
It's sad to see this unfixed yet with the latest update! it causes problem in SCCM environment too TBH !
Can you at least remove the ability to remove the older version before upgrading?
When it asks : (HandBreak is already installed, Click "OK" to remove the previous version or "Cancel" to continue.)
Because if I canceled that it automatically overwrite the previous version with the new one without any problems! I couldn't test that silently but I think there won't be a problem since it won't run the uninstaller !
So is there a switch for canceling the removal of previous version that I can use with /S ?
Or is there a switch to "Uninstall older version, wait, then install new version" that I can use with /S ?
If no then I suggest you remove the ability to remove the older version before upgrading in the next release
Can you at least remove the ability to remove the older version before upgrading?
When it asks : (HandBreak is already installed, Click "OK" to remove the previous version or "Cancel" to continue.)
Because if I canceled that it automatically overwrite the previous version with the new one without any problems! I couldn't test that silently but I think there won't be a problem since it won't run the uninstaller !
So is there a switch for canceling the removal of previous version that I can use with /S ?
Or is there a switch to "Uninstall older version, wait, then install new version" that I can use with /S ?
If no then I suggest you remove the ability to remove the older version before upgrading in the next release
Re: A problem when upgrading using the silent switch.
The problem with not running the uninstaller is it'll leave behind uninstallers listed on windows that no longer exist.
The MSI installer has been slowly crawling up my todo list as it'll help in a lot of scenarios, + in theory, it should be easier to deploy through Software centre et all.
The MSI installer has been slowly crawling up my todo list as it'll help in a lot of scenarios, + in theory, it should be easier to deploy through Software centre et all.
Re: A problem when upgrading using the silent switch.
Yes an MSI installer would be great! I hope it will be available with the next update
Re: A problem when upgrading using the silent switch.
I'm not sure but It's getting enough attention that it's higher up on my list.
Fwiw, it might be worth taking the "portable" version (zip package). It might be easier to deploy?
Fwiw, it might be worth taking the "portable" version (zip package). It might be easier to deploy?
Re: A problem when upgrading using the silent switch.
No I can't use the portable edition, but it's ok I will wait for the MSI
Re: A problem when upgrading using the silent switch.
Hey I just wanted to say nice work with v1.2.1 this issue is finally fixed as I tested on several machines
But still an MSI installer in the future would be even better!
And thanks for your hard work in general
But still an MSI installer in the future would be even better!
And thanks for your hard work in general