I am currently deploying an application (Siemens Procenter) and the application comes with two separate features. Manager and Client. I have two transforms to the .msi, one that disables the manager feature (using Install Level) and one that allows the Manager installation.

My question is this. When the Client is installed and then I try and install the manager (using the same MSI and a different transform) the msi installer says product is already installed. It enters maintenance mode, does a few seemingly random things and then exits. The client still works fine... but the manager part does not install. If I enter Add/Remove Programs and select Change->Modify, and then select that feature (Manager) it installs just fine.

My question is, what exactly do I do in the command line or in the transform to get this feature to install correctly? I just want to modify the already installed product to select another feature. For some reason re-running the .msi with another transform (that has manager enabled) doesn't seem to do anything.

Thank you!
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

3
the command line to add/remove features is,
msiexec /i (guid or msi name) ADDLOCAL=FeatureToInstall REMOVE=FeatureToRemove
if adding or removing more than one feature, it would be a comma delimited list of the features (no spaces)
http://msdn.microsoft.com/en-us/library/aa367536(v=VS.85).aspx
unless I am mistaken entering the transform name won't have any effect since it's going to be re-running and adding/removing features from the already transformed installation on the machine.
Answered 08/03/2010 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Great! Thanks, that worked like a charm, now I just need to figure out how to easily add a shortcut to the desktop for it.

unless I am mistaken entering the transform name won't have any effect since it's going to be re-running and adding/removing features from the already transformed installation on the machine.
Yes, that is what I found to be the case. Since it recognizes the GUID as installed, it looks to C:\Windows\Installer\{GUID}\ for the .msi and .mst there.... obviously that won't work...

thanks again for your help.
Answered 08/04/2010 by: deranjer
Senior Yellow Belt

Please log in to comment
0
ORIGINAL: deranjer

Great! Thanks, that worked like a charm, now I just need to figure out how to easily add a shortcut to the desktop for it.


Just make sure your shortcut is associated with a component belonging to the feature you want to install

Yes, that is what I found to be the case.  Since it recognizes the GUID as installed, it looks to C:\Windows\Installer\{GUID}\ for the .msi and .mst there.... obviously that won't work...

thanks again for your help.


you're welcome! here, i work for ratings points (so gimme some) -cheap compared to the real world!
Answered 08/04/2010 by: aogilmor
Ninth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity