Skip to content
This repository was archived by the owner on Apr 15, 2022. It is now read-only.

Commit

Permalink
Refine install instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
xupefei committed Aug 16, 2019
1 parent 0af74eb commit b41e52a
Show file tree
Hide file tree
Showing 3 changed files with 66 additions and 35 deletions.
75 changes: 49 additions & 26 deletions LEInstaller/Form1.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 11 additions & 2 deletions LEInstaller/Form1.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,9 @@ private void buttonUninstall_Click(object sender, EventArgs e)

NotifyShell();

MessageBox.Show(this, "Uninstall finished. Thanks for using Locale Emulator :)",
MessageBox.Show(this, "Uninstall finished. Thanks for using Locale Emulator :)\r\n" +
"\r\n" +
"PS: A reboot is required to unlock some components.",
"LE Context Menu Installer",
MessageBoxButtons.OK,
MessageBoxIcon.Information);
Expand All @@ -203,7 +205,9 @@ private void buttonUninstallAllUsers_Click(object sender, EventArgs e)

NotifyShell();

MessageBox.Show(this, "Uninstall finished. Thanks for using Locale Emulator :)",
MessageBox.Show(this, "Uninstall finished. Thanks for using Locale Emulator :)\r\n" +
"\r\n" +
"PS: A reboot is required to unlock some components.",
"LE Context Menu Installer",
MessageBoxButtons.OK,
MessageBoxIcon.Information);
Expand Down Expand Up @@ -437,5 +441,10 @@ private static extern int RegOpenKeyEx(UIntPtr hKey, string subKey, int ulOption

[DllImport("user32.dll")]
private static extern bool SetProcessDPIAware();

private void ButtonExtract_Click(object sender, EventArgs e)
{

}
}
}
13 changes: 6 additions & 7 deletions LEInstaller/Form1.resx
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,11 @@
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="label1.Text" xml:space="preserve">
<value>Welcome to Locale Emulator.

Begin by selecting either installation mode below.
* For current user: Register context menu for current user only.
* For all users: Register context menu for all users on this PC. This installation requires administrator privilege.

Afterwards, edit the languages and timezones available and advanced settings by using the global profile list.</value>
<value>Welcome to Locale Emulator!
If you want to use LE without installation (i.e., portable application), you can close the window now.
Otherwise, please follow the steps below to install LE:
1. Install Locale Emulator (1.1) for yourself or (1.2) for all users on this PC (requires admin rights).
2. Run LEGUI.exe to customise the profile list;
3. Right-click on any application and you will see the Locale Emulator items. Enjoy!</value>
</data>
</root>

0 comments on commit b41e52a

Please sign in to comment.