[WiX-users] WIX: COM registration does not work with UAC

2012-05-23 Thread vasjko
Hello All,

I'm using Heat.exe to get registration information for my libraries and include 
this info in my Wix code.

The registration works fine on machines when UAC is off, but it doesn't work on 
machines where UAC is on. This happens even if I run my msi as 
administrator(from bootstrapper or cmd)

Does anyone have an idea why does it happen?

Thanks in advance,
Vasyl


-- реклама ---
Хостинг с доменом от 9.8 грн в месяц
http://freehost.ua


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WIX: COM registration does not work with UAC

2012-05-23 Thread Pally Sandher
Is your MSI per-machine or per-user?


Palbinder Sandher 
Software Platform Engineer 
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com 

**Design, Simulate + Innovate with the Virtual Environment** 
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer 



-Original Message-
From: vasjko [mailto:vas...@ua.fm] 
Sent: 23 May 2012 17:02
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] WIX: COM registration does not work with UAC

Hello All,

I'm using Heat.exe to get registration information for my libraries and include 
this info in my Wix code.

The registration works fine on machines when UAC is off, but it doesn't work on 
machines where UAC is on. This happens even if I run my msi as 
administrator(from bootstrapper or cmd)

Does anyone have an idea why does it happen?

Thanks in advance,
Vasyl


-- реклама ---
Хостинг с доменом от 9.8 грн в месяц
http://freehost.ua


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WIX: COM registration does not work with UAC

2012-05-23 Thread vasjko
It is per-user

23.05.2012 19:07, Pally Sandher pally.sand...@iesve.com
Is your MSI per-machine or per-user?
 
 
 Palbinder Sandher 
 Software Platform Engineer 
 T: +44 (0) 141 945 8500
 F: +44 (0) 141 945 8501
 http://www.iesve.com 
 
 **Design, Simulate + Innovate with the Virtual Environment** 
 Integrated Environmental Solutions Limited. Registered in Scotland No. 
 SC151456
 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow 
 G20 0SP
 Email Disclaimer 
 
 
 
 -Original Message-
 From: vasjko [mailto:vas...@ua.fm] 
 Sent: 23 May 2012 17:02
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] WIX: COM registration does not work with UAC
 
 Hello All,
 
 I'm using Heat.exe to get registration information for my libraries and 
 include this info in my Wix code.
 
 The registration works fine on machines when UAC is off, but it doesn't work 
 on machines where UAC is on. This happens even if I run my msi as 
 administrator(from bootstrapper or cmd)
 
 Does anyone have an idea why does it happen?
 
 Thanks in advance,
 Vasyl
 
 
 -- реклама ---
 Хостинг с доменом от 9.8 грн в месяц
 http://freehost.ua
 
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- реклама ---
Хостинг с доменом от 9.8 грн в месяц
http://freehost.ua


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WIX: COM registration does not work with UAC

2012-05-23 Thread vasjko
Thanks for correct question Pally, tried per-machine MSI version and it works 
fine.

Do you know how to make it works for per-user installation?

Thanks

23.05.2012 19:07, Pally Sandher pally.sand...@iesve.com
Is your MSI per-machine or per-user?
 
 
 Palbinder Sandher 
 Software Platform Engineer 
 T: +44 (0) 141 945 8500
 F: +44 (0) 141 945 8501
 http://www.iesve.com 
 
 **Design, Simulate + Innovate with the Virtual Environment** 
 Integrated Environmental Solutions Limited. Registered in Scotland No. 
 SC151456
 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow 
 G20 0SP
 Email Disclaimer 
 
 
 
 -Original Message-
 From: vasjko [mailto:vas...@ua.fm] 
 Sent: 23 May 2012 17:02
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] WIX: COM registration does not work with UAC
 
 Hello All,
 
 I'm using Heat.exe to get registration information for my libraries and 
 include this info in my Wix code.
 
 The registration works fine on machines when UAC is off, but it doesn't work 
 on machines where UAC is on. This happens even if I run my msi as 
 administrator(from bootstrapper or cmd)
 
 Does anyone have an idea why does it happen?
 
 Thanks in advance,
 Vasyl
 
 
 -- реклама ---
 Хостинг с доменом от 9.8 грн в месяц
 http://freehost.ua
 
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. Discussions 
 will include endpoint security, mobile security and the latest in malware 
 threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- реклама ---
Хостинг с доменом от 9.8 грн в месяц
http://freehost.ua


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WIX: COM registration does not work with UAC

