Failed to set permissions on the installed files.

PostgreSQL is the database server used to store information. Do you have a question or are you having problem with PostgreSQL? If so, post them here.

Moderator: Moderators

Failed to set permissions on the installed files.

Postby hoozh » Sat May 16, 2009 5:53 pm

Hi, i tryed everything to make it works, but always the same, i can see this pop-up:

Image

I disabled UAC and my antivirus protection... Can you help me?
hoozh
 
Posts: 1
Joined: Sat May 16, 2009 5:44 pm

Re: Failed to set permissions on the installed files.

Postby WhiteRider » Sun May 17, 2009 4:23 am

What does it say in that file?

Is this just a normal home computer - do you have administrator permissions on it?
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Failed to set permissions on the installed files.

Postby SugarHooves » Wed Nov 10, 2010 1:35 am

Hi,

I have been running:

- PokerTracker v.2.17.04g
- PAHud-Install-v1.19.10.5, and
- PostgreSQL 8.2 (no later than v8.2.11 - kept bad records back then)

I upgraded to Windows 7 Professional 64-bit a couple months ago with no effect on any of the above three. Things were working fine, until ...

I inadvertently deleted a duplicate install of PA HUD I had installed some time ago on a different drive than were it should have been. When I cranked things up this evening, I suddenly got immediate popup errors in PAHUD, "SQL exception while trying to query player: Error executing "SELECT main_site_id, alias_id, ...." The player stats kept showing up on tables I opened but PT v2 was shutting down with "connection" error messages. So ....

I tried reinstalling PT v2 and PAHUD with no success. I thought it best to go back to square one and uninstalled Post 8.2.x successfully, But when I go to resintall 8.2.x I get the, 'Failed to set permissions .... " error message shown in this thread with the exact same popup shown here.

Antivirus was turned off each time.

I checked my UAC settings and it is already at the lowest, do not notify level.

I right clicked on the 'postgresql-8.2.msi' install file but no 'Run as an Administrator' so ...

I right clicked again went into Properties and the Compatability tab and checked box for 'Run as previous Windows version. No change, still 'Failed to set permissions' popup error.

I right clicked again on the 'postgresql-8.2.msi' install file and this time chose 'Troubleshoot Compatability' and all it did was uncheck to 'Run as previous Windows version; and, duh, back to same 'failed to set ... " error.


Oh, except from the 'pgprm.log' for the each of many failed install attempts are the same each time as directly below:

"
processed dir: F:\Program Files\PostgreSQL\8.2
processed dir: F:\Program Files\PostgreSQL\8.2\bin
processed dir: F:\Program Files\PostgreSQL\8.2\data
processed dir: F:\Program Files\PostgreSQL\8.2\doc
processed file: F:\Program Files\PostgreSQL\8.2\Installation Notes.rtf
processed dir: F:\Program Files\PostgreSQL\8.2\jdbc
processed dir: F:\Program Files\PostgreSQL\8.2\lib
processed dir: F:\Program Files\PostgreSQL\8.2\Npgsql
processed file: F:\Program Files\PostgreSQL\8.2\OpenSSL Licence.txt
processed dir: F:\Program Files\PostgreSQL\8.2\pgAdmin III
processed dir: F:\Program Files\PostgreSQL\8.2\share
processed dir: F:\Program Files\PostgreSQL\8.2\tmp
The data is invalid.
"


Ideas? Suggestions?


Thanks.


John
SugarHooves
 
Posts: 38
Joined: Sun Mar 09, 2008 12:23 am

Re: Failed to set permissions on the installed files.

Postby kraada » Wed Nov 10, 2010 10:04 am

Try disabling UAC during the installation process and see if that helps.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Failed to set permissions on the installed files.

Postby SugarHooves » Wed Nov 10, 2010 10:41 am

Hi,

Yes, UAC has long been disabled in my Windows 7 due to similar install issues in past with other programs. I checked again and, yes, UAC is 'disabled,' set to 'Do Not Notify' the lowest setting.

John
SugarHooves
 
Posts: 38
Joined: Sun Mar 09, 2008 12:23 am

Re: Failed to set permissions on the installed files.

Postby kraada » Wed Nov 10, 2010 12:38 pm

