Remove old version of pdf creator and install the last one
Hi,
I want to deploy pdf creator 1.7.3 silently but i've already old version of pdf creator in the parc.
How can i remove old version and install the lastest silently.
There is any way to delete old version correctly without restarting the system?
Thanks
I want to deploy pdf creator 1.7.3 silently but i've already old version of pdf creator in the parc.
How can i remove old version and install the lastest silently.
There is any way to delete old version correctly without restarting the system?
Thanks
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
dedenker
10 years ago
Did have a look here?
But running it from a script and first uninstall the older version:
msiexec /x {GUID CODE} /qb!
GUID is the product code of the older MSI.
But running it from a script and first uninstall the older version:
msiexec /x {GUID CODE} /qb!
GUID is the product code of the older MSI.
Posted by:
ekgcorp
10 years ago
Cleanest way I can think of is to apply an MST to the newer version, and add older version to upgrades (if its not already there by vendor).
That way, if found it will remove older version and replace it with newer version, if not found it skips that step and keeps going.
If you decide to use the method mentioned above by dddenker, than simply change the /qb! to /qn This way, if it does NOT find the previous version it will not prompt the user stating "No Such Application Exist".
Posted by:
rock_star
10 years ago
Look at the following string :
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{GUID} or name of the application
Key to look for
-> UninstallString
if it is msi then you can use the above mentioned or if it states something like c:\PF\...uninstall.exe then use it .
if it is exe then you can use /s or some silent switch to uninstall previous version.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{GUID} or name of the application
Key to look for
-> UninstallString
if it is msi then you can use the above mentioned or if it states something like c:\PF\...uninstall.exe then use it .
if it is exe then you can use /s or some silent switch to uninstall previous version.
Posted by:
Asker
10 years ago
Hi,
I used the method proposed by dedenker (msiexec /x .....). the problem is that the desinstallation of old version was done fine but the new version is not instaled because the remove of old version requires a restart of system so it can do any thing before restarting. So i'm obliged to intervene to restart and to launch the installation after that.
I used the method proposed by dedenker (msiexec /x .....). the problem is that the desinstallation of old version was done fine but the new version is not instaled because the remove of old version requires a restart of system so it can do any thing before restarting. So i'm obliged to intervene to restart and to launch the installation after that.