Account for "Run as own process" Service - Advanced Installer Community

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!

Quadiago
Posts: 71
Joined: Thu May 31, 2007 9:07 am

Account for "Run as own process" Service

Hi there

I'm trying to install a service that should run under an account created during install. This can be done without issues except that it seems the account (created in the users section as part of the adminitrators group) doesn't have the "run as service" permission.

Would I need a custom action to set this? Do you have any idea what the API function that sets this is?

Thanks!
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

Note that a created account cannot be used during installation (event if you force a system reboot). It's available only after installation.

So a solution to this would be to create that account in a separate MSI and put this as prerequisite to your main package:
http://www.advancedinstaller.com/user-g ... tware.html

Regards,
Gigi
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com/
Quadiago
Posts: 71
Joined: Thu May 31, 2007 9:07 am

Oh I see...

I suppose you learn something new every day with Windows Installer.

Thanks!

Return to “Common Problems”