BobCrothers
Posts: 66
Joined: Wed Dec 05, 2007 10:58 pm

How to make a VB form look like an Advanced Installer dialog

Hi,

I run a custom action early in the install. The action is a VB program. It displays a VB form, allows the user to enter IP addresses and tests the addresses. It writes the information to a temporary file. After the install is finished another custom action reads the temporary file and updates our properties file which was installed. Is there a way to make the VB form look like an Advanced Installer dialog? Does someone know some tricks?

Thanks
Bob
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

Please note that Advanced Installer uses the Windows Installer dialogs. Therefore, you can try to make your VB form look like a standard Windows Installer dialog.

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
BobCrothers
Posts: 66
Joined: Wed Dec 05, 2007 10:58 pm

Hi Cosmin,

I’m new; there may be some library/API that I don’t know anything about. Can I call the windows installer dialogs and add boxes and buttons to the dialog? Is there an API of what we can call from a VB custom action?

Thanks
Bob
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi,

I'm afraid that there is no support for doing this in Visual Basic.

However, you can use the Dialog Editor feature in Advanced Installer to create the dialog you need. Since the dialog uses properties for the controls on it (edit boxes, checkboxes, buttons etc.), you will pass these properties to your custom action.

You can read more about the "Dialog Editor" feature here:
http://www.advancedinstaller.com/user-g ... ditor.html
http://www.advancedinstaller.com/user-g ... ditor.html

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”