I have a set of pre-packaged installers (some are .exe, some are .msi and one of those has a Setup.exe file) I need to deliver and install using a single installation package. I'll want to apply verify some pre-conditions on the target machines.
Not being an installer builder of the Windows flavor, I'm hoping I can use InstallAware to pull this off.
What would be the best starting point using InstallAware?
So far, I've downloaded the trial version and generated a package placing just one of the installers within.
The scripting looks fairly intuitive.
My guess is that I need to "install the installers" and then "run" them from where they are placed. Should I just dig into the scripting? Or is there an out-of-the box solution for this?
Thanks, Jon
Delivering a set of pre-packaged installers
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
That's a great question.
There's no need to install the installers. Yo can either add them as support files and access them from $SUPPORTDIR$, or use the File Bag plug-in to access them at runtime. Either way, the files will only be copied to the system while your master InstallAware setup is running, and they will be removed later on automatically, preventing the consumption of unnecessary disk space on the target system.
You can check for requirements using the various script commands, or the visal portions of the IDE. The visual IDE just emits script commands for you anyways, so you can review and customize and mimick as necessary
Finally, to run the setups, you can use the Run Program, Run Program As, and (Un)Install MSI Setup commands. You can use Read Registry, Is MSI Setup Installed to test if some setups have already been installed.
That should get you started!
There's no need to install the installers. Yo can either add them as support files and access them from $SUPPORTDIR$, or use the File Bag plug-in to access them at runtime. Either way, the files will only be copied to the system while your master InstallAware setup is running, and they will be removed later on automatically, preventing the consumption of unnecessary disk space on the target system.
You can check for requirements using the various script commands, or the visal portions of the IDE. The visual IDE just emits script commands for you anyways, so you can review and customize and mimick as necessary

Finally, to run the setups, you can use the Run Program, Run Program As, and (Un)Install MSI Setup commands. You can use Read Registry, Is MSI Setup Installed to test if some setups have already been installed.
That should get you started!
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Can SUPPORTDIR handle folder paths?
Some of the installers I'm bringing in include folders with additional files, though I'm not sure they're needed. While I'm checking on that, maybe you can tell me if there's a way to bring a folder and its contents as a Support File.
I've tried the File Bag plug-in and traced the folder variable to see if the files are present during a test run, but the folder identified by the variable isn't present, thus the files aren't there either.
Thanks for your help! Jon
I've tried the File Bag plug-in and traced the folder variable to see if the files are present during a test run, but the folder identified by the variable isn't present, thus the files aren't there either.
Thanks for your help! Jon
Perhaps I could add the folders as an archive?
I see the "Extract 7Zip Archives" command...
I will try to 7Zip the files from these folders and add them to the Support Files, then Extract the files from there.
I will try to 7Zip the files from these folders and add them to the Support Files, then Extract the files from there.
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Actually, the proper way is by using the File Bag command, if you have files and folders you wish to pack.
Be sure you define the variable that File Bag uses before the line that calls File Bag, and the files will be present in the folder pointed at by that variable at runtime. Note that the folder pointed to at runtime may change between each different build/run.
Be sure you define the variable that File Bag uses before the line that calls File Bag, and the files will be present in the folder pointed at by that variable at runtime. Note that the folder pointed to at runtime may change between each different build/run.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Struggles with File Bag plug-in
The File Bag plug-in seems the answer since the files are cleaned up afterward.
Here's where I am:
(later on)
which hangs up during debug.
The WVLOC variable has the value (and I know this will change from run to run):
(Which I noticed was a read-only folder on my system -- changing the permissions had no effect).
Thanks much, Jon
Here's where I am:
Code: Select all
Set Variable WVLOC to
Define File Bag : D:\\....\\foldername\\*, include files recursively, get runtime location of files into variable WVLOC
(later on)
Code: Select all
Run Program $WVLOC$\\installer.exe
which hangs up during debug.
The WVLOC variable has the value (and I know this will change from run to run):
Code: Select all
C:\\Program Files\\InstallAware 6\\Plug-Ins\\File Bag\\bag
(Which I noticed was a read-only folder on my system -- changing the permissions had no effect).
Thanks much, Jon
-
- Posts: 904
- Joined: Thu Dec 22, 2005 7:03 pm
- Contact:
Hi Jon,
Just use the File Bag plug-in outside of a debug run (use it with a non-debug build). The plug-in will then work.
Just use the File Bag plug-in outside of a debug run (use it with a non-debug build). The plug-in will then work.
Candice Jones
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 50 guests