mirror of https://github.com/sbt/sbt.git
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:
parent
eba16354ea
commit
dea48caddd
|
|
@ -1,11 +1,11 @@
|
|||
<?xml version='1.0'?>
|
||||
<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'
|
||||
Language='1033'
|
||||
Version='1.0.0.00.10.2'
|
||||
Version='0.10.2.1'
|
||||
Manufacturer='Typesafe, Inc.'
|
||||
UpgradeCode='PUT-GUID-HERE'>
|
||||
UpgradeCode='4552fb0e-e257-4dbd-9ecb-dba9dbacf424'>
|
||||
<Package Description='Simple Build Tool launcher script.'
|
||||
Comments='First attempt to create an SBT windows installer, bear with me.'
|
||||
Manufacturer='Typesafe, Inc.'
|
||||
|
|
@ -16,17 +16,21 @@
|
|||
|
||||
<Directory Id='TARGETDIR' Name='SourceDir'>
|
||||
<Directory Id='ProgramFilesFolder' Name='PFiles'>
|
||||
<Directory Id='MyDir' Name='sbt'>
|
||||
<Component Id='SbtLauncherScript' Guid='PUT-GUID-HERE'>
|
||||
<File Id='sbt' Name='sbt.bat' DiskId='1' Source='sbt.bat' />
|
||||
<File Id='sbt' Name='sbt-launch.jar' DiskId='1' Source='sbt-launch.jar' />
|
||||
<Directory Id='INSTALLDIR' Name='sbt'>
|
||||
<Component Id='SbtLauncherScript' Guid='*'>
|
||||
<File Id='sbt_bat' Name='sbt.bat' DiskId='1' Source='sbt.bat' />
|
||||
<Environment Id="PATH" Name="PATH" Value="[INSTALLDIR]" Permanent="no" Part="last" Action="set" System="yes" />
|
||||
</Component>
|
||||
<Component Id='SbtLauncherJar' Guid='*'>
|
||||
<File Id='sbt_launch_jar' Name='sbt-launch.jar' DiskId='1' Source='sbt-launch.jar' />
|
||||
</Component>
|
||||
</Directory>
|
||||
</Directory>
|
||||
</Directory>
|
||||
|
||||
<Feature Id='SbtLauncher' Title='Sbt Launcher Script' Level='1'>
|
||||
<ComponentRef Id='SbtLauncherScript' />
|
||||
<ComponentRef Id='SbtLauncherJar' />
|
||||
</Feature>
|
||||
</Product>
|
||||
</Wix>
|
||||
Loading…
Reference in New Issue