Skip to content

Commit a384f55

Browse files
committed
our own nsi script, make it run as admin, fix dx dll missing
1 parent 140760d commit a384f55

File tree

3 files changed

+794
-1
lines changed

3 files changed

+794
-1
lines changed

src-tauri/nsis/English.nsh

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
LangString addOrReinstall ${LANG_ENGLISH} "Add/Reinstall components"
2+
LangString alreadyInstalled ${LANG_ENGLISH} "Already Installed"
3+
LangString alreadyInstalledLong ${LANG_ENGLISH} "${PRODUCTNAME} ${VERSION} is already installed. Select the operation you want to perform and click Next to continue."
4+
LangString appRunning ${LANG_ENGLISH} "${PRODUCTNAME} is running! Please close it first then try again."
5+
LangString appRunningOkKill ${LANG_ENGLISH} "${PRODUCTNAME} is running!$\nClick OK to kill it"
6+
LangString chooseMaintenanceOption ${LANG_ENGLISH} "Choose the maintenance option to perform."
7+
LangString choowHowToInstall ${LANG_ENGLISH} "Choose how you want to install ${PRODUCTNAME}."
8+
LangString createDesktop ${LANG_ENGLISH} "Create desktop shortcut"
9+
LangString dontUninstall ${LANG_ENGLISH} "Do not uninstall"
10+
LangString dontUninstallDowngrade ${LANG_ENGLISH} "Do not uninstall (Downgrading without uninstall is disabled for this installer)"
11+
LangString failedToKillApp ${LANG_ENGLISH} "Failed to kill ${PRODUCTNAME}. Please close it first then try again"
12+
LangString installingWebview2 ${LANG_ENGLISH} "Installing WebView2..."
13+
LangString newerVersionInstalled ${LANG_ENGLISH} "A newer version of ${PRODUCTNAME} is already installed! It is not recommended that you install an older version. If you really want to install this older version, it's better to uninstall the current version first. Select the operation you want to perform and click Next to continue."
14+
LangString older ${LANG_ENGLISH} "older"
15+
LangString olderOrUnknownVersionInstalled ${LANG_ENGLISH} "An $R4 version of ${PRODUCTNAME} is installed on your system. It's recommended that you uninstall the current version before installing. Select the operation you want to perform and click Next to continue."
16+
LangString silentDowngrades ${LANG_ENGLISH} "Downgrades are disabled for this installer, can't proceed with the silent installer, please use the graphical interface installer instead.$\n"
17+
LangString unableToUninstall ${LANG_ENGLISH} "Unable to uninstall!"
18+
LangString uninstallApp ${LANG_ENGLISH} "Uninstall ${PRODUCTNAME}"
19+
LangString uninstallBeforeInstalling ${LANG_ENGLISH} "Uninstall before installing"
20+
LangString unknown ${LANG_ENGLISH} "unknown"
21+
LangString webview2AbortError ${LANG_ENGLISH} "Failed to install WebView2! The app can't run without it. Try restarting the installer."
22+
LangString webview2DownloadError ${LANG_ENGLISH} "Error: Downloading WebView2 Failed - $0"
23+
LangString webview2DownloadSuccess ${LANG_ENGLISH} "WebView2 bootstrapper downloaded successfully"
24+
LangString webview2Downloading ${LANG_ENGLISH} "Downloading WebView2 bootstrapper..."
25+
LangString webview2InstallError ${LANG_ENGLISH} "Error: Installing WebView2 failed with exit code $1"
26+
LangString webview2InstallSuccess ${LANG_ENGLISH} "WebView2 installed successfully"
27+
LangString deleteAppData ${LANG_ENGLISH} "Delete the application data"

0 commit comments

Comments
 (0)