2012-05-23 Thread Wilson, Phil
It might actually be working for per-user...

A genuine per-user COM registration will be in HKCU for the installing user - 
it won't be exposed to the entire system. In what sense is it not working? 

Phil W 

-Original Message-
From: vasjko [mailto:vas...@ua.fm] 
Sent: Wednesday, May 23, 2012 11:19 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WIX: COM registration does not work with UAC

Thanks for correct question Pally, tried per-machine MSI version and it works 
fine.

Do you know how to make it works for per-user installation?

Thanks

23.05.2012 19:07, Pally Sandher pally.sand...@iesve.com
Is your MSI per-machine or per-user?
 
 
 Palbinder Sandher
 Software Platform Engineer
 T: +44 (0) 141 945 8500
 F: +44 (0) 141 945 8501
 http://www.iesve.com
 
 **Design, Simulate + Innovate with the Virtual Environment** 
 Integrated Environmental Solutions Limited. Registered in Scotland No. 
 SC151456 Registered Office - Helix Building, West Of Scotland Science 
 Park, Glasgow G20 0SP Email Disclaimer
 
 
 
 -Original Message-
 From: vasjko [mailto:vas...@ua.fm]
 Sent: 23 May 2012 17:02
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] WIX: COM registration does not work with UAC
 
 Hello All,
 
 I'm using Heat.exe to get registration information for my libraries and 
 include this info in my Wix code.
 
 The registration works fine on machines when UAC is off, but it 
 doesn't work on machines where UAC is on. This happens even if I run 
 my msi as administrator(from bootstrapper or cmd)
 
 Does anyone have an idea why does it happen?
 
 Thanks in advance,
 Vasyl
 
 
 -- реклама ---
 Хостинг с доменом от 9.8 грн в месяц
 http://freehost.ua
 
 
 --
 
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. 
 Discussions will include endpoint security, mobile security and the 
 latest in malware threats. 
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 --
 
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. 
 Discussions will include endpoint security, mobile security and the 
 latest in malware threats. 
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- реклама ---
Хостинг с доменом от 9.8 грн в месяц
http://freehost.ua


--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
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/en/legal/default.aspx.

You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
recept...@invensys.com. 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).

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how

Re: [WiX-users] WIX: COM registration does not work with UAC

2012-05-23 Thread vasjko
By not working I mean that my application which use component show Runtime 
error 429:ActiveX component can't create object
If I register my library using regsvr32, application works fine. This happens 
only MSI was installed per-user when UAC is on

23.05.2012 21:58, Wilson, Phil phil.wil...@invensys.com
It might actually be working for per-user...
 
 A genuine per-user COM registration will be in HKCU for the installing user - 
 it won't be exposed to the entire system. In what sense is it not working? 
 
 Phil W 
 
 -Original Message-
 From: vasjko [mailto:vas...@ua.fm] 
 Sent: Wednesday, May 23, 2012 11:19 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] WIX: COM registration does not work with UAC
 
 Thanks for correct question Pally, tried per-machine MSI version and it works 
 fine.
 
 Do you know how to make it works for per-user installation?
 
 Thanks
 
 23.05.2012 19:07, Pally Sandher pally.sand...@iesve.com
 Is your MSI per-machine or per-user?
  
  
  Palbinder Sandher
  Software Platform Engineer
  T: +44 (0) 141 945 8500
  F: +44 (0) 141 945 8501
  http://www.iesve.com
  
  **Design, Simulate + Innovate with the Virtual Environment** 
  Integrated Environmental Solutions Limited. Registered in Scotland No. 
  SC151456 Registered Office - Helix Building, West Of Scotland Science 
  Park, Glasgow G20 0SP Email Disclaimer
  
  
  
  -Original Message-
  From: vasjko [mailto:vas...@ua.fm]
  Sent: 23 May 2012 17:02
  To: wix-users@lists.sourceforge.net
  Subject: [WiX-users] WIX: COM registration does not work with UAC
  
  Hello All,
  
  I'm using Heat.exe to get registration information for my libraries and 
  include this info in my Wix code.
  
  The registration works fine on machines when UAC is off, but it 
  doesn't work on machines where UAC is on. This happens even if I run 
  my msi as administrator(from bootstrapper or cmd)
  
  Does anyone have an idea why does it happen?
  
  Thanks in advance,
  Vasyl
  
  
  -- реклама ---
  Хостинг с доменом от 9.8 грн в месяц
  http://freehost.ua
  
  
  --
  
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and 
  threat landscape has changed and how IT managers can respond. 
  Discussions will include endpoint security, mobile security and the 
  latest in malware threats. 
  http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
  
  
  --
  
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and 
  threat landscape has changed and how IT managers can respond. 
  Discussions will include endpoint security, mobile security and the 
  latest in malware threats. 
  http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 -- реклама ---
 Хостинг с доменом от 9.8 грн в месяц
 http://freehost.ua
 
 
 --
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and threat 
 landscape has changed and how IT managers can respond. Discussions will 
 include endpoint security, mobile security and the latest in malware threats. 
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 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/en/legal/default.aspx.
 
 You may contact Invensys plc on +44 (0)20 3155 1200 or e-mail 
 recept...@invensys.com

