cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
jagjit_82
Level 6

create a custom dialog to accept input and pass it to user-defined function

sir
I have created a user-defined EzBatchAddString function.I would like to create a custom dialog which accepts some string input and correspondingly replaces the value of environment variable inAUTOEXEC.BAT file...
Sir can you please tell me how to achieve this...
Thanks
jagjit
Labels (1)
0 Kudos
(2) Replies
RobertDickau
Flexera Alumni

For information about creating custom dialog boxes in MSI projects, please see the help section "Working with Dialogs in Basic MSI Projects"; and also the sample chapter of the MSI training manual here: http://www.acresso.com/services/education/publications.htm.

Depending on your target operating systems, you might be able to use the Environment Variable Changes view instead of using script to modify autoexec.bat.

(Out of curiosity, why are you deleting threads after receiving answers?)
0 Kudos
jagjit_82
Level 6

sir there a problem aroused again in MSI project...i have created a function EzBatchAddString.I have created correspondingly "custom action" for this script.
I created an installer file to update "autoexec.bat" file.when i run the setup.exe file after following a series of dialogs it shows this error messae and terminates the installation...
Error 27311.Selection Manager not initialized.
what type of error is this.how can i get rid of this error
thanks
jagjit
0 Kudos