Install Service Plugin with Parameters?

Got a problem you cannot solve? Try here.
Post Reply
QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Install Service Plugin with Parameters?

Post by QooScho »

Hello,
In IA11 I try to install a service with the "Install Service" Plugin.

Problem is:
My service should be installed as follow:

"C:\myprogram\test\myservice.exe" MyService

In the Install Service Plugin I can define the Target Folder and I have added $Progdir variable. But how can I add this parameter behind the path?

regards
Hansjoerg
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Install Service Plugin with Parameters?

Post by giaviv »

Hi,

To work around this, you will have to install your service using sc.exe (you can invoke it in IA using Run Program).
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
QooScho
Posts: 152
Joined: Fri Apr 15, 2011 1:02 am

Re: Install Service Plugin with Parameters?

Post by QooScho »

Hello,

if I understand you right, it is not possible to fill in a path in the "Target Folder" of the Service Plugin in this way?

"C:\myprogram\test\myservice.exe" MyService

right?
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: Install Service Plugin with Parameters?

Post by giaviv »

Hi,

You are more than welcome to try it - please let us know your findings!
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Post Reply