|
|
#1 |
|
Junior Member
Join Date: Sep 2005
Posts: 12
|
dselkirk's services question
Section "install service"
!insertmacro SERVICE "create" "testingblah" \ "path=C:\Documents and Settings\John Kimble\Desktop\New Folder\testingblah.exe;autostart=on;" SectionEnd this is what i have... what is the right code to make the testingblah.exe run with a configuration file in the background and how to autostart? ... the command line in command prompt is testingblah.exe -b configuration.config now how could i make a service that does this? and autostarts sorry for the newbie question by the way i just started this 2 days ago thanks yall.
|
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Sep 2005
Posts: 12
|
oh sorry i forgot to tell you the " -b " means background .. so testingblah.exe -b configuration.config means it runs with the config file in the background (press ctrl alt del and u see it )
|
|
|
|
|
|
#3 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
You can not run any application as a service. It has to be written specifically to be a service. See MSDN for more details.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Sep 2005
Posts: 12
|
ohhhh so how could i make this application run on startup?
|
|
|
|
|
|
#5 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Sep 2005
Posts: 12
|
k thanks
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|