[wpkg-users] Windows 7 Install

heiko.helmle at horiba.com heiko.helmle at horiba.com
Wed Dec 22 08:10:45 CET 2010


Hello Jeff,

I found out that a few versions of the WPKG.MSI are buggy. The problem is 
that they don't request elevated mode, then try to write to privileged 
space and fail. On most systems, writing to %programfiles% even works but 
they fail when wpkginst.exe is started as part of the installation process 
-> wpkginst.exe definitely needs elevated privilege.

You can work around this bug by starting msiexec.exe already elevated 
(like running it from an elevated shell). If you're doing it remotely, 
you'll need to use the "Administrator" account (because it's always 
elevated) or tune your local security settings to add your "installation" 
account to always run elevated.

Best Regards
        Heiko



From:
Jeff_Applegate at fws.gov
To:
Natxo Asenjo <natxo.asenjo at gmail.com>
Cc:
wpkg-users at lists.wpkg.org
Date:
21.12.2010 16:40
Subject:
Re: [wpkg-users] Windows 7 Install



I am getting the error when I am attempting to install the wpkg-client 
software.  I am using the 64bit installer to attempt to install the 
software.  When I right click the file there is no option to run as 
administrator.  My assumption is that the option isn't there due to having 
administrative privileges.  When I attempt to install the software I am 
not getting the log file in %windir%\temp\wpkg-%computername%.log.  My 
best guess on this is that the software is erroring out before it starts 
writing to the temp directory.  I have attempted to adjust the properties 
on the Temp directory to no avail. 

Jeff Applegate
ASRC Management Services
Contracted To:
USFWS
Fort Collins Science Center
2150 Centre Ave., Bldg C
Fort Collins, CO 80526
Phone: 970-226-9178
Fax: 970-226-9230
Email: jeff_applegate at fws.gov 


Natxo Asenjo <natxo.asenjo at gmail.com> 
12/21/2010 12:56 AM 


To
Jeff_Applegate at fws.gov 
cc
wpkg-users at lists.wpkg.org 
Subject
Re: [wpkg-users] Windows 7 Install








On Mon, Dec 20, 2010 at 10:12 PM,  <Jeff_Applegate at fws.gov> wrote:
> Has anyone seen the following error:
>
> First Error Message:
> You must have an administration privilege on this computer.
>
> Second Error Message:
> There is a problem with this windows installer package. A program run as
> part of this setup did not complete as expected. Contact your support
> personnel or package vendor.
>
> First I am an administrator on the system as I can install other 
packages
> with no issue.  I have also tried downloading the package from the 
website
> again.  The package is 1.3.9 and is x64.  I have also attempted to run 
the
> installer locally.  This is on a clean install of Windows 7 x64.  Any 
and
> all help is appreciated.

well, it definately looks like a permissions issue :)

Do you get this problem when trying to install the wpkg client software
itself? Or is this a message from a package to be installed by the wpkg
software? I have no x64 windows 7, but I run wpkg x64 with windows
2008r2 without those issues.

If the message is from a wpkg package (wpkg is trying to install another
application, then you need to check some things:

If you run wpkg as a windows service, under what account does it run? I
run the standard package as local system and it just works.

If you run it in a scheduled task, check also the account that is
running this.

As a last (for now) troubleshooting measure, in %windir%\temp there is a
file wpkg-%computername%.log with very detailed info of what wpkg has
done during its last run. Check it out to find errors. you can also run
wpkg from the cli with the /debug flag to see the same info live on a
console.

-- 
groeten,
natxo
-------------------------------------------------------------------------
wpkg-users mailing list archives >> 
http://lists.wpkg.org/pipermail/wpkg-users/
_______________________________________________
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20101222/bf5d7f7d/attachment-0002.html>


More information about the wpkg-users mailing list