2
votes

I`m developing install application via Installshield Basic MSI Project

  1. I have a little problem when granting "Log on as a service" permission (Control panel -> Administrative tools -> Local Security Settings)

In Windows server 2003, NTRights.exe works fine.

In Windows server 2008 and 2008 R2, NTRight.exe also works fine but "NTRights.exe" is just part of "Windows server 2003 Toolkit"

I want to use another method. Can Anyone do same thing using another way?

  1. In a Service Panel, I have to set Logon account and password using end user input.

But Installshield supports just fixed id, password. It cannot be used.

How can i do this to set logon account? Logon account information should be provided during installation

1

1 Answers

3
votes

Check out this article. Once you understand it, just change it up a bit by using information from the second link.

Augmenting InstallShield using Windows Installer XML - Certificates

User Element (Util Extension)

Another approach using a WiX DTF custom action can be found at:

Different year, Same Problem...