I need to register a .exe file as a service. To register that file i need to set a path in the Environment Variable. I used SetEnvPath and RefreshEnvironment from the sample code downloaded from here this works perfectly fine. i then register the .exe file as a service thru the script, the service is not registering. Is what i am doing correct?? why is not the file getting registered. i use the following code to register the file.
LaunchAppAndWait("\"" + TARGETDIR ^ "myfile.exe" + "\""," /Service",WAIT) < 0
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Set path and registrer file as service
1 reply to this topic