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: More .exe in an install shield project
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
‎Aug 01, 2007
10:16 AM
More .exe in an install shield project
Hello !
Formerly I managed to use InstallShield (12 and then 2008), when there was only one .exe application, and more other .dll-s in the project. Now the situation is the following, I want to solve two additional tasks.
1. I would like to put the "vcredist_x86.exe" to the install shield, as I dont know, what kind of .dll-s exists on the client's machine. At first I put this file beside the above mentioned .exe file at the "Application Files" in the wizard. The result was not good, as although I got a short link to the "vcredist_x86.exe", but I wanted to run it automatically. Then I tried to do it with Scripts, but I failed. I followed the following instructions (a similar problem), at website : http://community.installshield.com/showthread.php?t=170483
It did not work for me.
2. How to put a certificate file, and to make it run (similar to the former problem, I think)
Regards, Franz
Formerly I managed to use InstallShield (12 and then 2008), when there was only one .exe application, and more other .dll-s in the project. Now the situation is the following, I want to solve two additional tasks.
1. I would like to put the "vcredist_x86.exe" to the install shield, as I dont know, what kind of .dll-s exists on the client's machine. At first I put this file beside the above mentioned .exe file at the "Application Files" in the wizard. The result was not good, as although I got a short link to the "vcredist_x86.exe", but I wanted to run it automatically. Then I tried to do it with Scripts, but I failed. I followed the following instructions (a similar problem), at website : http://community.installshield.com/showthread.php?t=170483
It did not work for me.
2. How to put a certificate file, and to make it run (similar to the former problem, I think)
Regards, Franz
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 01, 2007
10:38 AM
I went to Behavior and Logic->Install Script
I added a new script file, and got setup.rul. I copyed the code to setup.rule
#include "ifx.h"
function OnBegin( )
NUMBER nReturn;
begin
nReturn = LaunchAppAndWait(WINDIR^"notepad.exe", "", WAIT);
if (nReturn = 0) then
MessageBox("Notepad launched fine.", INFORMATION);
else
MessageBox("Drat.", WARNING);
endif;
end;
The function name changed to OnBegin. I compiled the setup.rul. Made the nuild for the whole project, and expected notepad to run. It did not run.
I added a new script file, and got setup.rul. I copyed the code to setup.rule
#include "ifx.h"
function OnBegin( )
NUMBER nReturn;
begin
nReturn = LaunchAppAndWait(WINDIR^"notepad.exe", "", WAIT);
if (nReturn = 0) then
MessageBox("Notepad launched fine.", INFORMATION);
else
MessageBox("Drat.", WARNING);
endif;
end;
The function name changed to OnBegin. I compiled the setup.rul. Made the nuild for the whole project, and expected notepad to run. It did not run.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 02, 2007
11:35 PM
For your first problem, rather than including vcredist_x86.exe, you could include the Microsoft VC runtimes merge module in your project
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)