Archive: ExecWait as admin on Vista?!


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.


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.