Quantcast

Urgent Please help: Could not open key: HKEY_CURRENT_USER\Software\Classes\MyAppAssembly....

classic Classic list List threaded Threaded
5 messages Options
kim
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Urgent Please help: Could not open key: HKEY_CURRENT_USER\Software\Classes\MyAppAssembly....

kim
Hello,

I created setup for my applicaiton using WIX 3.5. Installer works fine for first time. But after uninstalling application and then reinstalling again on same machine, I get following error message:

"Could not ope key: HKEY_CURRENT_USER\Software\Classes\XCore12\.... Verify that you have sufficeint access to that key or contact your support personnel."

During installation my msi is supposed to install this assembly. After uninstall i see that these registry entries are removed...and so registry is same as before...during first time install.

I am confused as why the installer is trying to open this registry entry?? I am administrator of the machine.

I created 2 more installers using WIX 3.5 for Windows 7 and Windows Server 2008 but never found this problem. This is only with Windows XP SP3 machines.

Please suggest any solution to this problem.

Following is partial code from my .wxs file generated by Heat.exe. I am getting error for TimeLimitPlugin class below

 <Directory Id="dirE6F61FBBE33D607D42934C479509E1A7" Name="bin">
                    <Component Id="cmp8862A7C3908D1BE33925BE0E72222A47" Guid="{EC21FA8F-ADAE-4608-8CB0-49B9EE7F5A37}">
                        <File Id="fil143DAAA17C8B9650C00B50AB55BE85D3" KeyPath="yes" Source="..\OneApp31_deploy\Debug\bin\AjaxControlToolkit.dll" />
                    </Component>
                                       <Component Id="cmp120CF12CD801404A02CE3906AD63E471" Guid="{46428AEB-4AD5-4230-A0DD-284C35682C0C}">
                       
                        <Class Id="{0155BEAB-D46E-3EC9-9535-263A90812041}" Context="InprocServer32" Description="TimeLimitPlugin" ThreadingModel="both" ForeignServer="mscoree.dll">
                            <ProgId Id="TimeLimitPlugin" Description="TimeLimitPlugin" />
                        </Class>
</Component>

Thanks!
kim
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Urgent Please help: Could not open key: HKEY_CURRENT_USER\Software\Classes\MyAppAssembly....

kim
No suggestions? I am in real need to get this going. Kindly help
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Urgent Please help: Could not open key: HKEY_CURRENT_USER\Software\Classes\MyAppAssembly....

Bruce Cran-2
In reply to this post by kim
On Wed, 23 Mar 2011 13:51:55 -0700 (PDT)
kim <[hidden email]> wrote:

> I am confused as why the installer is trying to open this registry
> entry??
>
> I created 2 more installers using WIX 3.5 for Windows 7 and Windows
> Server 2008 but never found this problem. This is only with Windows
> XP SP3 box.
>
> Please suggest any solution to this problem.

You should get a log by running "msiexec /l*vx msilog.txt /i <name of
msi file> .  That'll tell you what the installer is doing at each step.

--
Bruce Cran

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Urgent Please help: Could not open key: HKEY_CURRENT_USER\Software\Classes\MyAppAssembly....

Calin Iaru
Hi,

  In addition to Bruce's suggestion, I recommend running Procmon
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx with Registry
accesses enabled.

Calin

-----Mesaj original-----
From: Bruce Cran
Sent: Thursday, March 24, 2011 4:24 PM
To: General discussion for Windows Installer XML toolset.
Cc: [hidden email]
Subject: Re: [WiX-users] Urgent Please help: Could not open key:
HKEY_CURRENT_USER\Software\Classes\MyAppAssembly....

On Wed, 23 Mar 2011 13:51:55 -0700 (PDT)
kim <[hidden email]> wrote:

> I am confused as why the installer is trying to open this registry
> entry??
>
> I created 2 more installers using WIX 3.5 for Windows 7 and Windows
> Server 2008 but never found this problem. This is only with Windows
> XP SP3 box.
>
> Please suggest any solution to this problem.

You should get a log by running "msiexec /l*vx msilog.txt /i <name of
msi file> .  That'll tell you what the installer is doing at each step.

--
Bruce Cran

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: Urgent Please help: Could not open key: HKEY_CURRENT_USER\Software\Classes\MyAppAssembly....

Wilson, Phil-2
The complete error message would also be useful. It's probably error 1402, and that should also include a Win32 error number somewhere.

Phil Wilson

-----Original Message-----
From: Calin Iaru [mailto:[hidden email]]
Sent: Friday, March 25, 2011 2:37 AM
To: General discussion for Windows Installer XML toolset.
Cc: [hidden email]
Subject: Re: [WiX-users] Urgent Please help: Could not open key: HKEY_CURRENT_USER\Software\Classes\MyAppAssembly....

Hi,

  In addition to Bruce's suggestion, I recommend running Procmon
http://technet.microsoft.com/en-us/sysinternals/bb896645.aspx with Registry
accesses enabled.

Calin

-----Mesaj original-----
From: Bruce Cran
Sent: Thursday, March 24, 2011 4:24 PM
To: General discussion for Windows Installer XML toolset.
Cc: [hidden email]
Subject: Re: [WiX-users] Urgent Please help: Could not open key:
HKEY_CURRENT_USER\Software\Classes\MyAppAssembly....

On Wed, 23 Mar 2011 13:51:55 -0700 (PDT)
kim <[hidden email]> wrote:

> I am confused as why the installer is trying to open this registry
> entry??
>
> I created 2 more installers using WIX 3.5 for Windows 7 and Windows
> Server 2008 but never found this problem. This is only with Windows
> XP SP3 box.
>
> Please suggest any solution to this problem.

You should get a log by running "msiexec /l*vx msilog.txt /i <name of
msi file> .  That'll tell you what the installer is doing at each step.

--
Bruce Cran

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at 3rd Floor, 40 Grosvenor Place, London, SW1X 7AW (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail [hidden email]. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates).



------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
WiX-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/wix-users
Loading...