Re: [WiX-users] regarding the usage of ProgID, ClassId in wix

2006-12-11 Thread Bob Arnson

Please keep /wix-users/ on the thread so everyone can participate.

Abani Kumar Ghadai wrote:
If we do not use Advertised=yes, the resulting MSI does not have 
ProgId table, instead it populates the registry table with the 
required registries as you have suggested. But ICE33 warnings are 
still reported. Our aim is to avoid ICE33 warnings.


WiX translates the strongly typed authoring to Registry table rows 
because it provides for a better user experience than MSI's native COM 
tables (compared to automatic repairs). Yes, it triggers ICE33s but they 
can be safely suppressed. If you look at the Vista Logo guidelines, it 
doesn't require that packages be clean of ICE33s.


--
sig://boB
http://bobs.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] regarding the usage of ProgID, ClassId in wix

2006-12-09 Thread Bob Arnson

aparna wrote:
In that case, Could you please tell me the recommended approach to 
register a COM server?


Use Advertise=no (or just leave it off altogether). WiX compiles 
AppId, Class, ProgId, etc. elements into the appropriate registry 
entries. If you need others that WiX doesn't directly support, you can 
use RegistryKey/RegistryValue elements to get them. If they're common, 
enter feature requests so we can evaluate putting them into WiX 
authoring directly.


--
sig://boB
http://bobs.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] regarding the usage of ProgID, ClassId in wix

2006-12-07 Thread aparna

In that case, Could you please tell me the recommended approach to register
a COM server?

-aparna
On 12/8/06, Bob Arnson [EMAIL PROTECTED] wrote:


aparna wrote:

 The Class/@Server attribute cannot be specified when attribute Advertised
is present with value 'yes'


The error is pretty explicit in the code, so I'm not sure what the problem
is. Unfortunately, I don't know much about COM advertisement -- it's not
recommended these days.

--
sig://boBhttp://bobs.org


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] regarding the usage of ProgID, ClassId in wix

2006-11-30 Thread aparna

Hi Bob,

The idea here was to avoid ICE33 warnings and if I create the registry keys
by using registry/registry values/tags I believe they would cause ICE33
warnings.

Another thing I noticed was having used TypeLib, Class, AppId and ProgId
tags, the resulting MSI do not have ProgId, Class tables. Is there any flag
I need to set to cause these tables to be created?Am I missing something
here? ICE33 warnings are still reported after having used these tags?

What would be your inputs on this?

-aparna






On 11/30/06, Bob Arnson [EMAIL PROTECTED] wrote:


aparna wrote:

 I unable to create the following keys with the above code:



*Software\Classes\AppId\Cxyz.exe Name=AppID Value={GUID}
Type=string*

*Software\Classes\TypeLib\{Guid}\1.0\HELPDIR - with it's path being blank*

*Software\Classes\AppId\{Guid} Name=RunAs Value=NT
AUTHORITY\LOCALSERVICE Type=string*




It doesn't appear that WiX supports those values. You can write them
manually with RegistryKey/RegistryValue elements but please submit a feature
request so we can evaluate them. If you can provide links to docs that
describe those values as valid, it would be helpful.

--
sig://boBhttp://bobs.org


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] regarding the usage of ProgID, ClassId in wix

2006-11-30 Thread Bob Arnson

aparna wrote:


The idea here was to avoid ICE33 warnings and if I create the registry 
keys by using registry/registry values/tags I believe they would cause 
ICE33 warnings.


Another thing I noticed was having used TypeLib, Class, AppId and 
ProgId tags, the resulting MSI do not have ProgId, Class tables. Is 
there any flag I need to set to cause these tables to be created?Am I 
missing something here? ICE33 warnings are still reported after having 
used these tags?




ICE33 can be safely ignored, especially if you're using WiX's 
strongly-typed elements otherwise. The various COM tables in MSI have 
been found to be problematic so unless you're using advertisment, they 
aren't used.


--
sig://boB
http://bobs.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] regarding the usage of ProgID, ClassId in wix

2006-11-29 Thread aparna

Hi,

The Following is the updated code i am using:


*Id='Cxyz' Name='Cxyz.exe' DiskId='1' src='Cxyz.exe' 
TypeLib Id={GUID} Advertise=no Description=XYZ Library
MajorVersion=1 MinorVersion =0 Language=1
Interface Id={GUID} Name=Ixyz NumMethods=9 ProxyStubClassId={GUID}
ProxyStubClassId32={GUID} Versioned=yes/Interface
AppId Id={GUID} Description=Cxyz RunAsInteractiveUser=yes 
Class Advertise=no Id={GUID} Version=Cxyz.Cxyz.1 Server=Cxyz
SafeForScripting=yes Context=LocalServer32
ProgId Id='Cxyz.Cxyz.1' Description='Cxyz Class' Advertise='no' 
ProgId Id='Cxyz.Cxyz' Description='Cxyz Class' Advertise='no' /
/ProgId
/Class
/AppId
/TypeLib
/File
*

I unable to create the following keys with the above code:



*Software\Classes\AppId\Cxyz.exe Name=AppID Value={GUID} Type=string*

*Software\Classes\TypeLib\{Guid}\1.0\HELPDIR - with it's path being blank*

*Software\Classes\AppId\{Guid} Name=RunAs Value=NT
AUTHORITY\LOCALSERVICE Type=string*



Can you please let me know how i can do the following with the above code?



-aparna



On 11/28/06, Bob Arnson [EMAIL PROTECTED] wrote:


aparna wrote:

I am using the following code and am unable to create all the required
entries:


What doesn't work?

--
sig://boBhttp://bobs.org


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] regarding the usage of ProgID, ClassId in wix

2006-11-29 Thread Bob Arnson

aparna wrote:

I unable to create the following keys with the above code:
 



/Software\Classes\AppId\Cxyz.exe Name=AppID Value={GUID} 
Type=string/


/Software\Classes\TypeLib\{Guid}\1.0\HELPDIR - with it's path being blank/

/Software\Classes\AppId\{Guid} Name=RunAs Value=NT 
AUTHORITY\LOCALSERVICE Type=string/






It doesn't appear that WiX supports those values. You can write them 
manually with RegistryKey/RegistryValue elements but please submit a 
feature request so we can evaluate them. If you can provide links to 
docs that describe those values as valid, it would be helpful.


--
sig://boB
http://bobs.org

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users