Old 22nd September 2005, 17:41   #1
frank99
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.
frank99 is offline   Reply With Quote
Old 22nd September 2005, 18:14   #2
frank99
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 )
frank99 is offline   Reply With Quote
Old 22nd September 2005, 18:29   #3
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 22nd September 2005, 18:57   #4
frank99
Junior Member
 
Join Date: Sep 2005
Posts: 12
ohhhh so how could i make this application run on startup?
frank99 is offline   Reply With Quote
Old 22nd September 2005, 19:03   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
You search the Wiki for start up and find the answer.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 22nd September 2005, 19:15   #6
frank99
Junior Member
 
Join Date: Sep 2005
Posts: 12
k thanks
frank99 is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump