File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 241241 {
242242 "Name" = "8:Microsoft Visual Studio"
243243 "ProductName" = "8:NCX-Core"
244- "ProductCode" = "8:{3E50B922-71D7-4E23-B63A-D98717AF41A0 }"
245- "PackageCode" = "8:{FE2839D4-06AD-4AE1-AF97-1FB4F1F7EDD2 }"
244+ "ProductCode" = "8:{4D75A679-9807-457D-8FEE-CD06EBBA24ED }"
245+ "PackageCode" = "8:{8DCC4B7C-D6D7-4551-B67F-2F20169E987B }"
246246 "UpgradeCode" = "8:{BCE275FE-8549-4BC2-A0ED-1C1B447D64EC}"
247247 "AspNetVersion" = "8:2.0.50727.0"
248248 "RestartWWWService" = "11:FALSE"
249249 "RemovePreviousVersions" = "11:TRUE"
250250 "DetectNewerInstalledVersion" = "11:TRUE"
251251 "InstallAllUsers" = "11:FALSE"
252- "ProductVersion" = "8:2.9.0 "
252+ "ProductVersion" = "8:2.9.1 "
253253 "Manufacturer" = "8:NCX"
254254 "ARPHELPTELEPHONE" = "8:"
255255 "ARPHELPLINK" = "8:"
824824 {
825825 "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_B818BE398EDD43208C365D3587DBA364"
826826 {
827- "SourcePath" = "8:..\\NCX-Installer\\obj\\x64\\Debug \\netcoreapp3.1\\NCX-Core.exe"
827+ "SourcePath" = "8:..\\NCX-Installer\\obj\\x64\\Release \\netcoreapp3.1\\NCX-Core.exe"
828828 "TargetName" = "8:"
829829 "Tag" = "8:"
830830 "Folder" = "8:_EDD77D79A8FB49A597997A7318E62B0C"
852852 }
853853 "{5259A561-127C-4D43-A0A1-72F10C7B3BF8}:_DE932C85E39D4015B3144618273DC42A"
854854 {
855- "SourcePath" = "8:..\\NCX-Installer\\obj\\x64\\Debug \\netcoreapp3.1\\NCX-Core.dll"
855+ "SourcePath" = "8:..\\NCX-Installer\\obj\\x64\\Release \\netcoreapp3.1\\NCX-Core.dll"
856856 "TargetName" = "8:"
857857 "Tag" = "8:"
858858 "Folder" = "8:_EDD77D79A8FB49A597997A7318E62B0C"
Original file line number Diff line number Diff line change @@ -72,7 +72,8 @@ private void btn7_Click(object sender, RoutedEventArgs e)
7272 {
7373 if ( File . Exists ( System . IO . Path . Combine ( SavePath , "NCX-Core/NCXCoreUpdater/NCX-Core Updater.exe" ) ) )
7474 {
75- Process . Start ( System . IO . Path . Combine ( SavePath , "NCX-Core/NCXCoreUpdater/NCX-Core Updater.exe" ) ) ;
75+ ExecuteAsAdmin ( System . IO . Path . Combine ( SavePath , "NCX-Core/NCXCoreUpdater/NCX-Core Updater.exe" ) ) ;
76+ // Process.Start(System.IO.Path.Combine(SavePath, "NCX-Core/NCXCoreUpdater/NCX-Core Updater.exe"));
7677 }
7778 }
7879
@@ -95,5 +96,14 @@ private void btn10_Click(object sender, RoutedEventArgs e)
9596 XWareNews page = new XWareNews ( ) ;
9697 NavigationService . Navigate ( page ) ;
9798 }
99+
100+ public void ExecuteAsAdmin ( string fileName )
101+ {
102+ Process proc = new Process ( ) ;
103+ proc . StartInfo . FileName = fileName ;
104+ proc . StartInfo . UseShellExecute = true ;
105+ proc . StartInfo . Verb = "runas" ;
106+ proc . Start ( ) ;
107+ }
98108 }
99109}
You can’t perform that action at this time.
0 commit comments