[wpkg-users] InnoSetup, uninsXXX.exe and "uninsXXX.dat is corrupted"
le dahut
le.dahut at laposte.net
Tue Nov 5 11:43:48 CET 2013
Hello,
I'm fighting with QuickTime Alternative Lite and its upgrade. The
package I have is like this :
<install timeout="300"
cmd='"%SOFTWARE%\quicktime\QT_Lite_%short_version%.exe" /verysilent
/noreboot' />
<upgrade include="remove" />
<upgrade include="install" />
<remove timeout="300" cmd='%COMSPEC% /C if exist "%progfiles%\QT
Lite\unins000.exe" "%progfiles%\QT Lite\unins000.exe" /SILENT' />
<remove timeout="300" cmd='%COMSPEC% /C rmdir /S /Q
"%PROGRAMFILES%\QT Lite"' />
The problem is that sometimes there is a "QT Lite\unins001.exe" and in
this case, executing "QT Lite\unins000.exe" returns a popup error :
"C:\Program Files\QT Lite\unins000.dat file is corrupted. Cannot
uninstall"
Obviously WPKG hangs until timeout...
In some other cases I have "QT Lite\unins004.exe".
Is there a way to check existence of the "highest" unins00X.exe and
executing only this one ?
(this apply to all InnoSetup, I could upgrade by only install new
version but I'd like to remove the previous version first as for some
softwares it is mandatory)
More information about the wpkg-users
mailing list