-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added installer, fixed release mode float issues
Apparently floats behave different depending on release/debug, and depending on whether it's run under the VS context. Anyway, the slicing code is more robust now. Also added a Wix installer project. Just build Release in VS and run "run.bat" in the install folder. Need to remember to keep the *.xml file updated whenever a new assembly is added - possible future task, automate.
- Loading branch information
1 parent
daa080a
commit ee6eee1
Showing
12 changed files
with
224 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,94 @@ | ||
<?xml version='1.0' encoding='windows-1252'?> | ||
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'> | ||
|
||
<Product Name='PathCAM' Id='8454EA61-B731-447D-80DF-488DC83D3986' UpgradeCode='1419EB08-9DC9-4986-B9F7-6B66377D4776' | ||
Language='1033' Codepage='1252' Version='1.0.0' Manufacturer='Subvertlab'> | ||
|
||
<Package Id='*' Keywords='Installer' Description="PathCAM Installer" | ||
Comments='PathCAM - Toolpath generation software for CNC robots' Manufacturer='Subvertlab' | ||
InstallerVersion='100' Languages='1033' Compressed='yes' SummaryCodepage='1252' /> | ||
|
||
<Media Id='1' Cabinet='PathCAM.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1' /> | ||
<Property Id='DiskPrompt' Value="Installation Source[1]" /> | ||
|
||
<Directory Id='TARGETDIR' Name='SourceDir'> | ||
|
||
|
||
<Directory Id='ProgramFilesFolder' Name='PFiles'> | ||
<!--Directory Id='Subvertlab' Name='Subvertlab'--> | ||
<Directory Id='INSTALLDIR' Name='PathCAM'> | ||
|
||
<Component Id='MainExecutable' Guid='25FD7BF3-A7E8-4EC1-A8A0-7150B675AE5D'> | ||
|
||
<File Id='PathCAMEexe' Name='PathCAM.exe' DiskId='1' Source='..\GUI\bin\Release\PathCAM.exe' KeyPath='yes'> | ||
<Shortcut Id="startmenuPathCAM" Directory="ProgramMenuDir" Name="PathCAM" | ||
WorkingDirectory='INSTALLDIR' Icon="icon.ico" IconIndex="0" Advertise="yes" /> | ||
<Shortcut Id="desktopPathCAM" Directory="DesktopFolder" Name="PathCAM" | ||
WorkingDirectory='INSTALLDIR' Icon="icon.ico" IconIndex="0" Advertise="yes" /> | ||
</File> | ||
|
||
<File Id='clipper_libraryDLL' Name='clipper_library.dll' DiskId='1' Source='..\GUI\Bin\Release\clipper_library.dll' /> | ||
<File Id='CommandsDLL' Name='Commands.dll' DiskId='1' Source='..\GUI\Bin\Release\Commands.dll' /> | ||
<File Id='GCodeDLL' Name='GCode.dll' DiskId='1' Source='..\GUI\Bin\Release\GCode.dll' /> | ||
<File Id='GeometryDLL' Name='Geometry.dll' DiskId='1' Source='..\GUI\Bin\Release\Geometry.dll' /> | ||
<File Id='OpenTKDLL' Name='OpenTK.dll' DiskId='1' Source='..\GUI\Bin\Release\OpenTK.dll' /> | ||
<File Id='OpenTK_GLControlDLL' Name='OpenTK.GLControl.dll' DiskId='1' Source='..\GUI\Bin\Release\OpenTK.GLControl.dll' /> | ||
<File Id='QuantumConcepts_CommonDLL' Name='QuantumConcepts.Common.dll' DiskId='1' Source='..\GUI\Bin\Release\QuantumConcepts.Common.dll' /> | ||
<File Id='QuantumConcepts_Formats_STLDLL' Name='QuantumConcepts.Formats.STL.dll' DiskId='1' Source='..\GUI\Bin\Release\QuantumConcepts.Formats.STL.dll' /> | ||
<File Id='RobotDLL' Name='Robot.dll' DiskId='1' Source='..\GUI\Bin\Release\Robot.dll' /> | ||
<File Id='SerialDLL' Name='Serial.dll' DiskId='1' Source='..\GUI\Bin\Release\Serial.dll' /> | ||
<File Id='TriangleDLL' Name='Triangle.dll' DiskId='1' Source='..\GUI\Bin\Release\Triangle.dll' /> | ||
|
||
</Component> | ||
|
||
|
||
</Directory> | ||
<!--/Directory--> | ||
</Directory> | ||
|
||
<Directory Id="ProgramMenuFolder" Name="Programs"> | ||
<Directory Id="ProgramMenuDir" Name="PathCAM"> | ||
<Component Id="ProgramMenuDir" Guid="2A3E1F52-6D25-4D6C-A610-292FAADF4ABC"> | ||
<RemoveFolder Id='ProgramMenuDir' On='uninstall' /> | ||
<RegistryValue Root='HKCU' Key='Software\[Manufacturer]\[ProductName]' Type='string' Value='' KeyPath='yes' /> | ||
</Component> | ||
</Directory> | ||
</Directory> | ||
|
||
<Directory Id="DesktopFolder" Name="Desktop" /> | ||
</Directory> | ||
|
||
<Feature Id='Complete' Level='1' Title='PathCAM' Description='The PathCAM Software' Display='expand' ConfigurableDirectory='INSTALLDIR'> | ||
<ComponentRef Id='MainExecutable' /> | ||
<ComponentRef Id='ProgramMenuDir' /> | ||
</Feature> | ||
|
||
<PropertyRef Id="NETFRAMEWORK45"/> | ||
<Condition Message="This application requires .NET Framework 4.5. Please install the .NET Framework then run this installer again."> | ||
<![CDATA[Installed OR NETFRAMEWORK45]]> | ||
</Condition> | ||
|
||
<Property Id="WIXUI_INSTALLDIR" Value="INSTALLDIR" /> | ||
<UI> | ||
<UIRef Id="WixUI_InstallDir" /> | ||
|
||
<Publish Dialog="WelcomeDlg" | ||
Control="Next" | ||
Event="NewDialog" | ||
Value="InstallDirDlg" | ||
Order="2">1</Publish> | ||
<Publish Dialog="InstallDirDlg" | ||
Control="Back" | ||
Event="NewDialog" | ||
Value="WelcomeDlg" | ||
Order="2">1</Publish> | ||
</UI> | ||
<UIRef Id="WixUI_ErrorProgressText" /> | ||
|
||
<WixVariable Id="WixUIBannerBmp" Value="banner.bmp" /> | ||
<WixVariable Id="WixUIDialogBmp" Value="dialog.bmp" /> | ||
|
||
<Icon Id="icon.ico" SourceFile="..\GUI\icon.ico" /> | ||
|
||
</Product> | ||
</Wix> |
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
You'll need Wix to build the installer: | ||
|
||
http://wixtoolset.org/ | ||
|
||
Make sure the <installdir>\bin directory is in the PATH | ||
environment variable. That allows candle.exe and light.exe | ||
to be executed from scripts without providing the full path | ||
all the time. | ||
|
||
Then just build the VS solution in release mode and double click run.bat |
Oops, something went wrong.