cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Naveed
Level 6

InstallShield / SetSPN / Powershell

Hi,

I want to add a new domain account and set SPN mapping for this newly created account in InstallShield Installer project.
Can I do this using InstallShield? If yes, how?

If not, how can I integrate Windows Powershell script into Installshield project as pre-install task?

My Powershell script will create a user, set SPN mapping and InstallShield will use this account to set identity for Application Pool of website.

Thanks in advance.

Naveed
Labels (1)
0 Kudos
(2) Replies
Cary_R
Level 11

Hi Naveed,

From what I can tell, there's a utility called 'setspn' that handles this:

http://msdn.microsoft.com/en-us/library/ms191153.aspx

Looks like there is also Windows API's involved, but nothing that I can find that ties into Windows Installer:

http://msdn.microsoft.com/en-us/library/ms677949%28VS.85%29.aspx

Hope this helps,

Cary
0 Kudos
Naveed
Level 6

Thanks for your reply.

I need to do it through script instead of SetSPN.exe.

I want to put the script as Pre-requisite of Installer.

Naveed
0 Kudos