I plan to install a file (an utility program) to a %TEMP% folder in the beginning of my installation before I do any other check. Reason for that is, I want to use that utility to do some task as I make progress during install/uninstall. My question is, is there a limitation as to how early I can install a file (using "Install Files" an "Apply Install" commands). I'm asking because when I try to uninstall the program it pop up a windows message "Please locate your original setup sources to continue operation". If I don't install files ( i.e. For testing purpose, if I comment out installation of a file during early in my main script), I don't see any popup during uninstall. That tells me that installing a file early in script is problematic. Any suggestion how can I resolve this.
Thanks.
Installing file at the beginning of installation
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Installing file at the beginning of installation
Dear Mdavtec,
at such purpose you can use SUPPORTDIR location.
InstallAware uses support files at several places throughout the installation. Support files are not actually installed onto the target system, but they are part of the installation package. They are available temporarily while the installation is executing and are cleaned up when the installer finishes execution. You may include any file as a support file, and access it while the installation is running using the SUPPORTDIR variable.
$SUPPORTDIR$\MyFile.exe
http://www.installaware.com/forum/viewtopic.php?f=2&t=9962
To find out how to use the SUPPORTDIR, please search for "Modifying Support Files" with the included IA documentation (just press F1 in IA IDE).
Hope this helps you.
Regards
at such purpose you can use SUPPORTDIR location.
InstallAware uses support files at several places throughout the installation. Support files are not actually installed onto the target system, but they are part of the installation package. They are available temporarily while the installation is executing and are cleaned up when the installer finishes execution. You may include any file as a support file, and access it while the installation is running using the SUPPORTDIR variable.
$SUPPORTDIR$\MyFile.exe
http://www.installaware.com/forum/viewtopic.php?f=2&t=9962
To find out how to use the SUPPORTDIR, please search for "Modifying Support Files" with the included IA documentation (just press F1 in IA IDE).
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
Re: Installing file at the beginning of installation
Francesco,
Thanks for the quick response. I'm kind of new to installation and InstallAware in particular. Glad that it provides this kind of feature.
Thanks for the quick response. I'm kind of new to installation and InstallAware in particular. Glad that it provides this kind of feature.
ExchA
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Installing file at the beginning of installation

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
Who is online
Users browsing this forum: No registered users and 206 guests