Permalink
Browse files

Added windows related stuff to create installer.

Conflicts:

	frogatto-win-installer.iss
  • Loading branch information...
1 parent a729353 commit 623da81c37b239f589a118305af6071437619a7f @DDR0 DDR0 committed Nov 21, 2012
View
@@ -0,0 +1,24 @@
+IDI_ICON1 ICON DISCARDABLE "modules/cube_trains/images/os/windows/ct-icon.ico"
+
+VS_VERSION_INFO VERSIONINFO
+FILEVERSION 1,0,0,0
+//FILEOS VOS_WINDOWS32
+//FILETYPE VFT_APP
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904E4"
+ BEGIN
+ VALUE "CompanyName", "cubetrains.com\0"
+ VALUE "FileDescription", "Cube Trains, 2D routing puzzle game\0"
+ VALUE "FileVersion", "1.0.0.0\0"
+ VALUE "ProductName", "CubeTrains\0"
+ VALUE "ProductVersion", "1.0.0\0"
+ VALUE "LegalCopyright", "\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1252
+ END
+END
@@ -0,0 +1,36 @@
+; Windows Installer file for Cube Trains
+
+[Setup]
+AppName=Cube Trains
+AppVersion=1.0.0
+DefaultDirName={pf}\Cube Trains
+DefaultGroupName=Cube Trains
+UninstallDisplayIcon={app}\Cube Trains.exe
+Compression=lzma2
+SolidCompression=yes
+OutputDir=c:\projects\cube-trains\
+
+[Files]
+Source: "C:\Projects\cube-trains-build\Cube Trains\Release\Win32\*.*"; DestDir: "{app}"; Excludes: "*.pdb,.*,std*.*";
+Source: "C:\Projects\cube-trains-build\Cube Trains\Release\Win32\data\*.*"; DestDir: "{app}\data"; Excludes: ".*"; Flags: recursesubdirs
+Source: "C:\Projects\cube-trains-build\Cube Trains\Release\Win32\images\*.*"; DestDir: "{app}\images"; Excludes: ".*"; Flags: recursesubdirs
+Source: "C:\Projects\cube-trains\vcredist_x86.exe"; DestDir: "{app}"; Flags: deleteafterinstall
+
+; This is everything which is not nescessarily whats wanted
+; Source: "C:\Projects\frogatto-build\Frogatto\Release\Win32\modules\cube_trains\*.*"; DestDir: "{app}\modules\cube_trains"; Excludes: ".*"; Flags: recursesubdirs
+
+; These are more selective.
+Source: "C:\Projects\cube-trains-build\Cube Trains\Release\Win32\modules\cube_trains\*.*"; DestDir: "{app}\modules\cube_trains"; Excludes: ".*";
+Source: "C:\Projects\cube-trains-build\Cube Trains\Release\Win32\modules\cube_trains\data\*.*"; DestDir: "{app}\modules\cube_trains\data"; Excludes: ".*"; Flags: recursesubdirs
+Source: "C:\Projects\cube-trains-build\Cube Trains\Release\Win32\modules\cube_trains\images\*.*"; DestDir: "{app}\modules\cube_trains\images"; Excludes: ".*"; Flags: recursesubdirs
+;Source: "C:\Projects\cube-trains-build\Cube Trains\Release\Win32\modules\cube_trains\locale\*.*"; DestDir: "{app}\modules\cube_trains\locale"; Excludes: ".*"; Flags: recursesubdirs
+Source: "C:\Projects\cube-trains-build\Cube Trains\Release\Win32\modules\cube_trains\sounds\*.*"; DestDir: "{app}\modules\cube_trains\sounds"; Excludes: ".*"; Flags: recursesubdirs
+Source: "C:\Projects\cube-trains-build\Cube Trains\Release\Win32\modules\cube_trains\music\*.*"; DestDir: "{app}\modules\cube_trains\music"; Excludes: ".*"; Flags: recursesubdirs
+
+
+[Icons]
+Name: "{group}\Cube Trains"; Filename: "{app}\Cube Trains.exe"
+Name: "{group}\Uninstall Cube Trains"; Filename: "{uninstallexe}"
+
+[Run]
+Filename: "{app}\vcredist_x86.exe"; Parameters: "/q"
Binary file not shown.

1 comment on commit 623da81

Owner

DDR0 commented on 623da81 Nov 21, 2012

This commit thanks to Krista^, who's attribution on it got mushed when I merged. I think there's a way around this, but I don't really know it.

Please sign in to comment.