I seem to remember that you'll want to use something like
$(TargetFileName) instead of $(TargetPath) to avoid having the full
path embedded inside the bootstrapper

/Simon

On Thu, Feb 26, 2009 at 12:56 PM, Bob Lim <cbasic...@yahoo.com.sg> wrote:
>
> Hi guys,
>
> My msi is in the same folder as the setup.exe. And the path specified by the 
> setup.exe error message is correct and is the same path as the msi. Why it is 
> unable to locate my msi?
>
> I am using 3.0.5020.0 after 3.0.4721.0 bootstrapper failed to work in the 
> same way. My GenerateBootstrapper code as below,
>
>  <ItemGroup>
>    <BootstrapperFile Include="Microsoft.Windows.Installer.3.1">
>      <ProductName>Windows Installer 3.1</ProductName>
>    </BootstrapperFile>
>  </ItemGroup>
>        <Target Name="AfterBuild">
>      <GenerateBootstrapper ApplicationFile="$(TargetPath)"
>        ApplicationName="Germanium Web"
>        BootstrapperItems="@(BootstrapperFile)"
>        ComponentsLocation="Relative"
>        CopyComponents="True"
>        OutputPath="$(OutputPath)"
>        Path="C:\Program Files\Microsoft Visual Studio 
> 8\SDK\v2.0\BootStrapper\"/>
>        </Target>
>
> Thanks everyone for reading!
>
> Any help is appreciated!
>
> Best regards,
> Bob Lim
>
>
>      Have a new Yahoo! Mail account? Kick start your journey by importing all 
> your contacts! http://www.trueswitch.com/yahoo-sg
>
> ------------------------------------------------------------------------------
> 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
>

------------------------------------------------------------------------------
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

Reply via email to