I need to create an installation that will contain an editable text file in the same dir as the exe a wisescript will read this file and add reg key values based on what is in the file. this will allow the admin to edit and push down a different text file based on the group membership.
I just want to know if it is possible with InstallAware Studio to keep the text file external to the MSI so that it could be edited without needing to have the MSI recompiled.
Thank you
Shomw
External files
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Oh absolutely. The $SFXPATH$ pre-defined variable in the script is the folder that the setup will be contained in - so you could read from the text file using the form $SFXPATH$\\file.name...
Michael Nesmith
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/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Yes, of course.
Michael Nesmith
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/
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
Welcome, Ken!
You may use the Copy Local Files command. If you want the files you are copying to be removed during uninstall, also add a Delete Files command right after the Copy Local Files command, with the timing set to delete on uninstall.
Normally you should use Install Files to install files, but if you need to, you can take the above approach instead.
You may use the Copy Local Files command. If you want the files you are copying to be removed during uninstall, also add a Delete Files command right after the Copy Local Files command, with the timing set to delete on uninstall.
Normally you should use Install Files to install files, but if you need to, you can take the above approach instead.
Michael Nesmith
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 111 guests