User name + Domain + Password PROPERTIES - Advanced Installer Community
ddl
Posts: 4
Joined: Fri Sep 05, 2014 3:34 pm

User name + Domain + Password PROPERTIES

Hello,
I just bought the PRO version.
I added the LogonInformationDlg and I want to run custom action [ps1 script] which set sched Task with that user.
What is the PROPERTIES of the user \ domain \ password ?

Thanks,
ddl
UserNamePassword.jpg
UserNamePassword.jpg (42.15 KiB) Viewed 2586 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: User name + Domain + Password PROPERTIES

Hi,

The name of those properties are: USER_NAME, DOMAIN_NAME and USER_PASSWORD.

For the future, when you need information about some "Enterprise" or "Architect" features, you can create some projects of those types on your machine and get the necessary information. In this case you will lose time waiting for our reply.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ddl
Posts: 4
Joined: Fri Sep 05, 2014 3:34 pm

Re: User name + Domain + Password PROPERTIES

Hi,
I want to pass this PROPERTIES to powershell script.
From "Add custom action" > I select "Run Windows Powershell Script".
In "Script Parameters" I write USER_NAME

Now, how this PROPERTY can be inserted to Powershell var ?
I tried $args[0] - doesn't work.
I read 10 times the section "Run Windows PowerShell Script" - can't understand [why not add little sample ?]

Thanks,
ddl
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: User name + Domain + Password PROPERTIES

Hi,

You can take a look on the Get value TextBox Dialog with PowerShell Script thread which debates a similar problem.

We will update the help and add some samples in a future version of Advanced Installer. Thank you for your suggestion.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”