Well the problem was that the bootstrapper was not working properly, in a
number of ways. (I'm attempting to use the NetFx35ClientSetup.exe
bootstrapper)

First of all it was always running, even if the user has the framework
installed, which I don't like because it detracts from my app's setup
experience and is unnecessary. And secondly, it is not even able to "find"
my application installer to continue the installation after it completes
anyway.

Here's what I'm doing:

<ItemGroup>
  <BootstrapperFile Include="Microsoft.Net.Client.3.5">
    <ProductName>.NET Framework Client Profile</ProductName>
  </BootstrapperFile>
</ItemGroup>


<Target Name="AfterBuild">
  <GenerateBootstrapper ApplicationFile="$(TargetPath)"
ApplicationName="OrangeNote™" BootstrapperItems="@(BootstrapperFile)"
ComponentsLocation="Relative" CopyComponents="True"
OutputPath="$(OutputPath)" Path="C:\Program Files\Microsoft
SDKs\Windows\v6.0A\Bootstrapper\" />
</Target>

Which is basically right out of the wix.chm file. Yet for some reason,
$(TargetPath) doesn't seem to work. I wonder, can this be relative? It seem
to me that this will end up hard-coding my current path to the installer,
which won't work on end-user machines.

Furthermore, if I do get this to work, I would end up packing things into a
self-extracting executable to unpack to a temp directory, meaning that the
actual path to the installer will be random, and will therefore either need
to be supplied relative to the bootstrapper, or passed-in as a command line
argument, which leads to my other question...

How can I change the command line parameters the bootstrapper is invoked
with?


metaman wrote:
> 
> Could you not use the MSBuild GenerateBootstrapper task to accomplish what
> you need to do?
>  http://msdn.microsoft.com/en-us/library/ms164294.aspx
> <http://msdn.microsoft.com/en-us/library/ms164294.aspx>
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/.NET-Bootstrapper%2C-Self-Extracting-Executables-tp1351845p1355254.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to