This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- User's previous entries
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Nov 09, 2007
03:20 PM
User's previous entries
hello,
I am working with InstallScript project. My setup program needs to save the user's entries so that the entries can default the next time the user runs the install.
Anyone knows how to do that?
Thanks,
Milan
I am working with InstallScript project. My setup program needs to save the user's entries so that the entries can default the next time the user runs the install.
Anyone knows how to do that?
Thanks,
Milan
(5) Replies
‎Nov 13, 2007
05:05 PM
What type of entries? If you mean entries in dialog boxes, one option is to generate a "response file", which contains the data entered by the user in all the dialog boxes; an administrator can then silently install the product on other systems using the same settings by processing the response file. The online help has more information about response files and silent installations.
‎Nov 13, 2007
05:38 PM
I'm not aware of anything built-in for non-silent installations. You could write code that saves variable values into an INI file (perhaps based on a custom switch you read from CMDLINE) and read the values back from the INI (based on another switch), which shouldn't be too bad if you're not showing too many dialog boxes. Depending on your requirements, you could ignore the switches for maintenance mode and uninstallation; decide how to handle partial INI files; and so forth...