Restart the installer but check the "Create a detailed log" box at the lower left (it's on one of the very first screens). When it fails, please post the end of that log here.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Failed to set permissions on the installed files.

Postby SugarHooves » Wed Nov 10, 2010 1:11 pm

An excerpt from the 'pgprm.log' that is an exact duplicte of each of many failed install attempts are the same each time as directly below:

"
processed dir: F:\Program Files\PostgreSQL\8.2
processed dir: F:\Program Files\PostgreSQL\8.2\bin
processed dir: F:\Program Files\PostgreSQL\8.2\data
processed dir: F:\Program Files\PostgreSQL\8.2\doc
processed file: F:\Program Files\PostgreSQL\8.2\Installation Notes.rtf
processed dir: F:\Program Files\PostgreSQL\8.2\jdbc
processed dir: F:\Program Files\PostgreSQL\8.2\lib
processed dir: F:\Program Files\PostgreSQL\8.2\Npgsql
processed file: F:\Program Files\PostgreSQL\8.2\OpenSSL Licence.txt
processed dir: F:\Program Files\PostgreSQL\8.2\pgAdmin III
processed dir: F:\Program Files\PostgreSQL\8.2\share
processed dir: F:\Program Files\PostgreSQL\8.2\tmp
The data is invalid.
"

John
SugarHooves
 
Posts: 38
Joined: Sun Mar 09, 2008 12:23 am

Re: Failed to set permissions on the installed files.

Postby kraada » Wed Nov 10, 2010 2:57 pm

There is a different level of logging that you can enable when you start the PostgreSQL installer - it will include a lot more data beyond that of the pgprm.log and that's what I'm looking to see.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Failed to set permissions on the installed files.

Postby SugarHooves » Wed Nov 10, 2010 3:27 pm

Hope this ending section of the postgre log for the failed install I just attempted. I hope I grabbed enough of the last section of the log report for you to work with. If you need the entire log file, just let me know where to email it to.
Note: It has always been the way since the first usages of PT/PA Hud, under Win XP, maybe even Win 95, but, you will note that I have previously and I am still looking to install PT, along with all my related poker software on an non-C Drive. Installed and running from a 'Program Files' folder on the 'F drive' on my machine. Such a separation and installs of all the poker software has not been an issue in the past and up until this latest snafu of mine, under Windows 7 as well.

Let me know what else I can help with or test.

Thanks. John
---------------------------------------------------------------------------------

Ending section copy of postgre failed install attempt log:


Property(C): ProgramFilesFolder = C:\Program Files (x86)\
Property(C): TARGETDIR = F:\
Property(C): ProgramMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\
Property(C): SourceDir = F:\Program Files\PostgreSQL\8.2 - ZIP Extraction\
Property(C): MsiLogFileLocation = F:\Program Files\PostgreSQL\8.2 - ZIP Extraction\postgresql-8.2.log
Property(C): PackageCode = {695EEF9B-1481-4A70-999E-8F2282BEE022}
Property(C): ProductState = -1
Property(C): PackagecodeChanging = 1
Property(C): CURRENTDIRECTORY = C:\Windows\SysWOW64
Property(C): CLIENTUILEVEL = 0
Property(C): CLIENTPROCESSID = 10864
Property(C): MsiSystemRebootPending = 1
Property(C): VersionDatabase = 110
Property(C): VersionMsi = 5.00
Property(C): VersionNT64 = 601
Property(C): WindowsBuild = 7600
Property(C): ServicePackLevel = 0
Property(C): ServicePackLevelMinor = 0
Property(C): MsiNTProductType = 1
Property(C): WindowsFolder = C:\Windows\
Property(C): WindowsVolume = C:\
Property(C): System64Folder = C:\Windows\system32\
Property(C): SystemFolder = C:\Windows\SysWOW64\
Property(C): RemoteAdminTS = 1
Property(C): TempFolder = C:\Users\JHH\AppData\Local\Temp\
Property(C): CommonFilesFolder = C:\Program Files (x86)\Common Files\
Property(C): ProgramFiles64Folder = C:\Program Files\
Property(C): CommonFiles64Folder = C:\Program Files\Common Files\
Property(C): AppDataFolder = C:\Users\JHH\AppData\Roaming\
Property(C): FavoritesFolder = C:\Users\JHH\Favorites\
Property(C): NetHoodFolder = C:\Users\JHH\AppData\Roaming\Microsoft\Windows\Network Shortcuts\
Property(C): PersonalFolder = C:\Users\JHH\Documents\
Property(C): PrintHoodFolder = C:\Users\JHH\AppData\Roaming\Microsoft\Windows\Printer Shortcuts\
Property(C): RecentFolder = C:\Users\JHH\AppData\Roaming\Microsoft\Windows\Recent\
Property(C): SendToFolder = C:\Users\JHH\AppData\Roaming\Microsoft\Windows\SendTo\
Property(C): TemplateFolder = C:\ProgramData\Microsoft\Windows\Templates\
Property(C): CommonAppDataFolder = C:\ProgramData\
Property(C): LocalAppDataFolder = C:\Users\JHH\AppData\Local\
Property(C): MyPicturesFolder = C:\Users\JHH\Pictures\
Property(C): AdminToolsFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Administrative

Tools\
Property(C): StartupFolder = C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
Property(C): StartMenuFolder = C:\ProgramData\Microsoft\Windows\Start Menu\
Property(C): DesktopFolder = C:\Users\Public\Desktop\
Property(C): FontsFolder = C:\Windows\Fonts\
Property(C): GPTSupport = 1
Property(C): OLEAdvtSupport = 1
Property(C): ShellAdvtSupport = 1
Property(C): MsiAMD64 = 6
Property(C): Msix64 = 6
Property(C): Intel = 6
Property(C): PhysicalMemory = 8191
Property(C): VirtualMemory = 22276
Property(C): AdminUser = 1
Property(C): MsiTrueAdminUser = 1
Property(C): LogonUser = JHH
Property(C): UserSID = S-1-5-21-355679171-1281213432-3063550109-1001
Property(C): UserLanguageID = 1033
Property(C): ComputerName = JHHOFFICE
Property(C): SystemLanguageID = 1033
Property(C): ScreenX = 1920
Property(C): ScreenY = 1080
Property(C): CaptionHeight = 28
Property(C): BorderTop = 1
Property(C): BorderSide = 1
Property(C): TextHeight = 16
Property(C): TextInternalLeading = 3
Property(C): ColorBits = 32
Property(C): TTCSupport = 1
Property(C): Time = 13:13:42
Property(C): Date = 11/10/2010
Property(C): MsiNetAssemblySupport = 4.0.30319.1
Property(C): MsiWin32AssemblySupport = 6.1.7600.16385
Property(C): RedirectedDllSupport = 2
Property(C): MsiRunningElevated = 1
Property(C): Privileged = 1
Property(C): USERNAME = JHH
Property(C): DATABASE = F:\Program Files\PostgreSQL\8.2 - ZIP Extraction\postgresql-8.2-int.msi
Property(C): OriginalDatabase = F:\Program Files\PostgreSQL\8.2 - ZIP Extraction\postgresql-8.2-int.msi
Property(C): SOURCEDIR = F:\Program Files\PostgreSQL\8.2 - ZIP Extraction\
Property(C): VersionHandler = 5.00
Property(C): TextHeightCorrection = 1.3077
Property(C): UILevel = 5
Property(C): SHIMFLAGS = 512
Property(C): ACTION = INSTALL
Property(C): EXECUTEACTION = INSTALL
Property(C): ROOTDRIVE = F:\
Property(C): CostingComplete = 1
Property(C): OutOfDiskSpace = 0
Property(C): OutOfNoRbDiskSpace = 0
Property(C): PrimaryVolumeSpaceAvailable = 0
Property(C): PrimaryVolumeSpaceRequired = 0
Property(C): PrimaryVolumeSpaceRemaining = 0
Property(C): INSTALLLEVEL = 1
=== Logging stopped: 11/10/2010 13:13:42 ===
MSI (c) (70:84) [13:13:42:089]: Note: 1: 1708
MSI (c) (70:84) [13:13:42:089]: Note: 1: 2205 2: 3: Error
MSI (c) (70:84) [13:13:42:089]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE

`Error` = 1708
MSI (c) (70:84) [13:13:42:089]: Note: 1: 2205 2: 3: Error
MSI (c) (70:84) [13:13:42:089]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE

`Error` = 1709
MSI (c) (70:84) [13:13:42:089]: Product: PostgreSQL 8.2 -- Installation failed.

MSI (c) (70:84) [13:13:42:090]: Windows Installer installed the product. Product Name: PostgreSQL 8.2.

Product Version: 8.2. Product Language: 1033. Manufacturer: PostgreSQL Global Development Group.

Installation success or error status: 1603.

MSI (c) (70:84) [13:13:42:092]: Grabbed execution mutex.
MSI (c) (70:84) [13:13:42:092]: Cleaning up uninstalled install packages, if any exist
MSI (c) (70:84) [13:13:42:093]: MainEngineThread is returning 1603
=== Verbose logging stopped: 11/10/2010 13:13:42 ===




END END END END
SugarHooves
 
Posts: 38
Joined: Sun Mar 09, 2008 12:23 am

Re: Failed to set permissions on the installed files.

Postby kraada » Wed Nov 10, 2010 4:12 pm

Please try following the steps in this tutorial and that should hopefully fix things for you.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to PostgreSQL [Read Only]

Who is online

Users browsing this forum: No registered users and 6 guests

cron