I just wanted to try the sample in the readme from the command line on Win7x64 and got an error. Code: C:\>X:\SwApps\Tools4Maint\CmdElevation\NSudo6\x64\nsudo.exe -U:T cmd /c "dir "C: \Program Files" & pause" Error: Failed to create a process. I tried this with nsudoC.exe and got the same error. What did I do wrong (v6.0.1804.5)? TrustedInstaller service is set to manual. I started it but that did not help. Run as System also not working. Works fine on Win8.1 and Win10 LTSB Edit: Rebooted and it seems to be okay now.
6.1.1811.7b CI Build 162 is the WORST build of NSudo ever released. I keep getting errors all the time and it is not even possible to launch NSudo from some directories... Is there a STABLE release that works?
CI Builds in NSudo is similar to the nightly builds in some open source projects. It is not stable, even for the standard of preview builds. All preview and stable builds are compiled by myself on my laptop or my desktop if I think it is suitable. I said "To be continued..." in #303. So you need to wait for the preview build. (NSudo 6.1 has several preview builds.) I also hope you can give me more information of the bug. I am really sorry to hear that. Mouri
+1, complain on a build grabbed through appveyor... @Mouri_Naruto 'Hosts' does not work on that last build: file not found ps: %windir% replaced by C:\\Windows work
That's it! none of the variables I use in Nsudo are working: hosts, taskschd, comexp... can't wait for next release!
How about moving the context menu installer and uninstaller into a batch script? It can streamline the NSudo's implementation and give you an official sample that how to customize the NSudo's context menu items. Or into NSudo Configuration Editor? Mouri
Agree totally, for size and also because I install Nsudo in custom directory and run .reg for that, so I could edit the batch instead. Context menu is easy to customize. @Mouri_Naruto in latest GUI artifacts from apveyor (167 and 168) json file does not work at all
Today, I am proud to announce the NSudo 6.1. Code: **NSudo 6.1.1811.18** - Merge NSudoC and NSudoG projects to NSudo project. - Add VC-LTL 4.0 or later support for NSudo release configuration for ARM and ARM64 and drop the earlier version of VC-LTL support. (Huge thanks to mingkuang.) - Add the following options in the command line usage. - CurrentDirectory (Suggested by testtest322.) - Help - H - Priority (Suggested by testtest322.) - ShowWindowMode (Suggested by testtest322.) - UseCurrentConsole - Version - Wait (Suggested by testtest322, wzzw and Domagoj Smolčić) - Remove some undocumented command line usage. - Improve several implementations. - Refactoring the command line parser. - Introduce the new frontend of process creation. - Using ATL to implement the main window. - Fix the context menu bug. (Thanks to Thomas Dubreuil.) - Update copyright of license. - Remove donation link in the documents. Mouri_Naruto
Just now realized I can finally use space in paths inside Nsudo.json...Great!! DOS names with ~1 was a pain ! However I think you didn't expand well all environment variables? for example comexp (component services), taskschd not working...it was used to work Here is my json example Code: { "ShortCutList_V2": { "Xyplorer": "C:\\PROGRA~1\\SYSTEM~1\\SYSTEM~1\\Xyplorer\\XYplorer.exe", "Task Scheduler": "taskschd", "Registry Workshop": "C:\\PROGRA~1\\REGIST~1\\RegWorkshopX64.exe", "PowerShell": "powershell", "Hosts": "notepad C:\\Windows\\System32\\Drivers\\etc\\hosts", "Component Services": "comexp", "CMD": "cmd" } }
You should probably publish it on the GitHub page as well. It still says the latest version is 6.0 R3.