- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Windows installer with pre-entered admin credenctials?
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Windows installer with pre-entered admin credenctials?
A request came from our customer that they would like us to deliver new versions of our software that have domain admin credentials pre entered somewhere during the setup design process. In other words, once the user executes the setup it will automaticly run as admin and use the credentials that were built in. The point is that their domain admin does not wish to go from one PC to another and enter his credentials with every upgrade (over 200 PC's). Using domain policies to push MSI's is not an option, let's not go into details here.
So, is there point during the setup design where I can provide admin credentials that the setup will use once executed?
Thank you all!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
This Microsoft article references Windows Vista, but the content applies to all releases of Windows that have UAC running on them:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa372388(v=vs.85).aspx
This will, of course, limit the extent of how drastic the changes from release-to-release can be.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi dasabaja,
InstallShield has built-in dialogs for LogonUser on domain specific,please the refer link below for more information:
http://helpnet.installshield.com/installshield21helplib/helplibrary/Create-SetUserAccount.htm
Pre-entered credentials support for any given setup is not exposed externally.But with minimal effort we can achieve this.
All controls in any given installshield dialog is property oriented,hence setting this propery via property manager or via using installscript functionalities can make that work
For example:
Dlg_SdLogon:
nResult = SdLogonUserInformation(szTitle, szMsg, szAccount, szPassword);//You can tweak your code here to save username/password via property manager
if (nResult = BACK) goto Dlg_SdWelcome;
Hope it helps
Thanks,
Jenifer
