Page 1 of 1
How to run sets of commands in InstallAware11.. ?
Posted: Mon Jul 18, 2011 11:35 pm
by hirenlad88
Hello,
I want to run multiple commands using install aware, so where do i write those commands in install aware, any editors is there in install aware ??
i had also try to run sets of command using batch file and it's working successfully, but i want to do using install aware.
It means any editor where do i write sets of commands and it will be runs countinue with project setup.
-- Hiren Lad
Re: How to run sets of commands in InstallAware11.. ?
Posted: Tue Jul 19, 2011 12:22 pm
by giaviv
Hi,
What commands are you trying to execute?
Please check out this tutorial (it explains MSIcode):
http://www.installaware.com/msicode_scr ... nology.pdf
Re: How to run sets of commands in InstallAware11.. ?
Posted: Tue Jul 19, 2011 10:30 pm
by hirenlad88
I had tried to execute multiple DOS commands..
Do u have any editor where do i write DOS Commands... ??? or Can i write those commands in MSI Code... ???
Any Idea..??
-- Hiren Lad
Re: How to run sets of commands in InstallAware11.. ?
Posted: Tue Jul 19, 2011 11:00 pm
by giaviv
MSIcode allows you to execute a very large number of commands.
Please see the above tutorial.
Whatever command you are unable to find in MSIcode, you can write in a bat file and invoke that file with the Run Program command.
Re: How to run sets of commands in InstallAware11.. ?
Posted: Tue Jul 19, 2011 11:54 pm
by hirenlad88
Hello giaviv, Thanks for reply..
i had already run batch file using Run program. But i don't want to show Command prompt thats why i m Hide Command window. But is it possible to run multiple commands continue with Progressbar ???
Does progressbar catch batch file process.. ???
Re: How to run sets of commands in InstallAware11.. ?
Posted: Wed Jul 20, 2011 2:37 pm
by giaviv
No, it does not. As I said, the PROGRESS variable controls the displayed progress, and that's why you are better off using internal commands and advancing the PROGRESS variable yourself..
Re: How to run sets of commands in InstallAware11.. ?
Posted: Thu Jul 21, 2011 10:43 pm
by hirenlad88
How to advance a PROGRESS variable ? and which internal command should i used ???
Re: How to run sets of commands in InstallAware11.. ?
Posted: Thu Jul 21, 2011 11:31 pm
by giaviv
Set Variable PROGRESS To ....
In other words, use the Set Variable command while the progress dialog is displayed to change the progress bar.
Re: How to run sets of commands in InstallAware11.. ?
Posted: Fri Jul 22, 2011 12:29 am
by hirenlad88
Hello giaviv,
First i had add Batch file in to Run Program and set it to hide and then i had added Progress variable below the run program code in MSI Code. What i had write in MSI Code that is already pointed in attachment.
But it did not work.. Any suggestion ?
Re: How to run sets of commands in InstallAware11.. ?
Posted: Fri Jul 22, 2011 11:49 am
by giaviv
What comes after that code segment? It could be that you are closing the dialog right away and therefore don't see the progress.
Also, which IA version are you running?
Re: How to run sets of commands in InstallAware11.. ?
Posted: Fri Jul 22, 2011 10:45 pm
by hirenlad88
Hello giaviv,
I used Install Aware version 11. Which codes comes after the code segment that can be mention in new attachment. If i run current code it displayed dialog with progressbar but problem is that progressbar had blanked and after my batchfile run successfully it appears finish dialog box without fill up progressbar of previous dialog.
-- Hiren Lad.
Re: How to run sets of commands in InstallAware11.. ?
Posted: Tue Jul 26, 2011 3:38 am
by giaviv
Hi,
Could you please send your project to support at installaware.com?
Thanks!
Re: How to run sets of commands in InstallAware11.. ?
Posted: Tue Jul 26, 2011 5:23 am
by hirenlad88
Hello giaviv,
Thanks for your support.
Now my dialog working properly with progressbar.
Thank you..
-- Hiren Lad
Re: How to run sets of commands in InstallAware11.. ?
Posted: Tue Jul 26, 2011 11:07 am
by giaviv
Sure! Good luck.