Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Selection of features

Updated: 15 Sep 2010 | 7 comments
umeshbg's picture
0 0 Votes
Login to vote
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

VBScab's picture
12
Aug
2010
0 Votes 0
Login to vote

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.

EdT's picture
12
Aug
2010
0 Votes 0
Login to vote

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.

rama24s's picture
12
Aug
2010
0 Votes 0
Login to vote

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

AngelD's picture
13
Aug
2010
0 Votes 0
Login to vote

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)

VBScab's picture
13
Aug
2010
0 Votes 0
Login to vote

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.

umeshbg's picture
13
Aug
2010
0 Votes 0
Login to vote

Hi AngelD

Thanks.Its working fine now. Your help is much appreciated.

EdT's picture
14
Aug
2010
0 Votes 0
Login to vote

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.