Try appending it to @ApplicationFile ApplicationFile="Install.exe INSTALLFILE"
I suspect though that it will not work. Why not make your Install.exe load the parameter from a config file? Dave -----Original Message----- From: Prabhakaran Paulraj [mailto:prabhakaran_paul...@dynamicbi.com] Sent: 25 August 2009 12:23 To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to pass a parameter from a bootstrapper to the execalled Hi, I am currently calling an EXE from a bootstrapper which works fine. I need now to pass a parameter along with the exe. Eg: Install.exe INSTALL where INSTALL is the parameter. Is this is possible? Any help is greatly appreciated. Below is the code for the Bootstrapper which i am using to call the exe <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <ItemGroup> <BootstrapperFile Include="Microsoft.Net.Framework.2.0"> <ProductName>Microsoft .NET Framework 2.0</ProductName> </BootstrapperFile> <BootstrapperFile Include="Microsoft.Windows.Installer.3.1 "> <ProductName>Microsoft.Windows.Installer.3.1 </ProductName> </BootstrapperFile> </ItemGroup> <Target Name="Bootstrapper"> <GenerateBootstrapper ApplicationFile="Install.exe" ApplicationName="ApplicationTest" BootstrapperItems="@(BootstrapperFile)" OutputPath=".\" ComponentsLocation="HomeSite" Culture="en" /> </Target> </Project> Thanks Prabhakaran ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users