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: Component ordering in InstallScript
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
Mar 08, 2019
08:23 AM
Component ordering in InstallScript
I am wondering if components are in a proper order when installed via an InstallScript project or you can manipulate via code?
For example, I am using SQLRTComponentInstall for script runs, and I want to run attach scripts to MDF/LDFs that are attached. Since SQLRTComponentInstall runs during file move, I need to make sure the MDF and LDF component are copied prior to running the script. If Components install in a specific order that solves the question, just am looking to find out what order? If not, is their a code way to see if a component has been deployed before?
For example, I am using SQLRTComponentInstall for script runs, and I want to run attach scripts to MDF/LDFs that are attached. Since SQLRTComponentInstall runs during file move, I need to make sure the MDF and LDF component are copied prior to running the script. If Components install in a specific order that solves the question, just am looking to find out what order? If not, is their a code way to see if a component has been deployed before?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 09, 2019
06:18 AM
DonAIR wrote:
I am wondering if components are in a proper order when installed via an InstallScript project or you can manipulate via code?
For example, I am using SQLRTComponentInstall for script runs, and I want to run attach scripts to MDF/LDFs that are attached. Since SQLRTComponentInstall runs during file move, I need to make sure the MDF and LDF component are copied prior to running the script. If Components install in a specific order that solves the question, just am looking to find out what order? If not, is their a code way to see if a component has been deployed before?
Hi,
Windows installer works in certain sequence.if you know sequence number of SQLRTComponentInstall,you can make sure that it runs in expected order
You might find some relevant information in the below link:
https://community.flexerasoftware.com/archive/index.php?t-199644.html
Thanks,
Jenifer