Mobileread
Cannot install calibre in windows 7
#11  toddos 12-17-2010, 05:14 AM
Cybmole, turn UAC back on. There's no reason to turn it off, and doing so can cause other weird problems. Also, the "calibre2" folder name is correct. I assume it's named that way because at some point calibre had to break backward compatibility and Kovad chose to rename the installation directory to avoid any odd upgrade scenarios.

Chirotor, is this a personal machine or a work machine? Is it part of a domain, or stand-alone? Just because you're local administrator doesn't necessarily mean you have control of the computer. If the machine is part of a domain, a domain administrator can set policies that disallow things like installing new applications even if you are the local admin. It's possible those policies got enabled accidentally in your local security policy (google for the error you're getting, you'll see how to fix it), but that shouldn't be the case normally.

If all else fails, get an installation log. Open a cmd.exe window as administrator, and then run "msiexec /i <the calibre msi> /l*v calibre.log", replacing "<the calibre msi>" with the name of the calibre msi file, and then share the contents in calibre.log (warning -- it'll be rather large, so it may or may not attach to the post and you might have to put it up on dropbox or similar and link to it instead).
Reply 

#12  cybmole 12-17-2010, 09:04 AM
Quote toddos
Cybmole, turn UAC back on. There's no reason to turn it off, and doing so can cause other weird problems..
off topic but there are several excellent reasons to have UAC off.

One is that the the backup registry utility ERNDT can run at startup - without USC flagging it as an unkown prorgram.
ditto for running peerblock at windows startup.
ditto for pinnacle game profiler.
NB there is no way to ""train " UAC to quit asking the same question every time you use a safe 3rd party utility, so when it does like like one of the above, or does not like e.g. JKdefrag ( another excellent freeware utility) you have to manually confirm EVERY time you want use the utility, or write complex auto-schedule script workarounds.

I have encountered zero weird problems - UAC is an OPTION so those who enjoy being nannied by microsoft can leave it on, those who don't can disable it.

back to on-topic, I suspect that UAC does not have calibre on its approved list as it is expensive and difficult to get microsoft to sign an installer for you.
Reply 

#13  chirotor 12-17-2010, 02:30 PM
toddos,

It is a personal computer, not part of a network. I'll work on the installation log if I can figure it out. I know enough about computers to get into trouble.

cybmole,

The message has not changed with or without unblocking the program, "The System Administrator has set policies to prevent this installation." The only option is OK.

When I run the installation I get the screen to accept the term of the program and then a window with a progress bar that does not progress and then the above message. I do not get the opportunity to install it to a different folder even if I want to.

As recommended I disabled my antivirus but that didn't help.

Again thanks to all who are helping.
Reply 

#14  itimpi 12-17-2010, 02:57 PM
If after accepting the GPL you want to do anything other than a completely default install then click the Advanced button rather than the Install button. That gives you the option to set the Install folder (amongs other things).
Reply 

#15  chirotor 12-17-2010, 03:23 PM
I have tried to create a log but got this message. "This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid windows installer package." I am downloading it from a different source but I doubt that will help. I did try to install in a different folder with the same result.
Reply 

#16  chirotor 12-17-2010, 05:20 PM
Solved. I had to go to user accounts in the control panel. Click on change user account control settings and move the bar to never notify and then reboot. I plan to reset the account control settings back to default later.
Reply 

#17  Manichean 12-17-2010, 06:24 PM
Quote chirotor
The message has not changed with or without unblocking the program, "The System Administrator has set policies to prevent this installation." The only option is OK.
That sounds kind of like software installations are prohibited as per policies. Do other installs work? If not, try finding the computer policy pages (I don't know where they are on Win7) and verify that installations are allowed.

Edit: I really should read all the posts before making one myself. Never mind what I said.
Reply 

#18  toddos 12-17-2010, 09:10 PM
Quote chirotor
Solved. I had to go to user accounts in the control panel. Click on change user account control settings and move the bar to never notify and then reboot. I plan to reset the account control settings back to default later.
Strange, so UAC was getting in the way. From what you described of the installation process, you were failing where you should've gotten a UAC prompt. How were you opening the MSI? Double-clicking it from Explorer? Somehow, you got into a state where UAC didn't elevate and thus it attempted to do the install using your non-admin credentials, which shouldn't have happened.

Was this a direct download from Kovad's site (or the sourceforge links from the calibre site)? Was it a .msi file or some .exe that you were running? Something else? The only times I've seen MSIs not elevate properly is when run from a non-admin command line window using msiexec. For example if you were trying to install using a batch file of some sort that called msiexec from within, that would fail to elevate. Simply double-clicking the MSI should not fail to elevate.

Cybmole, I disagree with your assessment. If you have applications that need to elevate and you need to run them at startup, either you or the application developers are doing something wrong. For one, very few apps should need to elevate at all. For another, if you need to run an app elevated at startup, it probably ought to be written as an NT Service (you can do this yourself using srvany.exe from the Windows Resource Kit, to make up for lazy developers). If an app that needs to elevate shows up as "unknown", the developer sucks and failed to build his manifest properly (or at all). If an app that shouldn't need to elevate won't run if it's not admin, the app was written incorrectly.

Turning off UAC in order to use broken apps only encourages bad developers to continue writing broken apps.
Reply 

#19  cybmole 12-18-2010, 04:24 AM
Quote toddos

Cybmole, I disagree with your assessment. If you have applications that need to elevate and you need to run them at startup, either you or the application developers are doing something wrong. For one, very few apps should need to elevate at all. For another, if you need to run an app elevated at startup, it probably ought to be written as an NT Service (you can do this yourself using srvany.exe from the Windows Resource Kit, to make up for lazy developers). If an app that needs to elevate shows up as "unknown", the developer sucks and failed to build his manifest properly (or at all). If an app that shouldn't need to elevate won't run if it's not admin, the app was written incorrectly.

Turning off UAC in order to use broken apps only encourages bad developers to continue writing broken apps.
well 2 points -

1. toggling UAC off, then ON as per the OPs solution IS a bad idea. UAC creates a virtual registry, which is lost when toggled off. This causes some programs e.g. DVDFAB to lose their registration keys, and causes IE to lose all cookies & saved passwords.

2.
apps: i had a long discussion with the writers of pinnacle game profiler. they tell me it is difficult, slow and expensive to get your app signed my microsoft so that UAC will recognise it. It not a case of app being "broken", its a case of having to pay microsoft to sign it. If you are really curious - the thread will still be on their forum.

For calibre, where there is a new install version weekly - that would be unmanageable.

For ERNDT, it was possible to write an auto-schedule script to run at start up, but I was unable to make that work for peer block.
it became a repetitive annoyance to have to keep OKaying veriosu other handy utilities, & boycotting those because they are not UAC friendly makes no sense.

I thought long & hard before permanently disabling UAC. The main benefit , as I saw it, was protecting me from drive-by malware, which had twice infected my old XP PC. Once I realised that , even with UAC off, I was still protected from rogue .exe and .msi downloads, then I happily disabled it.
NB I also have Microsoft security essentials, which checks every download for me - I consider that enough protection, for a PC which only I use.

back on topic, it could be that now calibre has been installed once, then updates will install OK even with UAC on - I guess some volunteer testers are needed to work through all of the win 7 32 bit / 64 bit + UAC + run as admin options for clean installs / updates & see whether this was a one-off fluke, or a bug that needs addressing.
Reply 

#20  toddos 12-18-2010, 06:34 AM
Quote cybmole
back on topic, it could be that now calibre has been installed once, then updates will install OK even with UAC on - I guess some volunteer testers are needed to work through all of the win 7 32 bit / 64 bit + UAC + run as admin options for clean installs / updates & see whether this was a one-off fluke, or a bug that needs addressing.
I've already said my bit about bad developers writing broken software, so I'll keep this to the topic of Calibre (and installers in general, really). Every MSI that deploys system-wide (that is, does not restrict itself to only your %userprofile%, which is pretty much every MSI) will elevate UAC. The difference between signed and unsigned is that UAC will say the MSI is from an unknown source and you shouldn't trust it but the UI otherwise remains the same. I think what you're really referring to is when an application tries to elevate and is unsigned, in that it gives a different dialog than what you'd see from a signed application (or what you'd see if you manually ran it as administrator).

I upgrade calibre every time there's a new release, which at times has been multiple updates in a single week, and I've never had an issue with UAC not elevating nor causing other problems. What the OP saw is not normal, in that for him UAC failed to elevate when it should have. More information is needed to determine if something is broken on his system, if it's just calibre-related (other MSIs elevate as expected), or if it's user error (the batch script/manual msiexec run scenario I laid out previously). I'm leaning towards the latter scenario since he was unable to run the MSI manually from msiexec, and I'm guessing he downloaded something that's not the calibre MSI.
Reply 

 « First  « Prev Next »  Last »  (2/3)
Today's Posts | Search this Thread | Login | Register