Re: [WiX-users] WIX: COM registration does not work with UAC

2012-05-23 Thread Hoover, Jacob
You should never count on regsvr32.exe running as a deferred custom action from 
a MSI. Is this COM component truly a shared component? If so then I would think 
it should not be installed as a per user package. If you simply have a one or 
more executables in the same install using this component, then I would opt for 
registration free COM via embedding a manifest into the EXE's which are 
consuming the COM DLL.

For the underlying cause of the error, you didn't say anything about what 
dependencies your COM DLL has.  Was it written in VB6, VC++ using ATL?  I seem 
to remember both having issues as a VB6 COM DLL will rely on the VB6 Runtime 
being registered, and for C++ COM DLL's using ATL the proper ATL.dll must also 
be registered.

-Original Message-
From: vasjko [mailto:vas...@ua.fm] 
Sent: Wednesday, May 23, 2012 3:50 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users]WIX: COM registration does not work with UAC

By not working I mean that my application which use component show Runtime 
error 429:ActiveX component can't create object
If I register my library using regsvr32, application works fine. This happens 
only MSI was installed per-user when UAC is on

23.05.2012 21:58, Wilson, Phil phil.wil...@invensys.com
It might actually be working for per-user...
 
 A genuine per-user COM registration will be in HKCU for the installing user - 
 it won't be exposed to the entire system. In what sense is it not working? 
 
 Phil W
 
 -Original Message-
 From: vasjko [mailto:vas...@ua.fm]
 Sent: Wednesday, May 23, 2012 11:19 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] WIX: COM registration does not work with UAC
 
 Thanks for correct question Pally, tried per-machine MSI version and it works 
 fine.
 
 Do you know how to make it works for per-user installation?
 
 Thanks
 
 23.05.2012 19:07, Pally Sandher pally.sand...@iesve.com
 Is your MSI per-machine or per-user?
  
  
  Palbinder Sandher
  Software Platform Engineer
  T: +44 (0) 141 945 8500
  F: +44 (0) 141 945 8501
  http://www.iesve.com
  
  **Design, Simulate + Innovate with the Virtual Environment** 
  Integrated Environmental Solutions Limited. Registered in Scotland No.
  SC151456 Registered Office - Helix Building, West Of Scotland 
  Science Park, Glasgow G20 0SP Email Disclaimer
  
  
  
  -Original Message-
  From: vasjko [mailto:vas...@ua.fm]
  Sent: 23 May 2012 17:02
  To: wix-users@lists.sourceforge.net
  Subject: [WiX-users] WIX: COM registration does not work with UAC
  
  Hello All,
  
  I'm using Heat.exe to get registration information for my libraries and 
  include this info in my Wix code.
  
  The registration works fine on machines when UAC is off, but it 
  doesn't work on machines where UAC is on. This happens even if I run 
  my msi as administrator(from bootstrapper or cmd)
  
  Does anyone have an idea why does it happen?
  
  Thanks in advance,
  Vasyl
  
  
  -- реклама 
  ---
  Хостинг с доменом от 9.8 грн в месяц http://freehost.ua
  
  
  
  --
  
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and 
  threat landscape has changed and how IT managers can respond.
  Discussions will include endpoint security, mobile security and the 
  latest in malware threats.
  http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
  
  
  
  --
  
  Live Security Virtual Conference
  Exclusive live event will cover all the ways today's security and 
  threat landscape has changed and how IT managers can respond.
  Discussions will include endpoint security, mobile security and the 
  latest in malware threats.
  http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 -- реклама ---
 Хостинг с доменом от 9.8 грн в месяц
 http://freehost.ua
 
 
 --
 
 Live Security Virtual Conference
 Exclusive live event will cover all the ways today's security and 
 threat landscape has changed and how IT managers can respond. 
 Discussions will include endpoint security, mobile security and the 
 latest in malware threats. 
 http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo