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
- :
- Re: Installscript Install Stages
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 11, 2008
10:23 AM
Installscript Install Stages
I wanted to know if there was a way to break down an install into different stages. My problem is I would like to have a file that exists in my current install be installed first into the SUPPORTDIR, and I want to run that file before installing the rest of my files. Let me be a little more clear about why I want to do something like this. The file I would like to install first is a command line executable that performs specific database actions (one example, detaching a database). This should be a temporary file, and its only purpose is for support. I do not want this file to stay installed, I just want it to be written to the SUPPORTDIR or a Temporary Directory. The next set of files are SQL Server database files. The goal here is for the support executable to run and detach the databases, so the newer database files can overwrite the old database files.
I've read up a little on prerequisites, but from what I've gathered these don't seem to work for an Installscript project. I've also taken a look at merge modules but I'm not quite sure how that really works. If there was a way to break down the install into two stages from the same executable, that would be great. Let me know what I can do, again thanks in advance.
I've read up a little on prerequisites, but from what I've gathered these don't seem to work for an Installscript project. I've also taken a look at merge modules but I'm not quite sure how that really works. If there was a way to break down the install into two stages from the same executable, that would be great. Let me know what I can do, again thanks in advance.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 11, 2008
01:27 PM
Never mind i solved this problem by adding said executable as a support file. Seems to work fine.
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)