Skip to content
⌘ NSIS Forum Archive

How to execute a file in the same folder?

3 posts

Outbreaker#

How to execute a file in the same folder?

HI,

My script below only works if i manually click on the SETUP.EXE file but as soon as the SETUP.EXE get executed by another Program it fails to execute the Start.cmd file. 🙁

outfile "SETUP.EXE"
RequestExecutionLevel user
SilentInstall silent

Section

nsExec::Exec `"Start.cmd"`

SectionEnd