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
- :
- SRCDIR with Nested Installs
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
Dec 04, 2007
05:31 PM
SRCDIR with Nested Installs
I have a problem I'm hoping someone can help with.
Basically, I have an InstallScript project that configures a SQL Server setup INI file. At the end of that, it attempts to launch Setup.exe on the same CD that launches the SQL Server 2005 setup.
What happens, is when I use LaunchApplication (SRCDIR ^ "\\Setup.exe...etc); it launches the same installation that just ran, the one that configures the ini and calls setup for SQL Server. It doesn't even have the same name. The original is ConfigureSQL.exe and SQL Servers setup file is setup.exe.
Is there a better way of referring to the root of the CD drive where SQL's setup exists? I had tried GetValidDrivesList but had no luck with converting whatever was returned into a string to define the drive letter, so I could do LaunchApplication (szDrive + "\\setup.exe...etc).
Thanks.
Basically, I have an InstallScript project that configures a SQL Server setup INI file. At the end of that, it attempts to launch Setup.exe on the same CD that launches the SQL Server 2005 setup.
What happens, is when I use LaunchApplication (SRCDIR ^ "\\Setup.exe...etc); it launches the same installation that just ran, the one that configures the ini and calls setup for SQL Server. It doesn't even have the same name. The original is ConfigureSQL.exe and SQL Servers setup file is setup.exe.
Is there a better way of referring to the root of the CD drive where SQL's setup exists? I had tried GetValidDrivesList but had no luck with converting whatever was returned into a string to define the drive letter, so I could do LaunchApplication (szDrive + "\\setup.exe...etc).
Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Dec 05, 2007
08:11 AM
Well, I am a little confused as to the directory layout here, but something does sound fishy. SQL's setup is called setup.exe, but so is the setup launcher that installscript generates, so if they're in the same directory, are you sure you're not just launching your own setup again and therefore kicking off the configuration again?
I am doing this same thing in an installer, but I keep my SQL setup.exe and related files in a separate folder so there's no ambiguity about where things are.
I am doing this same thing in an installer, but I keep my SQL setup.exe and related files in a separate folder so there's no ambiguity about where things are.