Skip to content

Instantly share code, notes, and snippets.


David Miller racingcow

View GitHub Profile
racingcow / fixedlines.wxs
Created April 10, 2013 03:32
The corrected lines, with a higher "Order" (weight) given to the evaluation of the "CertificateDlg" condition so that it is evaluated first.
View fixedlines.wxs
<Publish Dialog="BaseAddressDlg" Control="Next" Event="NewDialog" Value="CertificateDlg" Order="2"><![CDATA[(NOT Installed) AND (BASEPROTOCOL = "https")]]></Publish>
<Publish Dialog="BaseAddressDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="1">NOT Installed</Publish>
racingcow / brokenlines.wxs
Created April 10, 2013 02:15
The broken lines from the WXS file
View brokenlines.wxs
<Publish Dialog="BaseAddressDlg" Control="Next" Event="NewDialog" Value="CertificateDlg" Order="1"><![CDATA[(NOT Installed) AND (BASEPROTOCOL = "https")]]></Publish>
<Publish Dialog="BaseAddressDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg" Order="2">NOT Installed</Publish>
racingcow / broken.wxs
Created April 10, 2013 02:10
An excerpt from my original WXS file showing the Publish elements
View broken.wxs
<UI Id="IntegrationFrameworkUI">
<Publish Dialog="BrowseDlg" Control="OK" Event="DoAction" Value="WixUIValidatePath" Order="3">1</Publish>
<Publish Dialog="BrowseDlg" Control="OK" Event="SpawnDialog" Value="InvalidDirDlg" Order="4"><![CDATA[WIXUI_INSTALLDIR_VALID<>"1"]]></Publish>
<Publish Dialog="ExitDialog" Control="Finish" Event="EndDialog" Value="Return" Order="999">1</Publish>
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="InstallDirDlg">NOT Installed</Publish>
<Publish Dialog="WelcomeDlg" Control="Next" Event="NewDialog" Value="VerifyReadyDlg">Installed AND PATCH</Publish>
<Publish Dialog="InstallDirDlg" Control="Back" Event="NewDialog" Value="WelcomeDlg">1</Publish>
racingcow / index.css
Created June 25, 2012 03:30
View index.css
font-family: 'Segoe UI', Tahoma, Arial, Helvetica, Sans-Serif;
margin: 12px;
list-style-type: none;
margin: 0;
racingcow / targetprocess.js
Created June 25, 2012 03:20
View targetprocess.js
var rest = require("restler"); //
//var moment = require("moment"); //
var self = this;
var methods = {
globalOptions : {},
init : function(options) {
racingcow / index.html
Created June 25, 2012 03:17
View index.html
<script src="/"></script>
<script src=""></script>
<script src=""></script>
<link rel="stylesheet" type="text/css" href="index.css" />
var socket = io.connect("http://myservername:8080");
// on connection to server, ask for username
socket.on("connect", function() {
racingcow / index.js
Created June 25, 2012 03:15
View index.js
var app = require("express").createServer();
var io = require("").listen(app);
var tp = require("./targetprocess");
app.get("/", function(req, res) {
res.sendfile(__dirname + "/index.html");