/build/static/layout/Breadcrumb_cap_w.png

Reinstall app?

We deployed an application that had the install level property set incorrectly in the property table so one of the features did not get installed. I thought that one could use the following command to force a reinstall from the administrative install point. MsiExec.exe /I{1C90D609-E313-4078-9176-EEF80FA9D908}REINSTALLMODE=vm REINSTALL=ALL When run it appears that the app is reinstalling but the feature does not get added. If I uninstall the app and reinstall, the feature gets added correctly.

0 Comments   [ + ] Show comments

Answers (17)

Posted by: AngelD 15 years ago
Red Belt
0
You would need to point out the new source location (admin install).
MsiExec.exe /I "\\server\share\folder\AIP\package.msi" REINSTALLMODE=vm REINSTALL=ALL
Posted by: joedown 15 years ago
Third Degree Brown Belt
0
ORIGINAL: AngelD

You would need to point out the new source location (admin install).
MsiExec.exe /I "\\server\share\folder\AIP\package.msi" REINSTALLMODE=vm REINSTALL=ALL


Is that the case even if the network install point hasn't changed? Even using the full path does not work. The install kicks off but the missing feature does not get installed. From what I have read this should be really simple. Looking at the log file for the reinstall I see the following but I'm unsure how to fix it. The problem is the F_SetDefaultBrowser feature.


Action start 8:54:10: InstallValidate.
MSI (s) (10:DC) [08:54:10:875]: Feature: ALL.3.0.6.0.Mozilla_Firefox_en_US_; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (10:DC) [08:54:10:875]: Feature: F_FirefoxMain; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (10:DC) [08:54:10:875]: Feature: F_SetDefaultBrowser; Installed: Absent; Request: Null; Action: Null
MSI (s) (10:DC) [08:54:10:875]: Feature: F_Flash; Installed: Local; Request: Reinstall; Action: Reinstall

MSI (s) (10:DC) [08:54:10:875]: Component: C_SetDefaultBrowser; Installed: Absent; Request: Null; Action: Null
MSI (s) (10:DC) [08:54:10:875]: Component: C_SetDefaultBrowserXP; Installed: Absent; Request: Null; Action: Null

MSI (s) (10:DC) [08:54:10:875]: Component: __C_SetDefaultBrowser65; Installed: Null; Request: Null; Action: Null
MSI (s) (10:DC) [08:54:10:875]: Component: __C_SetDefaultBrowserXP65; Installed: Null; Request: Null; Action: Null

Posted by: michaelnowell 15 years ago
Second Degree Blue Belt
0
When you run REINSTALLMODE=vm REINSTALL=ALL, it will only re-cache the installation and the rewrite all of the registry entries for the features that are currently installed on the target PC.

If you want to add a new feature, you have to use the ADDLOCAL property

http://msdn.microsoft.com/en-us/library/aa367536(VS.85).aspx
Posted by: joedown 15 years ago
Third Degree Brown Belt
0
So I should be able to use ADDLOCAL=F_SetDefaultBrowser to add the new feature? It runs through the install but does not add the feature.

ORIGINAL: michaelnowell

When you run REINSTALLMODE=vm REINSTALL=ALL, it will only re-cache the installation and the rewrite all of the registry entries for the features that are currently installed on the target PC.

If you want to add a new feature, you have to use the ADDLOCAL property

http://msdn.microsoft.com/en-us/library/aa367536(VS.85).aspx
Posted by: anonymous_9363 15 years ago
Red Belt
0
So I should be able to use ADDLOCAL=F_SetDefaultBrowser to add the new feature? It runs through the install but does not add the feature.What does the command line you're using look like, though? Also, I've always worked on the basis that property values need to be enclosed in quotes. It seems MS agrees - see the last sentence of this MSDN topic http://msdn.microsoft.com/en-us/library/aa371829(VS.85).aspx
Posted by: AngelD 15 years ago
Red Belt
0
True Ian, but it would not be required if there isn't a whitespace in the value.
Posted by: Foleymon 15 years ago
Orange Senior Belt
0
have you tried running this line?
MsiExec.exe /FVOMUS "\\server\share\folder\AIP\package.msi"
Posted by: joedown 15 years ago
Third Degree Brown Belt
0
ORIGINAL: Foleymon

