mirror of
https://github.com/modernw/App-Installer-For-Windows-8.x-Reset.git
synced 2026-04-23 19:40:23 +10:00
Update setup build file.
This commit is contained in:
Binary file not shown.
@@ -5335,15 +5335,19 @@ end
|
|||||||
startitemfolder = SessionVar.Expand ("%StartProgramsFolderCommon%\\%AppShortcutFolderName%");
|
startitemfolder = SessionVar.Expand ("%StartProgramsFolderCommon%\\%AppShortcutFolderName%");
|
||||||
applnkpath = startitemfolder .. "\\App Installer.lnk";
|
applnkpath = startitemfolder .. "\\App Installer.lnk";
|
||||||
setlnkpath = startitemfolder .. "\\Settings.lnk";
|
setlnkpath = startitemfolder .. "\\Settings.lnk";
|
||||||
|
mgrlnkpath = startitemfolder .. "\\Package Manager.lnk";
|
||||||
desktopini = startitemfolder .. "";
|
desktopini = startitemfolder .. "";
|
||||||
CreateShortcut (applnkpath, SessionVar.Expand("%AppFolder%\\appinstaller.exe"), "Microsoft.DesktopAppInstaller!App");
|
CreateShortcut (applnkpath, SessionVar.Expand("%AppFolder%\\appinstaller.exe"), "Microsoft.DesktopAppInstaller!App");
|
||||||
Registry.SetValue(HKEY_CURRENT_USER, "SOFTWARE\\Windows Modern\\App Installer", "AppInstallerLnk", applnkpath, REG_SZ);
|
Registry.SetValue(HKEY_CURRENT_USER, "SOFTWARE\\Windows Modern\\App Installer", "AppInstallerLnk", applnkpath, REG_SZ);
|
||||||
CreateShortcut (setlnkpath, SessionVar.Expand("%AppFolder%\\settings.exe"), "WindowsModern.PracticalToolsProject!Settings");
|
CreateShortcut (setlnkpath, SessionVar.Expand("%AppFolder%\\settings.exe"), "WindowsModern.PracticalToolsProject!Settings");
|
||||||
Registry.SetValue(HKEY_CURRENT_USER, "SOFTWARE\\Windows Modern\\App Installer", "SettingsLnk", setlnkpath, REG_SZ);
|
Registry.SetValue(HKEY_CURRENT_USER, "SOFTWARE\\Windows Modern\\App Installer", "SettingsLnk", setlnkpath, REG_SZ);
|
||||||
|
CreateShortcut (setlnkpath, SessionVar.Expand("%AppFolder%\\Manager.exe"), "WindowsModern.PracticalToolsProject!Manager");
|
||||||
|
Registry.SetValue(HKEY_CURRENT_USER, "SOFTWARE\\Windows Modern\\App Installer", "ManagerLnk", setlnkpath, REG_SZ);
|
||||||
SetDesktopInit (desktopini, ".ShellClassInfo", "ConfirmFileOp", 0);
|
SetDesktopInit (desktopini, ".ShellClassInfo", "ConfirmFileOp", 0);
|
||||||
SetDesktopInit (desktopini, "LocalizedFileNames", "App Installer.lnk", SessionVar.Expand("@%AppFolder%\\appinstaller.exe,-300"));
|
SetDesktopInit (desktopini, "LocalizedFileNames", "App Installer.lnk", SessionVar.Expand("@%AppFolder%\\appinstaller.exe,-300"));
|
||||||
SetDesktopInit (desktopini, "LocalizedFileNames", "Settings.lnk", SessionVar.Expand("@%AppFolder%\\settings.exe,-200"));
|
SetDesktopInit (desktopini, "LocalizedFileNames", "Settings.lnk", SessionVar.Expand("@%AppFolder%\\settings.exe,-200"));
|
||||||
SetDesktopInit (desktopini, "LocalizedFileNames", "Update.lnk", SessionVar.Expand("@%AppFolder%\\reslib.dll,-103"));
|
SetDesktopInit (desktopini, "LocalizedFileNames", "Update.lnk", SessionVar.Expand("@%AppFolder%\\reslib.dll,-103"));
|
||||||
|
SetDesktopInit (desktopini, "LocalizedFileNames", "Package Manager.lnk", SessionVar.Expand("@%AppFolder%\\reslib.dll,-228"));
|
||||||
SetDesktopInit (desktopini, "LocalizedFileNames", "Uninstall.lnk", SessionVar.Expand("@%AppFolder%\\reslib.dll,-131"));
|
SetDesktopInit (desktopini, "LocalizedFileNames", "Uninstall.lnk", SessionVar.Expand("@%AppFolder%\\reslib.dll,-131"));
|
||||||
SetDesktopInit (desktopini, ".ShellClassInfo", "LocalizedResourceName", SessionVar.Expand("@%AppFolder%\\appinstaller.exe,-300"));
|
SetDesktopInit (desktopini, ".ShellClassInfo", "LocalizedResourceName", SessionVar.Expand("@%AppFolder%\\appinstaller.exe,-300"));
|
||||||
|
|
||||||
@@ -6829,8 +6833,10 @@ key = "Software\\Windows Modern";
|
|||||||
keynext = "App Installer";
|
keynext = "App Installer";
|
||||||
appinstallerlnkpath = Registry.GetValue(HKEY_CURRENT_USER, "SOFTWARE\\Windows Modern\\App Installer", "AppInstallerLnk", false);
|
appinstallerlnkpath = Registry.GetValue(HKEY_CURRENT_USER, "SOFTWARE\\Windows Modern\\App Installer", "AppInstallerLnk", false);
|
||||||
settingslnkpath = Registry.GetValue(HKEY_CURRENT_USER, "SOFTWARE\\Windows Modern\\App Installer", "SettingsLnk", false);
|
settingslnkpath = Registry.GetValue(HKEY_CURRENT_USER, "SOFTWARE\\Windows Modern\\App Installer", "SettingsLnk", false);
|
||||||
|
managerlnkpath = Registry.GetValue(HKEY_CURRENT_USER, "SOFTWARE\\Windows Modern\\App Installer", "ManagerLnk", false);
|
||||||
File.Delete(appinstallerlnkpath, true, false, false);
|
File.Delete(appinstallerlnkpath, true, false, false);
|
||||||
File.Delete(settingslnkpath, true, false, false);
|
File.Delete(settingslnkpath, true, false, false);
|
||||||
|
File.Delete(managerlnkpath, true, false, false);
|
||||||
Registry.DeleteKey(HKEY_CLASSES_ROOT, ".appx");
|
Registry.DeleteKey(HKEY_CLASSES_ROOT, ".appx");
|
||||||
Registry.DeleteKey(HKEY_CLASSES_ROOT, ".appxbundle");
|
Registry.DeleteKey(HKEY_CLASSES_ROOT, ".appxbundle");
|
||||||
Registry.DeleteKey(HKEY_CLASSES_ROOT, ".msix");
|
Registry.DeleteKey(HKEY_CLASSES_ROOT, ".msix");
|
||||||
|
|||||||
Reference in New Issue
Block a user