Selection of features
Updated: 15 Sep 2010 | 7 comments
This issue has been solved. See solution.
Hi
I have two features feature ONE & feature TWO, In feature ONE, i am running a setup.exe file in UserInterface.
If i select a feature TWO the setup.exe should not execute. The setup.exe contains internal msi.exe so i have placed in UserInterface. If i place it in execute deffered its giving message that "Another installation already in process. Complete that installation before procceding with this install." so i have placed it in UserInterface.
If i select feature TWO how i can igone the execution of setup.exe.
Is there any solution that setup.exe can be placed in execute defferd or execute immediate?
Thanks
Discussion Filed Under:
Comments
Forgive me...
...but do you learn anything reading these posts?
Surely by now you would know that running stuff in the UI sequence means that it will never run in a silent install?
Ditto for trying to run an MSI from inside another MSI.
Ditto for how to use conditions and how to determine the selection state for features. You could even go completely mad and hit F1 while you're editing your package to find that out.
Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you.
Think about using http://www.google.com before posting.
Conditions
Look up Conditional Statement Syntax in MSI.CHM
Then formulate a condition based on feature state which will control the custom action which installs setup.exe
Since we have already discussed the issues with running any MSI install from the Immediate or Deferred sequence, I just refer you back to your previous postings.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Hi
"Look up Conditional Statement Syntax in MSI.CHM" where i can found this please give me the link.
As you told to formulate the a condition based on feature state which will control the custom action which installs setup.exe, i will try to uninstall J2sdk in UI after Display Dialog Progress_Dialog...
Display Dialog Progress_Dialog
Execute a Program From Destination C:\Windows\system32\msiexec.exe /x {35A3A4F4-B792-11D6-A78A-00B0D0142000}
Please can you suggest me which condition to use?
is it possible to use IF condition for feature ONE uninstallJ2sdk else should not uninstall J2sdk.
Thanks
Please can you suggest me which condition to use?
is it possible to use IF condition for feature ONE uninstallJ2sdk else should not uninstall J2sdk.
Try using the below condition for the action uninstalling J2sdk
(&ONE=3) AND NOT(!ONE=3)
Huh?
Why - after reading the thread - would you still ask about running EXEs in the UI sequence?!?!
As for feature states/conditions, why would the advice to you be any different to that given to the OP? All the information is in the help file MSI.CHM which is installed by Wise. Even if it weren't you can download it from Microsoft's site.
>please give me the link.
Do you really want to be humiliated by someone posting a link to Let Me Google That For You? Use your brains...
Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you.
Think about using http://www.google.com before posting.
Hi AngelD
Thanks.Its working fine now. Your help is much appreciated.
AngelD's thread answer marked as solution.
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.