Modified WIX xml so it *WORKS* and adds sbt to path appropriately. Requires restart for some strange reason. No help on interwebs but a few others noticed the issue.

This commit is contained in:
Josh Suereth 2011-12-28 09:45:58 -05:00
parent eba16354ea
commit dea48caddd
1 changed files with 11 additions and 7 deletions

View File

@ -1,11 +1,11 @@
<?xml version='1.0'?> <?xml version='1.0'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> <Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Product Id='PUT-GUID-HERE' <Product Id='ce07be71-510d-414a-92d4-dff47631848a'
Name='Simple Build Tool' Name='Simple Build Tool'
Language='1033' Language='1033'
Version='1.0.0.00.10.2' Version='0.10.2.1'
Manufacturer='Typesafe, Inc.' Manufacturer='Typesafe, Inc.'
UpgradeCode='PUT-GUID-HERE'> UpgradeCode='4552fb0e-e257-4dbd-9ecb-dba9dbacf424'>
<Package Description='Simple Build Tool launcher script.' <Package Description='Simple Build Tool launcher script.'
Comments='First attempt to create an SBT windows installer, bear with me.' Comments='First attempt to create an SBT windows installer, bear with me.'
Manufacturer='Typesafe, Inc.' Manufacturer='Typesafe, Inc.'
@ -16,17 +16,21 @@
<Directory Id='TARGETDIR' Name='SourceDir'> <Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='ProgramFilesFolder' Name='PFiles'> <Directory Id='ProgramFilesFolder' Name='PFiles'>
<Directory Id='MyDir' Name='sbt'> <Directory Id='INSTALLDIR' Name='sbt'>
<Component Id='SbtLauncherScript' Guid='PUT-GUID-HERE'> <Component Id='SbtLauncherScript' Guid='*'>
<File Id='sbt' Name='sbt.bat' DiskId='1' Source='sbt.bat' /> <File Id='sbt_bat' Name='sbt.bat' DiskId='1' Source='sbt.bat' />
<File Id='sbt' Name='sbt-launch.jar' DiskId='1' Source='sbt-launch.jar' /> <Environment Id="PATH" Name="PATH" Value="[INSTALLDIR]" Permanent="no" Part="last" Action="set" System="yes" />
</Component> </Component>
<Component Id='SbtLauncherJar' Guid='*'>
<File Id='sbt_launch_jar' Name='sbt-launch.jar' DiskId='1' Source='sbt-launch.jar' />
</Component>
</Directory> </Directory>
</Directory> </Directory>
</Directory> </Directory>
<Feature Id='SbtLauncher' Title='Sbt Launcher Script' Level='1'> <Feature Id='SbtLauncher' Title='Sbt Launcher Script' Level='1'>
<ComponentRef Id='SbtLauncherScript' /> <ComponentRef Id='SbtLauncherScript' />
<ComponentRef Id='SbtLauncherJar' />
</Feature> </Feature>
</Product> </Product>
</Wix> </Wix>