Old 31st January 2007, 13:39   #1
tostern
Junior Member
 
Join Date: Jan 2007
Posts: 1
ExecWait as admin on Vista?!

Hello, I've got a big Problem with my installer.

The installer call a batchfile with ExecWait '"myapp.bat" -x -y -z" $0

Under all other Versions a SAP database is extracted - under Vista the installation aborts, cause the DOS Box which is called by ExecWait runs with normal user rights.
So is there a trick to run that ExecWait with admin rights?
I've tested it with run as with admin rights...it works, so I think the DOSbox is the Problem.

Thanks, Torsten.
tostern is offline   Reply With Quote
Old 31st January 2007, 13:58   #2
Takhir
Major Dude
 
Join Date: Feb 2004
Location: Moscow, Russia
Posts: 1,222
Start->Programs->NSIS->Contrib->nsExec Readme
By default Vista elevates installers to admin and all child processes have the same level (and this is a problem sometimes). One more DOS plug-in ExecDos. Forum search (link above) can help you as well.
Takhir 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