Run Program or Install MSI
-
dhofferber
- Posts: 9
- Joined: Thu Jul 12, 2012 12:39 pm
Run Program or Install MSI
I'm installing both .exe and .msi files as prerequisites. I wanrt them to run silently but show progress. The forums and google searches seem to give conflicting guidance. My plan is to use Run Program for the .exe and Install MSI for the .msi. Is this correct or is there a more preferred option? Thanks.
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Run Program or Install MSI
Dear User,
Just adding the above code line in your script you have a very easy way of running that file, which doesn't involve ugly/opaque command line methods at all.
For your EXE file instead use RUN PROGRAM command ... but if executed silently (or using the "hide program Window" command option) there will be no progress displayed. It will be exactly as happens when you launch the exe from command line.
Hope this helps you.
Regards
That is correct! Using (Un)Install MSI Setup plug-in (included in every InstallAware setup by default using even the minimum setup option) can run any MSI to install it or remove it; and even capture the progress feedback and display it natively inside the InstallAware setup dialogs as if it were its own.My plan is to use Run Program for the .exe and Install MSI for the .msi. Is this correct or is there a more preferred option?
Code: Select all
Example:
Install/Remove MSI Package myfile.msi[ADDLOCAL=ALL] (get result into variable MYRESULT)For your EXE file instead use RUN PROGRAM command ... but if executed silently (or using the "hide program Window" command option) there will be no progress displayed. It will be exactly as happens when you launch the exe from command line.
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
dhofferber
- Posts: 9
- Joined: Thu Jul 12, 2012 12:39 pm
Re: Run Program or Install MSI
Just to be clear. My script is: Install/Remove MSI Package $SUPPORTDIR$\SqlLocalDBx86.msi[ADDLOCAL=ALL] (get result into variable LocalDB_Result_x86_x64)
I need to add: the MSI option IACCEPTSQLLOCALDBLICENSETERMS=YES
Where do I put it? This answer should be helpful to many developers.
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Run Program or Install MSI
Dear User,
use the Action String parameter. Type there any extra command option that you require.
For more detailed info search "(Un)Install MSI Setup" in InstallAware documentation (just press F1 in IA ide).
Regards.
use the Action String parameter. Type there any extra command option that you require.
For more detailed info search "(Un)Install MSI Setup" in InstallAware documentation (just press F1 in IA ide).
Regards.
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
-
dhofferber
- Posts: 9
- Joined: Thu Jul 12, 2012 12:39 pm
Re: Run Program or Install MSI
P.S. to forum users. Please take the time to provide a rap up submittal such as this when you have things working. So many times I've read through a thread that is just what I need and the final solution or advice is not there.
-
FrancescoT
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Run Program or Install MSI
Happy that worked
!
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

