NSudo | A Powerful System Administration Tool

Discussion in 'MDL Projects and Applications' started by Mouri_Naruto, Feb 6, 2015.

?

These things you maybe see in the future version of NSudo. What do you think about?

Poll closed Nov 11, 2018.
  1. Publish to Chocolatey? (Suggested by wwtex.)

    8 vote(s)
    66.7%
  2. Publish to scoop? (Suggested by wwtex.)

    1 vote(s)
    8.3%
  3. Publish to Windows Store? (Desktop Bridge.)

    3 vote(s)
    25.0%
  4. Add NSudo Configuration Editor?

    9 vote(s)
    75.0%
  5. Using Qt to implement the UI? (It may increase the binary size of NSudo.)

    3 vote(s)
    25.0%
  6. Compile NSudo with CMake?

    3 vote(s)
    25.0%
Multiple votes are allowed.
  1. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,408
    240
    60
    So... can you link me to the latest version for sure, then? Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. pf100

    pf100 MDL Expert

    Oct 22, 2010
    1,275
    1,841
    60
  3. testtest322

    testtest322 MDL Senior Member

    Nov 20, 2016
    407
    73
    10
    This is so excellent for AutoIt/AHK compiled exe scripts :)))
    For deployment automation.
     
  4. adric

    adric MDL Addicted

    Jul 30, 2009
    554
    181
    30
    #306 adric, Nov 7, 2018
    Last edited: Nov 7, 2018
    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. :confused:
     
  5. MonarchX

    MonarchX MDL Expert

    May 5, 2007
    1,408
    240
    60
    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?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Mouri_Naruto

    Mouri_Naruto MDL Senior Member

    Jul 10, 2014
    252
    861
    10
    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
     
  7. PointZero

    PointZero MDL Member

    Oct 5, 2011
    1,158
    3,194
    60
    I wish this site had a dislike/thumbs down feature for posts. Your post is rude and unhelpful.
     
  8. Thomas Dubreuil

    Thomas Dubreuil MDL Member

    Aug 29, 2017
    148
    232
    10
    #310 Thomas Dubreuil, Nov 8, 2018
    Last edited: Nov 8, 2018
    +1, complain on a build grabbed through appveyor...
    @Mouri_Naruto 'Hosts' does not work on that last build: file not found
    test.JPG

    ps: %windir% replaced by C:\\Windows work
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Mouri_Naruto

    Mouri_Naruto MDL Senior Member

    Jul 10, 2014
    252
    861
    10
    I see. I need to expand environment varible before calling CreateProcessAsUser().
     
  10. Thomas Dubreuil

    Thomas Dubreuil MDL Member

    Aug 29, 2017
    148
    232
    10
    That's it! none of the variables I use in Nsudo are working: hosts, taskschd, comexp...
    can't wait for next release!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Mouri_Naruto

    Mouri_Naruto MDL Senior Member

    Jul 10, 2014
    252
    861
    10
    #313 Mouri_Naruto, Nov 12, 2018
    Last edited: Nov 12, 2018
    (OP)
    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
     
  12. abbodi1406

    abbodi1406 MDL KB0000001

    Feb 19, 2011
    8,512
    29,657
    270
    If it will reduce the binaries size, then yes it's better :biggrin:
     
  13. Thomas Dubreuil

    Thomas Dubreuil MDL Member

    Aug 29, 2017
    148
    232
    10
    #315 Thomas Dubreuil, Nov 13, 2018
    Last edited: Nov 15, 2018
    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 o_O
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. Mouri_Naruto

    Mouri_Naruto MDL Senior Member

    Jul 10, 2014
    252
    861
    10
    #317 Mouri_Naruto, Nov 17, 2018
    Last edited: Nov 19, 2018
    (OP)
    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
     

    Attached Files:

  15. Tiger-1

    Tiger-1 MDL Guru

    Oct 18, 2014
    4,169
    4,725
    150
    yep bro, thanks for your hard work again :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Mouri_Naruto

    Mouri_Naruto MDL Senior Member

    Jul 10, 2014
    252
    861
    10
    #1 of this post has been updated.