Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 1st April 2013, 15:13   #1
Bansaw
Junior Member
 
Bansaw's Avatar
 
Join Date: Jul 2010
Posts: 32
my installer does not work on WINDOWS 7, but works fine in XP & Vista...?

One part of my installer invokes a 3rd party installer using Execwait.
Its been working fine in XP and Vista.

For some reason, on Windows 7, the 3rd party installer simply refuses to invoke.

If I exit my installer and double-click on the same 3rd party installer in Windows Explorer, it invokes fine.
As I say, the installer invokes fine from XP so the spelling etc is right.

Why isn't it invoking from NSIS on Win7?
Bansaw is offline   Reply With Quote
Old 1st April 2013, 15:34   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
It's not like you are giving us much to go on here.

Do you have "requestexecutionlevel admin" in your script?
Is UAC on under Vista AND 7? Are they both 32 bit?

Try Process Monitor and see why the process dies...

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 1st April 2013, 16:11   #3
Bansaw
Junior Member
 
Bansaw's Avatar
 
Join Date: Jul 2010
Posts: 32
thanks, I changed the execution level from "user" to:
RequestExecutionLevel highest
and this seemed to fix it. Now the 3rd party installer invokes fine.

I just hope and assume that this execution level change doesn't affect other things. I'll give it a test on a few other 7,XP, Vista machines and see how it performs on those platforms.
Bansaw is offline   Reply With Quote
Old 1st April 2013, 17:47   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
You should take a look at the manifest for this other installer (Resource Hacker or hex editor) and match its executionlevel. Highest is probably not enough, usually you want user or admin.

IntOp $PostCount $PostCount + 1
Anders 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