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: how to execute all the script files in a basic MSI project
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎May 02, 2008
01:05 PM
how to execute all the script files in a basic MSI project
Hii
I am working on a MSI project.I have created 3 script files in this project.
1.Setup.rul files which defines a userdefined function EzbatchAddString to edit Autoexec.bat file
2.script1.rul which contains same user-defined function EzbatchAddString to edit Autoexec.NT
3.Third script defines code for the custom dialog.
When i creates an installer file and i execute it,i find that only setup.rul file is being executed....rest two other files remains unexecuted.
what should i do to call other two files or incorporate them in my setup process...
thanks
jagjit
I am working on a MSI project.I have created 3 script files in this project.
1.Setup.rul files which defines a userdefined function EzbatchAddString to edit Autoexec.bat file
2.script1.rul which contains same user-defined function EzbatchAddString to edit Autoexec.NT
3.Third script defines code for the custom dialog.
When i creates an installer file and i execute it,i find that only setup.rul file is being executed....rest two other files remains unexecuted.
what should i do to call other two files or incorporate them in my setup process...
thanks
jagjit
(5) Replies
‎May 02, 2008
02:34 PM
You can use #include "script2.rul" inside setup.rul to import the contents of another script file.
As an aside, though, if you need to modify environment variables, you might look into the Environment Variable Changes view.
You might also look into creating a custom MSI dialog box instead of a script dialog box for a Basic MSI project.
As an aside, though, if you need to modify environment variables, you might look into the Environment Variable Changes view.
You might also look into creating a custom MSI dialog box instead of a script dialog box for a Basic MSI project.
‎May 02, 2008
02:43 PM
Sir there is one more question.
Suppose if i have two .exe files say desktop1.exe and desktop2.exe and i want to put them in startup and also want them to exeute it definite order
(say desktop.exe->desktop2.exe).Is there anyway which puts both of my exe files into startup automatically and then xecutes them
thanks
jagjit
Suppose if i have two .exe files say desktop1.exe and desktop2.exe and i want to put them in startup and also want them to exeute it definite order
(say desktop.exe->desktop2.exe).Is there anyway which puts both of my exe files into startup automatically and then xecutes them
thanks
jagjit
‎May 02, 2008
02:56 PM
I don't think there's a built-in way to run startup commands in a particular order; perhaps create a batch file that launches the executables in order, and set the batch file as the startup script?
‎May 02, 2008
03:01 PM
Sir how can i set batch files as start up script.can u plz elaborate this concept
also Sir i 'ld like to ask one more thing regarding my first query.adding statement #include "script1.rul to my code of script setup.rul will cause both scripts to run during set up installation...
thanks
jagjit
also Sir i 'ld like to ask one more thing regarding my first query.adding statement #include "script1.rul to my code of script setup.rul will cause both scripts to run during set up installation...
thanks
jagjit