Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add MSI installer #263

Merged
merged 2 commits into from
Jul 10, 2017
Merged

Add MSI installer #263

merged 2 commits into from
Jul 10, 2017

Conversation

galeksandrp
Copy link
Contributor

@galeksandrp galeksandrp commented Jun 13, 2017

fixes #14

For compilation install WiX Toolset.

"%ProgramFiles(x86)%\WiX Toolset v3.10\bin\candle" RDPWInst.wxs
"%ProgramFiles(x86)%\WiX Toolset v3.10\bin\light" RDPWInst.wixobj

Copy link
Member

@binarymaster binarymaster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please give brief information on how to compile this script into MSI file.

Thanks for your PR!

RDPWInst.wxs Outdated
</Directory>
</Directory>

<Feature Id="ProductFeature" Title="SetupProject1" Level="1">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These lines looks like a template, it would be better to give them proper names

<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<?define ProductName="RDP Wrapper Library" ?>
<?define ProductVersion="1.6.1" ?>
<?define ProductCode="37ea5771-3352-4a52-9fac-9297331daebd"?>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just wondering where these GUIDs came from?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autogenerated from https://www.guidgen.com/ as recommended by WiX Documentation.

RDPWInst.wxs Outdated
<Directory Id="CommonAppDataFolder">
<Directory Id="PACKAGECACHE" Name="Package Cache">
<Directory Id="INSTALLLOCATION" Name="{$(var.ProductCode)}">
<Component Id="ProductComponent" Guid="affd77d1-b35c-46f3-a97f-1686dc57b8b8">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And this

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Autogenerated from https://www.guidgen.com/ as recommended by WiX Documentation.

<CustomAction Id='UninstallAction' FileKey='RDPWInst' ExeCommand='-u' Execute='immediate' Return='check'/>
<CustomAction Id='UpdateAction' FileKey='RDPWInst' ExeCommand='-w' Execute='immediate' Return='check'/>
<!-- <CustomAction Id='ChangeAction' Directory='ProgramFilesFolder' ExeCommand='RDP Wrapper\RDPConf' Execute='immediate' Return='check'/>
<CustomAction Id='RepairAction' Directory='ProgramFilesFolder' ExeCommand='RDP Wrapper\RDPCheck' Execute='immediate' Return='check'/> -->
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For repair action, does it possible to execute RDPWInst twice to run uninstall and then install it again?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Any news?

@binarymaster binarymaster merged commit dc9ff89 into stascorp:master Jul 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide MSI install package
2 participants