mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
Merge pull request #1068 from mattias-symphony/SDA-2394
feat: SDA-2394 Commandline installation properties
This commit is contained in:
commit
1746826c22
@ -123,25 +123,23 @@ class Script
|
||||
// these when running the installer, but if not specified, the defaults will be used.
|
||||
project.Properties = new[]
|
||||
{
|
||||
new PublicProperty("ALLUSERS", "true"),
|
||||
new PublicProperty("ALWAYS_ON_TOP", "DISABLED" ),
|
||||
new PublicProperty("AUTO_LAUNCH_PATH", "[|]"),
|
||||
new PublicProperty("AUTO_LAUNCH_PATH", ""),
|
||||
new PublicProperty("AUTO_START", "ENABLED"),
|
||||
new PublicProperty("BRING_TO_FRONT", "DISABLED"),
|
||||
new PublicProperty("CUSTOM_TITLE_BAR", "ENABLED"),
|
||||
new PublicProperty("DEV_TOOLS_ENABLED", "true"),
|
||||
new PublicProperty("FULL_SCREEN", "true"),
|
||||
new PublicProperty("FULL_SCREEN_CB", "true"),
|
||||
new PublicProperty("LOCATION", "true"),
|
||||
new PublicProperty("MEDIA", "true"),
|
||||
new PublicProperty("MIDI_SYSEX", "true"),
|
||||
new PublicProperty("MIDI_SYSEX_CB", "true"),
|
||||
new PublicProperty("MINIMIZE_ON_CLOSE", "ENABLED"),
|
||||
new PublicProperty("NOTIFICATIONS", "true"),
|
||||
new PublicProperty("OPEN_EXTERNAL", "true"),
|
||||
new PublicProperty("OPEN_EXTERNAL_CB", "true"),
|
||||
new PublicProperty("POD_URL", "https://my.symphony.com"),
|
||||
new PublicProperty("POINTER_LOCK", "true"),
|
||||
new PublicProperty("POINTER_LOCK_CB", "true")
|
||||
new Property("MSIINSTALLPERUSER", "1")
|
||||
};
|
||||
|
||||
// Define the custom actions we want to run, and at what point of the installation we want to execute them.
|
||||
|
@ -26,6 +26,14 @@ namespace Symphony
|
||||
// the label containing user name)
|
||||
this.backgroundPanel.BackgroundImage = Runtime.Session.GetResourceBitmap("WixUI_Bmp_Dialog");
|
||||
this.radioButtonCurrentUser.Text = "Only for me (" + getUserName() + ")";
|
||||
if( Runtime.Session["ALLUSERS"] != "" )
|
||||
{
|
||||
this.radioButtonAllUsers.Checked = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
this.radioButtonCurrentUser.Checked = true;
|
||||
}
|
||||
}
|
||||
|
||||
void next_Click(object sender, System.EventArgs e)
|
||||
|
Loading…
Reference in New Issue
Block a user