have you tried running this line?
MsiExec.exe /FVOMUS "\\server\share\folder\AIP\package.msi"



I tried what you suggested with no change.

The command line I was using was :

msiexec.exe /i \\server\package\firefox306.msi REINSTALLMODE=vm REINSTALL=ALL ADDLOCAL=F_SetDefaultBrowser
Posted by: AngelD 15 years ago
Red Belt
0
Have you verified the Feature.Level column value or that there is not condition for the feature preventing it from being installed?
Posted by: joedown 15 years ago
Third Degree Brown Belt
0
ORIGINAL: AngelD

Have you verified the Feature.Level column value or that there is not condition for the feature preventing it from being installed?


Yes, I discovered the issue when checking this version against previous versions and discovered that the install level for the F_SetDefaultBrowser was set to 5 whereas the INSTALLEVEL property in the Property table was set to 3.

BTW this is the msi packaged version of Firefox provided by frontmotion. A free download. http://www.frontmotion.com/Firefox/index.htm I have not had any problems with their previous packages until now.
Posted by: AngelD 15 years ago
Red Belt
0
Don't we just love free packages [;)]
Just make sure you trust this 3rd-party if you're going to deploy this in a corporate environment.
Posted by: joedown 15 years ago
Third Degree Brown Belt
0
I might have been a bit ambiguous in my last message when I stated that the issue was because of the INSTALLLEVEL property being set wrong. I have fixed that problem in my network install point but I'm still unable to get existing workstations with the bad install to reinstall with the fixed package. Any additional suggestions to try?
Posted by: michaelnowell 15 years ago
Second Degree Blue Belt
0
Hi Joedown,

With the command line of "msiexec.exe /i \\server\package\firefox306.msi REINSTALLMODE=vm REINSTALL=ALL ADDLOCAL=F_SetDefaultBrowser" it appears that the REINSTALL property is taking preference and it's still just re-installing the features that are currently installed, therefore neglecting the ADDLOCAL property.

If you run "msiexec.exe /i \\server\package\firefox306.msi ADDLOCAL=F_SetDefaultBrowser" then I think you'll find that the feature will get installed.

Good luck !

Mike
Posted by: joedown 15 years ago
Third Degree Brown Belt
0
You are correct. That worked nicely for adding that feature. For future reference what if you wanted to also remove a feature?

ORIGINAL: michaelnowell

Hi Joedown,

If you run "msiexec.exe /i \\server\package\firefox306.msi ADDLOCAL=F_SetDefaultBrowser" then I think you'll find that the feature will get installed.

Good luck !

Mike
Posted by: michaelnowell 15 years ago
Second Degree Blue Belt
0
I'm glad that it worked for you. To remove a feature you'd have to run the following (I'll use the same feature as an example)

"msiexec.exe /i \\server\package\firefox306.msi REMOVE=F_SetDefaultBrowser"
Posted by: joedown 15 years ago
Third Degree Brown Belt
0
So to add and remove a feature during the same install would be like this?
"msiexec.exe /i \\server\package\firefox306.msi REMOVE=F_SetDefaultBrowser ADDLOCAL=SomeFeature"

ORIGINAL: michaelnowell

I'm glad that it worked for you. To remove a feature you'd have to run the following (I'll use the same feature as an example)

"msiexec.exe /i \\server\package\firefox306.msi REMOVE=F_SetDefaultBrowser"
Posted by: michaelnowell 15 years ago
Second Degree Blue Belt
0
That's right. I wasn't too sure, but I just tested it out and it works.
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