Old 18th March 2010, 07:48   #1
gervis
Junior Member
 
Join Date: Mar 2010
Posts: 1
Problem with execute on Win7 Enterprise

Hello,

I've created a Java launcher with NSIS, the generated exe is called "dbupdate.exe".
I've created an installer with NSIS, which execute the launcher.

It runs very fine (since years) on Win2000, XP, Vista (all Variants) and Win7 Home.

But now, tested on Win7 Enterprise, the launcher doesn't start. There's no message and the execute returns error 0. Simply the launcher doesn't start.

The code:
ExecWait '"$INSTDIR\dbupdate.exe" $0' $1
IntCmp $1 0 ExecOK +1 +1
!insertmacro ShowError 31
ExecOK:
....


The installer needs admin rights ("RequestExecutionLevel highest"), the launcher needs only user rights. I've tried several combinations of requsted rights and exec-variants (exec, execwait, execshell, nsExec::ExecToStack, ...) but the result is all the same.

At another place in code, I execute another external programm ("unzip.exe"). This execution runs without problems on every OS variant.

What's wrong?

Thank you very much for your help in advance!
Viktor
gervis is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Tags
enterprise, exec, launcher, win7

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