Old 21st October 2006, 19:12   #1
schibulski
Junior Member
 
Join Date: Oct 2006
Posts: 1
execute a Installshield setup.exe - No Errorflag

I wrote a nsis script that launch an Installshield setup.exe. Here is the code snippet:

ClearErrors
ExecWait '"setup.exe"' $0
; Debug
MessageBox MB_ICONEXCLAMATION|MB_OK $0

The Installshield Setup installs a vpn client. The Problem is, if the user cancel the installshield setup or has no admin rights, nsis gets no errorflag from the installshield setup.

What do I wrong? Or it there another solution for this problem?

Thanks in Advance,

Schibulski
schibulski is offline   Reply With Quote
Old 26th October 2006, 08:20   #2
n_baua
Member
 
Join Date: Aug 2006
Posts: 86
Hi schibulski,

As far as I know all installShilds run on two processes.
This is why you do not get any error flag from the installShild setup exes.
n_baua is offline   Reply With Quote
Old 26th October 2006, 11:48   #3
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
Unattended has a great resource on running installers silently in a manner which will get you the result.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump