Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004599 [JEDI VCL] 00 JVCL Components block always 2008-11-20 12:50 2008-12-22 05:54
Reporter Prozac View Status public  
Assigned To obones
Priority normal Resolution fixed  
Status resolved   Product Version Daily / GIT
Summary 0004599: JVCL installer destroys
Description After updating JCL and JVCL from the SVN I successfully recompiled jcl and then tried to recompile JVCL.
I used Install.bat, I saw CMD generating language files and then the installer has been destroyed. No window has been displayed at all.
Additional Information
Tags No tags attached.
Attached Files ? file icon VistaUAC.manifest [^] (1,101 bytes) 2008-11-21 11:31

- Relationships

-  Notes
AHUser (developer)
2008-11-20 13:22

What Delphi version do you use?
cycocrew (developer)
2008-11-20 23:40

I'm seeing the same thing with a dual install of Delphi 2007 and Delphi 2009. Note that JVCLInstall.exe is correctly built in jvcl\bin but it is not executed after compilation (through install.bat). Executing JVCLInstall.exe manually works though.
obones (administrator)
2008-11-21 00:02

Don't you have an error message?
Prozac (reporter)
2008-11-21 01:14

No error messages here.
After the CMD window disappears something (probably the main installer window) blinks for a split second and disappears.
obones (administrator)
2008-11-21 02:04

and if you run install from an cmd window, don't you have a message in the cmd window that does not close anymore?
Prozac (reporter)
2008-11-21 06:17

Hi Olivier!

Well, I've just tried to run Install.bat from CMD.
I got the following info in the commnad line window:

[Compiling installer...]
Using CodeGear RAD Studio 2009

CodeGear Delphi for Win32 compiler version 20.0
Copyright (c) 1983,2008 CodeGear
166514 lines, 1.01 seconds, 1228884 bytes code, 56

[Generating language files...]
Known languages: bg de es fr it nl pl ro ru sv

[Starting installer...]
"The requested operation requires elevation".
obones (administrator)
2008-11-21 06:47

Well, there you have it, the batch requires you to be an administrator in Vista.
Prozac (reporter)
2008-11-21 07:25

Yeah. And I am the only one user and the administrator of my own PC.
In such cases the Vista UAC always displays a warning that requires a user's permission. But here I don't see any dialog. So I suppose something is wrong with the installer.
AHUser (developer)
2008-11-21 10:30

There is the CommCtrlAsInvoker.res that the installer uses to prevent the UAC from identifying the installer as an administrative task. And that seems to fail.
Prozac (reporter)
2008-11-21 11:32

And why do you want to protect the Installer against UAC identification?

Take a look at my own .manifest resource file attached to this message.
AHUser (developer)
2008-11-24 13:33

Because the JCL and JVCL Installer aren't setups in the way a Office Setup is. They are build machines. And as such they need access to the current user's directories (asInvoker) and not the directories of an Administrator (requireAdministrator).
AHUser (developer)
2008-11-24 13:53

I have now changed install.bat to use the old way to start the JVCL Installer if the JVCLCmdStarter.exe can't start it.

- Issue History
Date Modified Username Field Change
2008-11-20 12:50 Prozac New Issue
2008-11-20 12:50 Prozac Issue Monitored: Prozac
2008-11-20 13:22 AHUser Note Added: 0015040
2008-11-20 23:40 cycocrew Note Added: 0015045
2008-11-21 00:02 obones Note Added: 0015046
2008-11-21 00:02 obones Status new => feedback
2008-11-21 01:14 Prozac Note Added: 0015048
2008-11-21 02:04 obones Note Added: 0015049
2008-11-21 06:17 Prozac Note Added: 0015050
2008-11-21 06:47 obones Note Added: 0015051
2008-11-21 07:25 Prozac Note Added: 0015053
2008-11-21 10:30 AHUser Note Added: 0015054
2008-11-21 11:31 Prozac File Added: VistaUAC.manifest
2008-11-21 11:32 Prozac Note Added: 0015055
2008-11-24 13:33 AHUser Note Added: 0015063
2008-11-24 13:53 AHUser Note Added: 0015064
2008-12-22 05:54 obones Status feedback => resolved
2008-12-22 05:54 obones Fixed in Version => Daily / SVN
2008-12-22 05:54 obones Resolution open => fixed
2008-12-22 05:54 obones Assigned To => obones

Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker