提交 2a916467 编写于 作者: K kohsuke

making more progress

git-svn-id: https://hudson.dev.java.net/svn/hudson/trunk/hudson/main@23133 71c3de6d-444a-0410-be80-ed276b4c234a
上级 be57bf9e
<?xml version="1.0"?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Product Name='Hudson ${var.VERSION}' Id='f8a1c07f-69d2-4fe1-a194-c5d563d44889' UpgradeCode='ca304bcd-a9a4-4178-8fac-e0505b1e05f3'
Language='1033' Codepage='1252' Version='${var.VERSION}' Manufacturer='Hudson project'>
<Product Name='Hudson $(var.VERSION)' Id='f8a1c07f-69d2-4fe1-a194-c5d563d44889' UpgradeCode='ca304bcd-a9a4-4178-8fac-e0505b1e05f3'
Language='1033' Codepage='1252' Version='0.$(var.VERSION).0' Manufacturer='Hudson project'>
<Package Id='*' Keywords='Installer' Description="Hudson"
Comments='Continuous Integration Server'
......@@ -9,9 +9,9 @@
<Media Id='1' Cabinet='hudson.cab' EmbedCab='yes'/>
<Directory Id='TARGETDIR' Name='SourceDir'>
<Directory Id='ProgramFilesFolder' Name='PFiles'>
<Directory Id='Hudson' Name='Hudson' FileSource=".">
<Directory Id='HudsonDir' Name='Hudson' FileSource=".">
<Component Id='Main' Guid='8fd00c9c-e018-46d6-9135-67696ea0bcbf'>
<File Id="HudsonExe" Name="hudson.exe" DiskId='1' KeyPath='yes'/>
<File Name="hudson.exe" DiskId='1' KeyPath='yes'/>
<ServiceInstall Id="HudsonService"
Name="hudson"
DisplayName="Hudson"
......@@ -30,6 +30,7 @@
<Feature Id='Complete' Level='1'>
<ComponentRef Id='Main' />
<ComponentGroupRef Id='DataComponents' />
</Feature>
<!-- launch a browser at the end of the installation -->
......
To scan a directory, use Harvest
#!/bin/bash -ex
heat dir data -o data.wxs -sfrag -gg -cg DataComponents -dr HudsonDir -var var.DataDir
candle -dVERSION=1.999 -dDataDir=data hudson.wxs data.wxs
light -o hudson.msi hudson.wixobj data.wixobj
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册