-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Add MSI installer #263
Conversation
There was a problem hiding this 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"> |
There was a problem hiding this comment.
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"?> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And this
There was a problem hiding this comment.
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'/> --> |
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any news?
fixes #14
For compilation install WiX Toolset.