My installer installs a windows service that must run from a local user account. Ideally I would like the installer to check if this account exists and if it does not, it should create it.
Is this possible with InstallAware. At the very least, can I check if a specific local account exists on the PC?
Create or check for account
Re: Create or check for account
Are you referring to LSA?
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
Re: Create or check for account
I'm sorry, I don't know what LSA is. I'm using InstallAware Studio Admin to build my installer, which is targeted at windows XP, Vista and 7, 32-bit editions.
I need a way to check if a specific local user account is present on the PC during the install and to create it if its not there. I've used windows installers before that do this, I just haven't been able to figure out how to do it using InstallAware.
Thanks for your help,
Stephen
I need a way to check if a specific local user account is present on the PC during the install and to create it if its not there. I've used windows installers before that do this, I just haven't been able to figure out how to do it using InstallAware.
Thanks for your help,
Stephen
Re: Create or check for account
This functionality isn't provided directly by InstallAware.
I tried looking into using the command net use, however, it seems to be generating the same return value regardless of what's passed to it.
http://articles.techrepublic.com.com/51 ... 31577.html
You'll probably be best off developing a DLL to call with Call DLL Function to provide yourself with this functionality.
I tried looking into using the command net use, however, it seems to be generating the same return value regardless of what's passed to it.
http://articles.techrepublic.com.com/51 ... 31577.html
You'll probably be best off developing a DLL to call with Call DLL Function to provide yourself with this functionality.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

