Installing merge modules conditionally with light mode
Posted: Fri Apr 15, 2016 8:40 am
I need to install two sets of merge modules for different platforms conditionally,they are also dependent on specific feature selection. I tried wrapping the MSMs in a light install, but the light install is listed in add\remove programs and can be uninstalled independently. I need these merge modules (or in this case my light install wrapper around them) to be installed and uninstalled from my main install only and I should not be able to uninstall the light install by itself.
Here is what I tried: I added the MSMs to blank light installs that only sets variables present in one of the MSMs and then call Apply Install. I included two compiler variables (NOEXE=TRUE and ProductVersion that is passed from the main install)
Here is the Light Install Script:
I already looked at this
viewtopic.php?p=915
and
http://www.installaware.com/forums/view ... 28&start=0
(I used the sample rar file)
However, they produce independent light installs (meaning they can be uninstalled independent from the main product)
Here is what I tried: I added the MSMs to blank light installs that only sets variables present in one of the MSMs and then call Apply Install. I included two compiler variables (NOEXE=TRUE and ProductVersion that is passed from the main install)
Here is the Light Install Script:
Code: Select all
~InstallAware Clipboard Data~
~Apply Changes~
~{BCCFD9C3-BCA3-4AB9-8807-A496FC1BB4AC}~
~~
~SUCCESS~
~TRUE~
~FALSE~
~Set Variable~
~{A7CB129D-041E-49A9-819C-823F34B45687}~
~ODBXHOSTAPPGLOROOT$MYAH$MYAH$FALSE~
~Software\SNDWGImportCS\#ProductVersion#~
~Set Variable~
~{8C1920F2-1610-4C31-AFE4-7E037296B58F}~
~ODBXHOSTAPPREGROOT$MYAH$MYAH$FALSE~
~Software\SNDWGImportCS\#ProductVersion#~
I already looked at this
viewtopic.php?p=915
and
http://www.installaware.com/forums/view ... 28&start=0
(I used the sample rar file)
However, they produce independent light installs (meaning they can be uninstalled independent from the main product)