Jump to content

Run with admin rights during unattended silent installer


yogurt

Recommended Posts

Scenario,

I would like to integrate and install McRip System Files using the AiO integrator. However the installer requires admin rights for a successful install.

So i'm wondering if the 7z SFX module can help me in getting the job done. or perhaps simply turning off UAC in via answer file. Like so...

<settings pass="offlineServicing">
<component name="Microsoft-Windows-LUA-Settings" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="[url="http://schemas.microsoft.com/WMIConfig/2002/State"]http://schemas.micro...fig/2002/State"[/url] xmlns:xsi="[url="http://www.w3.org/2001/XMLSchema-instance%22>"]http://www.w3.org/20...hema-instance">[/url]
<EnableLUA>false</EnableLUA></component></settings>

I'm wondering if something like, adding xml to the manifest of the SFX module using reshack might help, but I'm note sure If it's safe, or even how to code it so it works with the installer.

This is an example snip of the manifest found in rvkroots.exe

<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0">
<requestedExecutionLevel level="requireAdministrator" uiAccess="false"></requestedExecutionLevel>
</requestedPrivileges>
</security>
</trustInfo>

The installer supports the switches /VERYSILENT /NORESTART, I've taken a look at this post which provides some insight, but I would prefer to either use the Answer File method or 7z Modified Module as oppose to using WinRAR SFX as suggested in to mentioned post.

Any insight would be much appreciated. Best Regards.

Edited by dotfusion
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...