I am trying to use the Install Service feature, but I'm not able to set the Target Folder. The Service File I am trying to install is part of the installation files which are getting installed to a path stored in a variable named $CL_FILESPATH$\Services. Back in the Install Service dialog I specify the Target Folder to be $CL_FILESPATH$\Services. When I compile the project, I get an error message...
Error during build: Cannot open file "c:\users\administrator\documents\cemlink\MonitorService.exe". The system cannot find the file specified
It looks like Install Services is looking for the file at compile time in the IA project folder for this service. How can I get it to use the $CL_FILESPATH$ variable which is set at run time?
Unable to Install Service
-
- Site Admin
- Posts: 5361
- Joined: Sun Aug 22, 2010 4:28 am
Re: Unable to Install Service
Dear Roddyvet,
you cannot use SCRIPT VARIABLES with "Service File" parameter of the "Install Service" command. This parameter must be resolved at BUILD TIME.
Alternatively, you may use the "Run Program" command to install your service as you do from CMD prompt. The Run Program command allows the use of script variables.
Hope this helps you.
Regards
you cannot use SCRIPT VARIABLES with "Service File" parameter of the "Install Service" command. This parameter must be resolved at BUILD TIME.
Alternatively, you may use the "Run Program" command to install your service as you do from CMD prompt. The Run Program command allows the use of script variables.
Hope this helps you.
Regards
Francesco Toscano
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
InstallAware Software
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Who is online
Users browsing this forum: Google [Bot] and 197 guests