On Thu, Aug 27, 2009 at 5:19 PM, Prabhakaran Paulraj <
prabhakaran_paul...@dynamicbi.com> wrote:

> Hi there,
>
> I tried appending the parameter to the ApplicationFile but it doesnt work
> since it assumes that to be as the File Name.
>
> Is it possible to pass any arguements from Bootstrapper to the EXE called?
>
not with that bootsrapper no...


>
> I am tried many but couldn make it.
>
>
>
>
> Content-Type: text/plain; charset="iso-8859-1"
>
> 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
>
------------------------------------------------------------------------------
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

Reply via email to