<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: arial,helvetica,sans-serif; font-size: 10pt; color: #000000'>Hi Paul,<br><br>In the past I've used runaspc (http://www.robotronic.de/runasspcEn.html) to embed admin credentials for running a specific file - might work for you.<br><br>Cheers Jon<br><br><hr id="zwchr"><div style="color: rgb(0, 0, 0); font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Paul McGrath" <J.P.McGrath@leeds.ac.uk><br><b>To: </b>wpkg-users@lists.wpkg.org<br><b>Sent: </b>Tuesday, 26 November, 2013 6:47:23 AM<br><b>Subject: </b>[wpkg-users] Command line how to set a program to always run as admin ?<br><br><style><!--
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><div class="WordSection1"><p class="MsoNormal">Hi,</p><p class="MsoNormal"> Does anyone know a way to set a program to be able to always runs as administrator as an ‘install’ command in WPKG.</p><p class="MsoNormal">I’ve got a program that happily installs by WPKG but it has to be registered by the user post install and although I’ve set modify permission to the program folder it says the software has failed to register and asks to be run as administrator.</p><p class="MsoNormal">Thanks in advance</p><p class="MsoNormal">Paul</p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;"> </span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">------------------------------</span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">Paul McGrath,</span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">IT Manager for St James's Campus Infrastructure and Facilities (SCIF)</span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">Including Leeds Institute of Biomedical and Clinical Sciences (LIBACS),Leeds Institute of Cancer and Pathology (LICAP),Leeds Institute of Rheumatological and Musculoskeletal Medicine (LIRMM) and St James's Biomedical Services (SBS)</span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">Brenner Building,</span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">School of Medicine,</span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">University of Leeds,</span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">St James's University Hospital,</span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">Beckett Street, Leeds, LS9 7TF, UK</span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">Ext.....: Uni - 38630, NHS - (89)38630</span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">Tel.....: +44 113 34 38630</span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">Email...: <a href="mailto:j.p.mcgrath@leeds.ac.uk" target="_blank">j.p.mcgrath@leeds.ac.uk</a></span></p><p class="MsoNormal"><span style="font-size: 10.5pt; font-family: Consolas;">Homepage: <a href="http://www.limm.leeds.ac.uk/" target="_blank">http://www.limm.leeds.ac.uk</a></span></p><p class="MsoNormal"> </p></div><br>-------------------------------------------------------------------------<br>Hotel discounts, best prices: http://www.booking.com/index.html?aid=366545<br>-------------------------------------------------------------------------<br>wpkg-users mailing list archives >> http://lists.wpkg.org/pipermail/wpkg-users/<br>_______________________________________________<br>wpkg-users mailing list<br>wpkg-users@lists.wpkg.org<br>http://lists.wpkg.org/mailman/listinfo/wpkg-users<br></div><br></div></body></html>