Bugs item #1764669, was opened at 2007-07-31 10:22
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1764669&group_id=105970

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: light
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: doug (koawmfot)
Assigned to: Nobody/Anonymous (nobody)
Summary: dependent table not created when compiling progid element

Initial Comment:
if an advertised progid element is added under a component, but no parent class 
element for the progid is specified and no class element anywhere else is 
advertised for any components, no class table is created in the msi when it is 
compiled with light. the msi will install, but will fail to properly run the 
installer action RegisterProgIdInfo.

if an empty class table is added to the msi using orca, the msi will now 
install correctly.

light.exe should add this empty class table during the compile when it sees 
that an advertised progid element has been specified.

code snippet:

<Component Id='player.exe' Guid='{GUIIDDDDD}' Directory='player'>
<File Id='player.exe' Name='player.exe' KeyPath='yes' Source='.\program 
files\player\player.exe' /> 
<ProgId Id='RMFile.3gp' Description='Video File' Icon='IconP.ico' IconIndex='1' 
Advertise='yes'>
<Extension Id='3gp' Advertise='yes'>
<MIME Class='{CLAS_GGUUIIDD}' ContentType='video/3gpp' Default='yes' /> 
<Verb Id='open' Argument='&quot;%1&quot;' Command='Play' />
</Extension>
</ProgId>
</Component>

this is the L*V log for the installation without the class table.

MSI (s) (6C:38) [14:26:07:953]: Doing action: RegisterProgIdInfo
Action ended 14:26:07: RegisterExtensionInfo. Return value 1.
MSI (s) (6C:38) [14:26:07:953]: Note: 1: 2205 2:  3: Class 
MSI (s) (6C:38) [14:26:07:953]: Note: 1: 2228 2:  3: Class 4: SELECT DISTINCT 
`BinaryType`, `ProgId`, `Class_`, `ProgId`.`Description`, `ProgId`.`Icon_`, 
`ProgId`.`IconIndex`, null, `Component`.`RuntimeFlags`, `Component`.`Component` 
FROM `ProgId`, `Class`, `Feature`, `Component` WHERE `ProgId`.`Class_` = 
`Class`.`CLSID` AND `Class`.`Feature_` = `Feature` AND `Class`.`Component_` = 
`Component` AND ((`Feature`.`Action` = 1 OR `Feature`.`Action` = 2)  OR 
(`Feature`.`Action` = 4 AND `Feature`.`Installed` = 0) OR (`Feature`.`Action` = 
3 AND (`Feature`.`Installed` = 1 OR `Feature`.`Installed` = 2 OR 
`Feature`.`Installed` = 4)) OR (`Feature`.`Action` = NULL AND 
(`Component`.`Action` = 1 OR `Component`.`Action` = 2) AND 
((`Feature`.`Installed` = 1 OR `Feature`.`Installed` = 2 OR 
`Feature`.`Installed` = 4)))) 
Action start 14:26:07: RegisterProgIdInfo.
MSI (s) (6C:38) [14:26:07:953]: Doing action: RegisterMIMEInfo
Action ended 14:26:07: RegisterProgIdInfo. Return value 0.


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1764669&group_id=105970

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to