cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
bperret065
Level 3

OpenFileDialog field in a custom dialog.

Jump to solution

Hello there,

We're building a IS installer in which
we need to select a number of files during dialogs step.
How can I use an OpenFileDialog-like edit field (that is with a 'Browse' button to select a local file) ?

Is there a pre-defined Custom action for that (like in AdvancedInstaller) ?

Oherwise could someone provide us with a snippet code (ideally InstallScript)?

Thanks for your indications.

Info: we're using InstallShield 2014.

(2) Solutions
kclausen
Flexera Alumni

@bperret065 - Looks like your question should be posted in the AdminStudio forum - this is the FlexNet Manager forum.

View solution in original post

0 Kudos

Hi @kingpin@bperret065 

 

See the below links for how to create and process the custom dialog in Installscript and InstallScript MSI projects:

https://helpnet.flexerasoftware.com/installshield25helplib/helplibrary/Dialogs_CreateStandardDlgEd.h...

https://helpnet.flexerasoftware.com/installshield25helplib/helplibrary/Dialogs_ImplementStandard.htm...

https://helpnet.flexerasoftware.com/installshield25helplib/helplibrary/Dialogs_AddInstallScript.htm

 

As well you can refer existing dialog source in the Installscript project, such as "Ask Dest Path".

You can find the installscript source for the dialogs, under installscript view -> Dialog Source in the first drop down.

 

View solution in original post

0 Kudos
(5) Replies
kclausen
Flexera Alumni

@bperret065 - Looks like your question should be posted in the AdminStudio forum - this is the FlexNet Manager forum.

0 Kudos
Hi kclausen,
Could you possibly redirect my post to the right forum?
Or should i do it myself?
0 Kudos

Hi,

 

Your solution link is not working, could you please provide working link.

 

Thanks in advance.

0 Kudos

Hi @kingpin@bperret065 

 

See the below links for how to create and process the custom dialog in Installscript and InstallScript MSI projects:

https://helpnet.flexerasoftware.com/installshield25helplib/helplibrary/Dialogs_CreateStandardDlgEd.h...

https://helpnet.flexerasoftware.com/installshield25helplib/helplibrary/Dialogs_ImplementStandard.htm...

https://helpnet.flexerasoftware.com/installshield25helplib/helplibrary/Dialogs_AddInstallScript.htm

 

As well you can refer existing dialog source in the Installscript project, such as "Ask Dest Path".

You can find the installscript source for the dialogs, under installscript view -> Dialog Source in the first drop down.

 

0 Kudos

Hi banna_k,

thanks for your suggestions.

I will try them later since i'am on another task now 🙂

best regards.

0 Kudos