Create custom dialog and passing values to my vbs file

Common questions about using Actual Installer.
Post Reply
deonisius
Posts: 1
Joined: Thu Aug 16, 2012 9:41 pm

Create custom dialog and passing values to my vbs file

Post by deonisius »

I have couple of questions here:

1) Can I create my own custom dialog option window (for example to request port value) and how would I do that?
2) Where and how can I store this custom value (eg: port)?
3) Can I pass a custom value/variable value from install in to my vbs script and then afterwards execute it right after install (if so, how)?
4) If I can pass that custom value, can I pass the parent directory where application got installed in to that script (as in, I want to execute my vbs scipt that will point to other files after they were installed)?

Thanks, this will definitely help me decide whether we'll choose this tool for our install or not!
Leo
Site Admin
Posts: 458
Joined: Fri Jan 22, 2010 12:40 pm

Re: Create custom dialog and passing values to my vbs file

Post by Leo »

Hi deonisius,

1. You can add a field to request this number (port):
go to Dialogs\Main and select User Information, then open User Information tab and selct Custom Field. In the Field Name type: Port

2. You can store this value in INI files or Registry by using variable <CustomUserInfo>

3. Use System\Command page

4. Yes, the variable is <InstallDir>
Leo,
Actual Installer Team
https://www.actualinstaller.com
JoshKorn
Posts: 1
Joined: Tue Aug 13, 2013 6:16 pm

Re: Create custom dialog and passing values to my vbs file

Post by JoshKorn »

Leo:

I can see from this example that I can have one custom field in the dialog.

If I want five or six fields, can I do that, and if so, how?

Thanks
Josh
Leo
Site Admin
Posts: 458
Joined: Fri Jan 22, 2010 12:40 pm

Re: Create custom dialog and passing values to my vbs file

Post by Leo »

Hi Johs,

Only tree fields are available.
Leo,
Actual Installer Team
https://www.actualinstaller.com
Post Reply