/build/static/layout/Breadcrumb_cap_w.png

Issue on triggering EXE while installing msi

Hi All,
Project requirement [8D]:(1) One folder has to be added in to the .msi,
When installing that .msi the folder should be copied to the c:/Programfiles/folder.
(2). The folder contain app.exe it has to get trigger before finishing the .msi,
"While installing of App.exe it will ask for Data base name ,domain name,server name etc "

I have tried [8|]: I copied Windows Application.msi, Added Folder into the package(C:/Progfiles/).
and added Customaction in "Execute Program from Installed files" before "InstallFinalize", Condition i have provided is "Not Installed",

Problem facing[:(] : When App.exe is triggered and started to install, if in between i exit the App.exe setup it will exit. But .msi is Installing and we can see the entry of .msi in Addremove program.
If i give all the details for the App.exe while installing two entries (.msi & App.exe) i am getting in ARP. If i am uninstalling .msi the App.exe also has to get remove.

My requirement : (1).When installing .msi after triggering App.exe if i exit the setup the .msi also has to exit.
(2).After successfully installing both, only .msi has to be shown in ARP, If i uninstall .msi App.exe also has to get uninstall.

Can anyone help me in finding the solution.[:(]
Thanks in advance.

0 Comments   [ + ] Show comments

Answers (3)

Posted by: nheim 15 years ago
10th Degree Black Belt
0
Hi Sus_pack,
what is "App.exe", an application or another installation?
Regards, Nick
Posted by: Sus_pack 15 years ago
Senior Yellow Belt
0
Hi Nheim,
App.exe is an application,
Thanks, Sus
Posted by: anonymous_9363 15 years ago
Red Belt
0
Clearly, if App.EXE is adding stuff to ARP, it's an installation stub, not an application. You yourself state "after triggering App.exe if I exit the setup..."!

The work-around I envisage is to:

- create a property to contain details of whether ProductInstalledByApp.EXE_IsPresent with value '0'
- add a new CA to your MSI which checks for the existence of whatever product App.EXE is installing and sets the property's value to that product's product Code
- immediately after that CA, if the property is set to 0, abort the installation. If it contains App.EXE's Product Code, continue with the installation.
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