Nested .msi
I have gone through the process of creating a custom action and calling an .msi. (nested .msi) The problem that I have is that the nested msi does not get removed during uninstall. How can I correct that?
Thanks in advance.
Thanks in advance.
0 Comments
[ + ] Show comments
Answers (7)
Please log in to answer
Posted by:
bheers
19 years ago
Posted by:
terranceallen
19 years ago
Posted by:
bheers
19 years ago
http://support.installshield.com/kb/view.asp?articleid=q105706
Select the Custom Actions view.
Right-click on Custom Actions and select the Custom Action Wizard.
In the Basic Information panel, enter a name and comment for your action and click Next to continue.
In the Action Type panel, select Launch another .msi package from the Type field and select Stored on the Source Media or Included within your Main Setup as the Location. Click Next.
In the Action Parameters panel, select your MSI package from the machine. In the Target field, you can specify command-line switches to pass to the child installation. For example, to install all the features of the child installation with their default settings and to use the same value for the ALLUSERS property used by the parent installation, type the following into the Target field:
ARPSYSTEMCOMPONENT=1 ADDDEFAULT=ALL ALLUSERS=[ALLUSERS]
Click Next and select the default options on the Additional Options panel and click Next until you finish the Wizard.
Select the Custom Actions view.
Right-click on Custom Actions and select the Custom Action Wizard.
In the Basic Information panel, enter a name and comment for your action and click Next to continue.
In the Action Type panel, select Launch another MSI package as the Type and An application that is advertised or already installed as the Location. Click Next.
In the Action Parameters panel, select the MSI package in the Source field and specify REMOVE="ALL" in the Target field.
To add a custom action that launches the installation of a child setup:
Select the Custom Actions view.
Right-click on Custom Actions and select the Custom Action Wizard.
In the Basic Information panel, enter a name and comment for your action and click Next to continue.
In the Action Type panel, select Launch another .msi package from the Type field and select Stored on the Source Media or Included within your Main Setup as the Location. Click Next.
In the Action Parameters panel, select your MSI package from the machine. In the Target field, you can specify command-line switches to pass to the child installation. For example, to install all the features of the child installation with their default settings and to use the same value for the ALLUSERS property used by the parent installation, type the following into the Target field:
ARPSYSTEMCOMPONENT=1 ADDDEFAULT=ALL ALLUSERS=[ALLUSERS]
Click Next and select the default options on the Additional Options panel and click Next until you finish the Wizard.
To create a custom action that launches the uninstall of the child setup:
Select the Custom Actions view.
Right-click on Custom Actions and select the Custom Action Wizard.
In the Basic Information panel, enter a name and comment for your action and click Next to continue.
In the Action Type panel, select Launch another MSI package as the Type and An application that is advertised or already installed as the Location. Click Next.
In the Action Parameters panel, select the MSI package in the Source field and specify REMOVE="ALL" in the Target field.
Posted by:
BobTheBuilder
19 years ago
Posted by:
Result
19 years ago
Hi,
I need some help so bad. I'm getting hiberfil.sys error when I run my .exe. I create a package in installshield and pushing it through sms installer. Google solution is control panal->performance and maintainse-->Power Option and under hibernation uncheck enable. I did that and recomiple my script but I'm still getting the same error. If I make the change in the machine then it gives me page.sys is not able to opened. Please let me know how to fix it. This project has to go tommorow..
THanks
I need some help so bad. I'm getting hiberfil.sys error when I run my .exe. I create a package in installshield and pushing it through sms installer. Google solution is control panal->performance and maintainse-->Power Option and under hibernation uncheck enable. I did that and recomiple my script but I'm still getting the same error. If I make the change in the machine then it gives me page.sys is not able to opened. Please let me know how to fix it. This project has to go tommorow..
THanks
Posted by:
MSIMaker
19 years ago
Posted by:
Result
19 years ago
HI jim,
It is not included in my project at all. But after building a project when I try to install it it gives me that hiberfil.sys message. If I getaway with it then it gives me pagefile.sys message. I know it is an OS file. No absolutly not it is not included in the package.
Please send me more ideas..
Thank you
It is not included in my project at all. But after building a project when I try to install it it gives me that hiberfil.sys message. If I getaway with it then it gives me pagefile.sys message. I know it is an OS file. No absolutly not it is not included in the package.
Please send me more ideas..
Thank you
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.