Hi everyone

Im having some problems creating a patch. Im using Wise, and have followed the manual for creating a patch. I have 5 features in the installation. The patch contains 2 files that need to be changed. When I run the patch, it reinstalls everything, does anyone know why this happens.

I have tried setting feature conditions etc, but all features always get reinstalled.

I had a good look through the install log, and I found the following which doesnt seem right:

PROPERTY CHANGE: Modifying REINSTALL property. Its current value is 'OfficePlugin'. Its new value: 'Driver,Complete,OutlookPlugin,OfficePlugin'.

Why does it install all features, even if I specify on the command line to only install OfficePlugin for example, it still installs all features.
0 Comments   [ + ] Show Comments

Comments

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
Don't quote me, because I haven't spent a great deal of time with patches but I think that's by design. There's no reason to panic, though, since re-installing features which are already present means that, in reality, nothing happens. The engine will see the feature state and skip over it at install time.
Answered 06/30/2009 by: VBScab
Red Belt

Please log in to comment
0
Thanks for your reply.

I need to find a way so that a feature does not always get reinstalled, this is because I have a feature called 'Driver', which installs the driver, and everytime this feature gets installed, the user needs to restart, which is not what I want.
Answered 06/30/2009 by: kristjan84
Orange Belt

Please log in to comment
0
In that case, you could condition the feature by testing the PATCH property. http://msdn.microsoft.com/en-us/library/aa370576(VS.85).aspx
Answered 07/01/2009 by: VBScab
Red Belt

Please log in to comment
0
How about setting the RESTINALL property on the command line (ex. msiexec /p <path to .msp> REINSTALL=Complete,OutlookPlugin,OfficePlugin) while installing the patch?
Answered 07/01/2009 by: AngelD
Red Belt

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