A No-run Installer

Discussion in 'Software' started by KurtDB, Dec 13, 2020.

  1. KurtDB

    KurtDB Private E-2

    Configuration
    Dell Inspiron 3252
    Windows 10

    Recently I had a mystifying experience with two installer files I tried to run.

    Both of them were .NET Framework installer files (v2 and v3.5) . Both gave the usual "Do you want this program to make changes...". When I clicked on "yes", nothing happened. I waited several minutes, but nothing ever happened.

    What causes this behavior?

    Where can I find the ".NET Framework configuration tool"?

    Kurt
     
  2. Earthling

    Earthling Interplanetary Geek

    They may be already installed. 3.5 includes v2. Check in Turn Windows Features On or Off.
     
  3. plodr

    plodr MajorGeek Super Extraordinaire Moderator Staff Member

  4. KurtDB

    KurtDB Private E-2

    Earthling
    Very good. I checked as you said and two of them were present. They are:
    .NET Framework 3.5 (includes .NET 2.0 and 3.0)
    Not checked: Windows Communication Foundation HTTP Activation
    Not checked: Windows Communication Foundation Non-HTTP Activation
    .NET Framework 4.8 Advanced Services
    Not checked: ASP .NET 4.8
    WCF Services
    Not checked: HTTP Activation
    Not checked: Message Queuing (MSMQ) Activation
    Not checked: Named Pipe Activation
    Not checked: TCP Activation
    Checked: TCP Port Sharing



    One particular application (DoItAgain) gives an error message when run.

    Message box:

    "Application attempted to perform an operation not allowed by the security policy. To grant this application the required permission, contact the System Administrator, or use the Microsoft .NET Framework Configuration Tool.

    (a few lines of "If you click..")

    Requested registry access is not allowed."


    Clicking the "Details" box yields the following:

    "See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.

    ************** Exception Text **************
    System.Security.SecurityException: Requested registry access is not allowed.
    at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable)
    at Do_It_Again.frmDoItAgain.CheckFileAssociation()
    at Do_It_Again.frmDoItAgain.frmDoItAgain_Load(Object sender, EventArgs e)
    at System.Windows.Forms.Form.OnLoad(EventArgs e)
    at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
    at System.Windows.Forms.Control.CreateControl()
    at System.Windows.Forms.Control.WmShowWindow(Message& m)
    at System.Windows.Forms.Control.WndProc(Message& m)
    at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
    at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    The Zone of the assembly that failed was:
    MyComputer


    ************** Loaded Assemblies **************
    mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.9151 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v2.0.50727/mscorlib.dll
    ----------------------------------------
    DoItAgain
    Assembly Version: 1.5.0.0
    Win32 Version: 1.5.0.0
    CodeBase: file:///C:/_MAIL/DoItAgain.exe
    ----------------------------------------
    System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    ----------------------------------------
    System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.9147 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
    ----------------------------------------
    System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.9136 (WinRelRS6.050727-9100)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    ----------------------------------------

    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.

    For example:

    <configuration>
    <system.windows.forms jitDebugging="true" />
    </configuration>

    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box."


    The website from which this was downloaded has not(so far) answered my emails (which is why I am asking here).

    Kurt


    plodr
    I thank you.
     
  5. Earthling

    Earthling Interplanetary Geek

    Haven't used and wouldn't use DoItAgain so can't help.
     
  6. _nullptr

    _nullptr Major Geeky Geek Geek

    For the fun of it I tested DoItAgain in my 20H2 x64 VM. You just need to install (under .NET Framework 3.5) the Windows Communication Foundation HTTP Activation option.
    Unfortunately DoItAgain will still hiccup at launch and throw an error dialog that you need to click on 'Continue'. It seems to work OK after that. :eek:
     
  7. _nullptr

    _nullptr Major Geeky Geek Geek

    I just realized that the error at start up (ref previous post) is due to running with limited privileges. The solution is to run as administrator.
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds