/build/static/layout/Breadcrumb_cap_w.png

Minor update and new installation

I have an msi which i have done a minor update on. Replaced some exe files and changed the version number so i got a new package code.
The update works great on the computers which alredy got the package.
But is it also possible to get the package installed on new computers which dont have the previous package with the same system cmd?



Sorry for reposting 2 times

0 Comments   [ + ] Show comments

Answers (8)

Posted by: anonymous_9363 15 years ago
Red Belt
0
Sorry for reposting 2 timesUse the 'Delete' link at the top right-hand side of the duplicate.

As for your question, yes, the command line will be the same.
Posted by: Bankeralle 15 years ago
Second Degree Blue Belt
0
Thx for the reply m8

the cmd line i try to use is
msiexec /i "test.msi" REINSTALL=ALL REINSTALLMODE=vomus ALLUSERS=2 /qb!

This cmd only works if no previous version exsists. If the computer do not contains the product before it simply quits the installation
What is the right syntax?
Posted by: anonymous_9363 15 years ago
Red Belt
0
Sorry: I read 'update' as 'upgrade'. Try:

msiexec /i "test.msi" /qb!
Posted by: Bankeralle 15 years ago
Second Degree Blue Belt
0
ORIGINAL: VBScab

Sorry: I read 'update' as 'upgrade'. Try:

msiexec /i "test.msi" /qb!



If i use msiexec /i "path to msi" /qb! it gives me a message saying a previous version already exsists. It dont try to do any update on the previous version
Posted by: anonymous_9363 15 years ago
Red Belt
0
Use the command line with the REINSTALL and REINSTALLMODE properties for w/s which you want to update and the command line without those properties for w/s which don't yet have the product installed.
Posted by: Bankeralle 15 years ago
Second Degree Blue Belt
0
ORIGINAL: VBScab

Use the command line with the REINSTALL and REINSTALLMODE properties for w/s which you want to update and the command line without those properties for w/s which don't yet have the product installed.



Thx for sll help VBSCab. So are y saying if the product is installed i should use
1. msiexec /i "msi" REINSTALL=ALL REINSTALLMODE=vomus /qb! ALLUSERS=2

and for new computers i should simply use
2. msiexec /i "msi" /qb! ALLUSERS=2

But is it not possible to simply to use one cmd line for both scenarios
Sorry if my explanation is badly
Posted by: anonymous_9363 15 years ago
Red Belt
0
So are y saying if the product is installed i should use
1. msiexec /i "msi" REINSTALL=ALL REINSTALLMODE=vomus /qb! ALLUSERS=2

and for new computers i should simply use
2. msiexec /i "msi" /qb! ALLUSERS=2
Yes
But is it not possible to simply to use one cmd line for both scenarios No

You could obviously wrap each command line in a batch file or script or indeed an EXE wrapper.
Posted by: Bankeralle 15 years ago
Second Degree Blue Belt
0
Already done it m8. But thx for the help though
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