We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Phobos
Posts: 85
Joined: Fri Sep 08, 2006 11:52 am
Location: Germany

Setting Service Account

Hi,

I am experiencing a problem while trying to install a new service. The installation itself works fine, but I am unable to set the log on user for the service. When I enter username and password directly in AI Services section everything is ok, but when I use properties with the values from a custom dialog it fails.
Any idea?
Phobos
Posts: 85
Joined: Fri Sep 08, 2006 11:52 am
Location: Germany

Anyone?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I cannot reproduce this behavior. What error you get?

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Phobos
Posts: 85
Joined: Fri Sep 08, 2006 11:52 am
Location: Germany

Hi gigi,

I found out why it was not working. In the service account information I entered .\[PROPERTY] as name, but this will fail. Now I changed it to [PROPERTY] and it seems to work.
Phobos
Posts: 85
Joined: Fri Sep 08, 2006 11:52 am
Location: Germany

Hi,

I am having trouble with the service account again. During the installation the user has to enter his computername, username and password. So I have three properties [computer], [user] and [pwd].
Now I want to use this information as service account for the services I install. As User Name I enter [computer]\[user] and as Password I enter [pwd].

However, during the installation I get a message telling me that the service could not be installed, and that I should verify that I have sufficient privileges, which I do.

How can I change it, so that a user can define the service account during installation?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

I see that you use private properties. Note that private properties are not passes from UI Sequence to the Execute Sequence. Only public properties (in upper cases) are passed from UI to Execute Sequence.

You can read more about property names restrictions here:
http://msdn2.microsoft.com/en-us/library/aa371245.aspx

Please let me know if you encounter any problems.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
Phobos
Posts: 85
Joined: Fri Sep 08, 2006 11:52 am
Location: Germany

Hi Gigi,

Yes, now it works. Thanks.

Return to “Common Problems”