Merge pull request #1068 from mattias-symphony/SDA-2394

feat: SDA-2394 Commandline installation properties
This commit is contained in:
mattias-symphony 2020-09-10 10:59:18 +02:00 committed by GitHub
commit 1746826c22
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 12 deletions

View File

@ -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.

View File

@ -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)