Hi there, I have create two controls where I want tohe user to enter some text. I want to then pass these two parameters to a script which does some further work. The controls are defined as
<Control Id="DBLabel" Type="Text" X="45" Y="73" Width="100" Height="15" TabSkip="no" Text="UserName" /> <Control Id="DBEdit" Type="Edit" X="45" Y="85" Width="220" Height="18" Property="DBName" Text="{80}"/> <Control Id="DBStringLabel" Type="Text" X="45" Y="110" Width="100" Height="15" TabSkip="no" Text="Connnection String" /> <Control Id="DBStringEdit" Type="Edit" X="45" Y="122" Width="220" Height="18" Property="DBString" Text="{80}"/> I then have a CustomAction wxs file that I want to pass DBName and DBString parameters to the serviceCheck.pl script in the following wxs file. How do you do that? <?xml version='1.0' encoding='windows-1252'?> <Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'> <Fragment Id='CUSTOMACTIONS'> <Binary Id="wixca" src="..\..\..\wix\wixca.dll"/> <CustomAction Id="InstallCommon.Command" Property="QtExecCmdLine" Value=""perl" "[bin]serviceCheck.pl" "install" "[bin]""/> <CustomAction Id="InstallCommon" BinaryKey="wixca" DllEntry="CAQuietExec" Execute="immediate" Return="check"/> <CustomAction Id="DeinstallCommon.Command" Property="QtExecCmdLine" Value=""perl" "[bin]serviceCheck.pl" "deinstall" "[bin]""/> <CustomAction Id="DeinstallCommon" BinaryKey="wixca" DllEntry="CAQuietExec" Execute="immediate" Return="ignore"/> <InstallExecuteSequence> <!-- If not installed, generate the install command and execute it (after finializing the install) --> <Custom Action="InstallCommon.Command" After="InstallFinalize">NOT Installed</Custom> <Custom Action="InstallCommon" After="InstallCommon.Command">NOT Installed</Custom> <!-- If installed, generate the uninstall command and execute it (before removing any files) --> <Custom Action="DeinstallCommon.Command" Before="DeinstallCommon">Installed</Custom> <Custom Action="DeinstallCommon" Before="RemoveFiles">Installed</Custom> </InstallExecuteSequence> </Fragment> </Wix> -- View this message in context: http://n2.nabble.com/Passing-parameters-to-install-scripts-tp2448392p2448392.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users