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.
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)
Please log in to answer
Posted by:
nheim
15 years ago
Posted by:
anonymous_9363
15 years ago
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.
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.
so that the conversation will remain readable.