How to run sets of commands in InstallAware11.. ?

Got a problem you cannot solve? Try here.
Post Reply
hirenlad88
Posts: 10
Joined: Thu Jul 14, 2011 12:20 am

How to run sets of commands in InstallAware11.. ?

Post 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
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: How to run sets of commands in InstallAware11.. ?

Post 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
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
hirenlad88
Posts: 10
Joined: Thu Jul 14, 2011 12:20 am

Re: How to run sets of commands in InstallAware11.. ?

Post 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
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: How to run sets of commands in InstallAware11.. ?

Post 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.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
hirenlad88
Posts: 10
Joined: Thu Jul 14, 2011 12:20 am

Re: How to run sets of commands in InstallAware11.. ?

Post 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.. ???
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: How to run sets of commands in InstallAware11.. ?

Post 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..
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
hirenlad88
Posts: 10
Joined: Thu Jul 14, 2011 12:20 am

Re: How to run sets of commands in InstallAware11.. ?

Post by hirenlad88 »

How to advance a PROGRESS variable ? and which internal command should i used ???
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: How to run sets of commands in InstallAware11.. ?

Post 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.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
hirenlad88
Posts: 10
Joined: Thu Jul 14, 2011 12:20 am

Re: How to run sets of commands in InstallAware11.. ?

Post 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 ?
Attachments
page1.png
page1.png (85.26 KiB) Viewed 11585 times
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: How to run sets of commands in InstallAware11.. ?

Post 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?
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
hirenlad88
Posts: 10
Joined: Thu Jul 14, 2011 12:20 am

Re: How to run sets of commands in InstallAware11.. ?

Post 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.
Attachments
page2.png
page2.png (68.28 KiB) Viewed 11579 times
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: How to run sets of commands in InstallAware11.. ?

Post by giaviv »

Hi,

Could you please send your project to support at installaware.com?

Thanks!
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
hirenlad88
Posts: 10
Joined: Thu Jul 14, 2011 12:20 am

Re: How to run sets of commands in InstallAware11.. ?

Post by hirenlad88 »

Hello giaviv,
Thanks for your support.

Now my dialog working properly with progressbar.

Thank you..

-- Hiren Lad
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: How to run sets of commands in InstallAware11.. ?

Post by giaviv »

Sure! Good luck.
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply