Archive: How to execute a file in the same folder?


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

nsExec::Exec `"$EXEDIR\Start.cmd"`

Stu


Thank you a lot you save my day, :) I searched now for over a hour for this. :stare: