Relative Content

Tag Archive for nsis

NSIS nsExec returns command it self

Function .onInstSuccess ExpandEnvStrings $R0 %COMSPEC% ExecWait ‘”$R0″ /c reg save “HKEY_LOCAL_MACHINE${RegUninstall}” “${SettingPath}registry.dat” /y’ nsExec::Exec ‘”$INSTDIRService${ServiceExeName}” install’ nsExec::Exec ‘”$INSTDIRService${ServiceExeName}” start’ nsExec::Exec ‘rundll32.exe syssetup,SetupInfObjectInstallAction DefaultInstall 128 $INSTDIRusbflt.inf’ nsExec::Exec ‘sc.exe start usbflt’ nsExec::Exec ‘sc.exe create sample binpath= “$INSTDIRx64sample.exe”‘ nsExec::Exec ‘sc.exe config sample start= auto’ nsExec::Exec ‘sc.exe start sample’ nsExec::Exec ‘”$INSTDIRServiceMonitorSample.Monitor.exe” /i’ FunctionEnd I’m making an installer with nsis […]