Commit Graph

13 Commits

Author SHA1 Message Date
Konstantina Chremmou
dd98fe6732
CP-45071: Convert XenCenter build scripts to PowerShell. (#3219)
* CP-45071: Convert XenCenter build scripts to PowerShell.
* Removed obsolete variable.
* Pass the timestamp server and the certificate thumbprint as parameters to the build and sign scripts.
* Added further logging and made the verbose output of cmdlets optional.
* Updated README.
* Improved script readability.

Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-09-06 15:48:12 +01:00
Danilo Del Busso
4f14f3264d
CA-380355: Revert line endings to LF in metadata lines of WixToolset patch file
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-28 09:10:08 +01:00
Danilo Del Busso
ccce6b7ad8
CA-380355: Align Tree in CustomizeDlg with Box on its right
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-28 09:02:24 +01:00
Danilo Del Busso
675775cb01
CA-380355: Ensure shortcut is only created if user selects option in installer
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-25 08:30:10 +01:00
Danilo Del Busso
715f873329
CA-374325: Move shortcut to last page
Also update spacing of controls within the `CustomizeDlg` to take more advantage of the available space

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-07-10 13:48:09 +01:00
Danilo Del Busso
54c34b90b9
CA-374325: Add shortcut checkbox to custom setup dialog
Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-21 15:20:25 +01:00
Danilo Del Busso
f01c48c8ba
Remove unused patch of WIXUI_EXITDIALOGOPTIONALTEXT
The text shown is the `Text` property of the `OptionalCheckBox` control

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-21 15:20:24 +01:00
Danilo Del Busso
15fcc02124
CA-376480: Prevent two instances from starting after running installer
When an instance of XenCenter is already running, the installer shows the `MsiRMFilesInUse` fragment. Pressing OK within that fragment with the `WixUIRMOption` property set to `UseRM` means that the `RMShutdownAndRestart` event kicks in at the end of the installation.

This happens at the same time as the existing "Launch XenCenter" event (if the matching checkbox is checked), causing in the executable being started twice at about the same time. My guess is that the pipe system is not initialised at that point, and that's how we get two applications.

To avoid this, this commit adds a new custom property: `XS_WixUIRMPressedOk`. This is set to `1` when the user clicks OK on the `WixUIRMOption`. It allows us to know whether or not that dialog was shown at all, as checking `WixUIRMOption` is not possible (it's already set to `UseRM` by default). By checking the value of this property we prevent the "Launch XenCenter" option to be shown if `MsiRMFilesInUse` was shown to the user (and they clicked OK). This applies both in case of a repair and an upgrade from a previous version.

Signed-off-by: Danilo Del Busso <danilo.delbusso@cloud.com>
2023-04-21 11:44:42 +01:00
Konstantina Chremmou
d7b519a53c Updated copyright notice on files.
Signed-off-by: Konstantina Chremmou <Konstantina.Chremmou@cloud.com>
2023-01-30 16:24:16 +00:00
Danilo Del Busso
e4deda22b3
CP-39818: Show auto-launch option when repairing/changing the installation
New logic only hides the option when uninstalling the app

Signed-off-by: Danilo Del Busso <Danilo.Del.Busso@citrix.com>
2022-06-09 15:56:28 +01:00
Konstantina Chremmou
164e2c5963 CA-334125: Restructured the feature selection tree. Localised some strings. UI tweaks.
- Changed warning and info icon to match XenCenter's.
- Corrected label margins.
- Made list controls flat.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2020-02-07 11:04:30 +00:00
Konstantina Chremmou
40fc989720 Moved scratch and output folders into the repo root.
Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2020-01-10 12:00:50 +00:00
Konstantina Chremmou
ec298938c3 CP-32561: Upgraded WiX Toolset to 3.11.2. Also:
- Changed the verbosity of some commands.
- Do not compile the splash screen twice.
- Do not brand obsolete folder XenServer.
- Moved the WiX source patch to a more relevant folder.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2020-01-10 12:00:50 +00:00