Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/EvanAnderson/ts_block.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvan Anderson <EAnderson@wellbury.com>2012-05-31 00:39:51 +0400
committerEvan Anderson <EAnderson@wellbury.com>2012-05-31 00:39:51 +0400
commit6db0704bea0db45ed22889290f3432ee7da3f0b8 (patch)
tree5d84e2f43a961eb8adc2ff2c0b48294fc45cb575
parent09d62b6275143e63c7506de84c2c58b436662bd9 (diff)
Commit for 20120530 release
-rw-r--r--make-msi.bat5
-rw-r--r--nssm.exebin0 -> 75776 bytes
-rw-r--r--ts_block.wxs50
3 files changed, 55 insertions, 0 deletions
diff --git a/make-msi.bat b/make-msi.bat
new file mode 100644
index 0000000..3ce66ff
--- /dev/null
+++ b/make-msi.bat
@@ -0,0 +1,5 @@
+@echo off
+del *.msi
+del *.wixobj
+candle -out ts_block.wixobj ts_block.wxs
+light -out ts_block.MSI ts_block.wixobj
diff --git a/nssm.exe b/nssm.exe
new file mode 100644
index 0000000..54e8e31
--- /dev/null
+++ b/nssm.exe
Binary files differ
diff --git a/ts_block.wxs b/ts_block.wxs
new file mode 100644
index 0000000..c64f4eb
--- /dev/null
+++ b/ts_block.wxs
@@ -0,0 +1,50 @@
+<?xml version='1.0'?>
+<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
+ <Product Id='DAB52735-BF56-5081-B165-8EF0C4B224AE' Name='Terminal Services Brute Force Block (ts_block)' Language='1033' Version='20110831' Manufacturer='Wellbury LLC' UpgradeCode='D78EDDFB-93DF-12CF-1C82-871358588B21'>
+ <Package Id='30B0BAF0-A69D-12DC-1902-B41833668899' InstallerVersion='200' Compressed='yes' />
+
+ <!-- Install to all users only -->
+ <Property Id='ALLUSERS'>2</Property>
+ <Property Id='ARPURLINFOABOUT'>http://opensource.wellbury.com/projects/ts_block</Property>
+ <Property Id='ARPNOMODIFY'>1</Property>
+ <Property Id='ARPNOREPAIR'>1</Property>
+ <Property Id='MSIUSEREALADMINDETECTION'>1</Property>
+ <Property Id='Privileged'>1</Property>
+
+ <Media Id='1' EmbedCab='yes' Cabinet='data.cab' />
+
+ <Directory Id='InstallDir' Name='SourceDir'>
+ <Directory Id='ProgramFilesFolder' Name='PFiles'>
+ <Directory Id='TARGETDIR' Name='ts_block'>
+ <Component Id='component0' Guid='EE750F0F-9602-6999-66FF-90E30AB29CD0' DiskId='1'>
+ <File Id='file0' Name='nssm.exe' src='nssm.exe' />
+ <File Id='file1' Name='README.txt' src='README.txt' />
+ <File Id='file2' Name='ts_block.vbs' src='ts_block.vbs' />
+ <File Id='file3' Name='LICENSE' src='LICENSE' />
+ <File Id='file4' Name='ts_block.wxs' src='ts_block.wxs' />
+ <File Id='file5' Name='make-msi.bat' src='make-msi.bat' />
+ </Component>
+ </Directory>
+ </Directory>
+ </Directory>
+
+ <CustomAction Id='InstallService'
+ FileKey='file0'
+ Execute='deferred'
+ ExeCommand='install ts_block [WindowsFolder]System32\cscript.exe \"[TARGETDIR]ts_block.vbs\"' />
+
+ <CustomAction Id='UninstallService'
+ FileKey='file0'
+ Execute='deferred'
+ ExeCommand='remove ts_block confirm' />
+
+ <InstallExecuteSequence>
+ <Custom Action='InstallService' Before='InstallFinalize'>NOT (REMOVE="ALL")</Custom>
+ <Custom Action='UninstallService' Before='RemoveFiles'>REMOVE="ALL"</Custom>
+ </InstallExecuteSequence>
+
+ <Feature Id='Feature' Title='feature0' Level='1'>
+ <ComponentRef Id='component0' />
+ </Feature>
+ </Product>
+</Wix>