View Issue Details

IDProjectCategoryView StatusLast Update
0000534Core Componentspublic2010-12-20 01:47
ReporterYury Bura Assigned ToRandy Armstrong  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Summary0000534: OPC COM ProxyStub MergeModule.msm
Description

The database have values in table SelfReg, but not have Actions SelfUnregModules and SelfRegModules in table ModuleInstallExecuteSequence.

TagsNo tags attached.
Attached Files

Activities

Randy Armstrong

2009-01-29 16:22

administrator   ~0001088

Need to determine if this problem is related to this issue:
http://www.opcfoundation.org/forum/viewtopic.php?p=9622#9622

Yury Bura

2009-01-30 08:44

reporter   ~0001089

This problem is not related to the issue with UAC on Vista. I found this problem when I have been running my own Wix-based setup on XP (proxy/stub modules have not been registered).

I found the workaround for Wix: manually include actions SelfUnregModules and SelfRegModules in the InstallExecuteSequence section:
<InstallExecuteSequence>
<SelfUnregModules />
<SelfRegModules />
...
</InstallExecuteSequence>

Yury Bura

2009-01-30 09:50

reporter   ~0001090

Last edited: 2009-01-30 09:57

About UAC and issue 0000549...
Currently user need to have Administrator privileges for run the setup without errors on Vista (UAC is enabled) (because opcenum.exe can not be registered).

Maybe the workaround for this problem: set 'requireAdministrator' for 'UAC Execution Level' in the embedded manifest for opcenum.exe (in VS2008 Project-Properties-Configuration Properties-Linker-Manifest File). After that for each run openum.exe the Vista will display Administrator privileges request dialog.

Yury Bura

2009-01-30 10:11

reporter   ~0001091

Please see attached log file at line 2407 (error from issue 0000549).

Randy Armstrong

2009-01-30 12:41

administrator   ~0001092

The merge modules have worked for years as is and it is not clear why the manual change to the MSM is required.

Yury Bura

2009-01-30 12:56

reporter   ~0001093

"Some tools, such as the Windows Installer XML (WiX) toolset, may only generate standard actions in their execute sequences if the corresponding feature has been used. You should list all the standard actions that are required to use your module - for example, if you use the Class table, ensure that RegisterClassInfo and UnregisterClassInfo are listed in your ModuleInstallExecuteSequence (and RegisterClassInfo is in the ModuleAdvtExecuteSequence)."

http://msdn.microsoft.com/en-us/library/aa370049(VS.85).aspx

Randy Armstrong

2009-01-30 13:11

administrator   ~0001094

It appears that this ia a bug in Visual Studio 2005 Installer tool and cannot be resolved without using a different Installer tool to build the MSM.

An upgrade to VS2008 may solve the problem.

Yury Bura

2009-01-30 13:15

reporter   ~0001095

An upgrade to Wix may solve the problem ;).

Randy Armstrong

2010-12-20 01:47

administrator   ~0002202

Upgraded projects to VS2008

Issue History

Date Modified Username Field Change
2008-11-14 11:39 Yury Bura New Issue
2008-11-21 16:31 Randy Armstrong Status new => assigned
2008-11-21 16:31 Randy Armstrong Assigned To => Randy Armstrong
2009-01-29 16:22 Randy Armstrong Note Added: 0001088
2009-01-30 08:44 Yury Bura Note Added: 0001089
2009-01-30 09:50 Yury Bura Note Added: 0001090
2009-01-30 09:57 Yury Bura Note Edited: 0001090
2009-01-30 10:06 Yury Bura File Added: OPC Core Components Redistributable (x86).log
2009-01-30 10:11 Yury Bura Note Added: 0001091
2009-01-30 12:41 Randy Armstrong Note Added: 0001092
2009-01-30 12:56 Yury Bura Note Added: 0001093
2009-01-30 13:11 Randy Armstrong Note Added: 0001094
2009-01-30 13:15 Yury Bura Note Added: 0001095
2010-12-20 01:47 Randy Armstrong Status assigned => resolved
2010-12-20 01:47 Randy Armstrong Resolution open => fixed
2010-12-20 01:47 Randy Armstrong Note Added: 0002202