|
-
Jan 25th, 2007, 05:35 PM
#1
Thread Starter
Lively Member
Inno Setup and MSDE
Hi
I testing a deployment scenario where I need to install MSDE and when it finish run another aplication which creates the database and tables. Supposely the Inno Setup, in the run seccion would wait for MDSE to finish before running the database setup application. But... not. It starts the second application without MSD finish the installation.
Any ideas?
Thanks
-
Jan 25th, 2007, 09:34 PM
#2
Re: Inno Setup and MSDE
It would be more helpful if you at least posted the RUN section of the script. What flags did you use NOWAIT?
-
Jan 26th, 2007, 03:34 AM
#3
Thread Starter
Lively Member
Re: Inno Setup and MSDE
I use no flags. Here is the run code:
Code:
[Run]
Filename: d:\software\msde2k_a\setup.exe; Flags: postinstall; WorkingDir: d:\software\msde2k_a; Description: Instalar DataBase SQL; StatusMsg: A Instalar Database SQL
Filename: d:\development\visual basic\taxacao\nettax\sql test\project1.exe; Parameters: d:\development\visual basic\taxacao\nettax\sql test
-
Jan 26th, 2007, 08:50 AM
#4
Lively Member
Re: Inno Setup and MSDE
Here is what I use:
Code:
[Files]
Source: .\SQL2KSP4\*.*; DestDir: {tmp}\MSDE_2000; flags: recursesubdirs
[Run]
Filename: {tmp}\MSDE_2000\setup.exe; Flags: hidewizard; Parameters: "/qr"; WorkingDir: {tmp}
I have the MSDE stored in the SQL2KSP4 folder and I compile it into an inno installer. When the installer is installed, it runs, the setup.exe of the msde and hides the main inno installer till the setup.exe is finished.
-
Jan 26th, 2007, 10:30 AM
#5
Re: Inno Setup and MSDE
 Originally Posted by reisve
I use no flags. Here is the run code:
Code:
[Run]
Filename: d:\software\msde2k_a\setup.exe; Flags: postinstall; WorkingDir: d:\software\msde2k_a; Description: Instalar DataBase SQL; StatusMsg: A Instalar Database SQL
Filename: d:\development\visual basic\taxacao\nettax\sql test\project1.exe; Parameters: d:\development\visual basic\taxacao\nettax\sql test
No Flags??? What is this then?
try:
waituntilterminated
If this flag is specified, it will wait until the process has completely terminated. Note that this is the default behavior (i.e. you don't need to specify this flag) unless you're using shellexec flag, in which case you do need to specify this flag if you want it to wait. Cannot be combined with nowait or waituntilidle.
Last edited by randem; Jan 26th, 2007 at 01:13 PM.
-
Jan 26th, 2007, 01:45 PM
#6
Thread Starter
Lively Member
Re: Inno Setup and MSDE
fenrisW0lf, isn't this the same as running msde from the original directory?
randem, cool down. When I say no flags I mean I didn't check any relevant flags. I can read and uderstand manuals and help files.
-
Jan 26th, 2007, 04:30 PM
#7
Re: Inno Setup and MSDE
My point was that this would be why one should post the info for what one says isn't what it actually is and it helps to know exactly what is being done.
I have never had a problem with alowing one task to complete before allowing the next process to run. Perhaps MSDE spawns a seperate process itself.
-
Jan 26th, 2007, 06:44 PM
#8
Thread Starter
Lively Member
Re: Inno Setup and MSDE
That is exactely waht I thought. If you look at the setup directory under the MSDE2KA main directory you will see a bunch of .msi files. I was wondering if there is a process to in InnoSetup to check if the full installation is compleate. Maybe, checking if the service is running before procead to the next run entry in the script
-
Jan 27th, 2007, 01:14 AM
#9
Re: Inno Setup and MSDE
There is no way for Inno Setup to know that. Either you would have to use the CODE section to accomplish that. You can try to run the command prompt with the setup.exe command line as a parameter to see if that changes anything.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|