[WiX-users] Registering a COM component using Wix

2010-12-16 Thread Srikanth udayananda
Hi,I am trying to write an installer which will use Log Parser DLL which is a COM component.I am trying to figure out a way to register dll on host machines during installation.I am using heat to generate wxs file and refer it in my Product.wxs but i am not successful.Could any one please h

Re: [WiX-users] Running vbscript in customaction

2010-12-16 Thread sangeeta1
I was able to run the script from command line without any problem, so I think the argument to GetObject( "LDAP: backslash backslash RootDSE") should be correct, just not sure what the installer engine accepts. I am running this CA from UI after the user enter username on screen. I have a pushbut

Re: [WiX-users] Running vbscript in customaction

2010-12-16 Thread Castro, Edwin G. (Hillsboro)
You should really remove the following line: Set shell = CreateObject() It used to be Set shell = WScript.CreateObject("WScript.Shell") Another question: Is this really valid? Set objRootDSE = GetObject("LDAP://RootDSE ") I would expect a PROGID as the parameter for GetObjec

Re: [WiX-users] Running vbscript in customaction

2010-12-16 Thread sangeeta1
I am running the msiexec with /l*v option to get verbose log. The error code is 2896, Return value 3 (unrecoverable error) Action 11:42:48: CheckUserExists. Action start 11:42:48: CheckUserExists. MSI (c) (E8:94) [11:42:48:993]: Cloaking enabled. MSI (c) (E8:94) [11:42:48:993]: Attempting to enab

Re: [WiX-users] Check if user exists in UI

2010-12-16 Thread sangeeta1
Hi Edwin, I am sorry I have two threads running this topic. When my first post was not accepted by the mailing list, I added a second entry and i started getting responses on both threads. I replied to Phil's response in the other thread. To answer your question, yes I removed the Wscript in m

Re: [WiX-users] Check if user exists in UI

2010-12-16 Thread Wilson, Phil
.and verbose logs are pretty explicit - they usually say the line of code and column of the error for VBSript. Phil Wilson -Original Message- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: Thursday, December 16, 2010 12:30 PM To: General discussion for

Re: [WiX-users] Issues with writing to Registry on 64 bit 2008R2 server

2010-12-16 Thread Wilson, Phil
I think the account named Administrator is special on Server 2008 (maybe only R2). I forget the details, but it's not the same as being in the administrator's group. Phil Wilson -Original Message- From: Pound, Robert (CDC/OCOO/ITSO) (CTR) [mailto:u...@cdc.gov] Sent: Thursday, Decemb

Re: [WiX-users] Running vbscript in customaction

2010-12-16 Thread sangeeta1
Hi Phil, The custom action function to simply read the Domain name also fails with return code 3 Set shell = CreateObject() Set objRootDSE = GetObject("LDAP://RootDSE ") I am sure I am missing a lot here...looking for some directions on getting it right. thanks! On Thu, Dec 1

Re: [WiX-users] Check if user exists in UI

2010-12-16 Thread Castro, Edwin G. (Hillsboro)
Have you tried removing your usage of WScript in your vbscript code as Phil suggested? I'm no vbscript wizard so I don't know if the syntax below is good. Function CheckUserExists strUserName = Session.Property("IAMUSERNAME") dtStart = TimeValue(Now()) ' Determine DNS domain name.

Re: [WiX-users] Check if user exists in UI

2010-12-16 Thread sangeeta1
I cannot use third party CA dlls unfortunately and hence struggling with vbscript. If there is any other means please share. Thanks. On Thu, Dec 16, 2010 at 2:44 PM, dB. [via Windows Installer XML (WiX) toolset] > wrote: > Instead of writing your own, use a CA from http://msiext.codeplex.co

Re: [WiX-users] Check if user exists in UI

2010-12-16 Thread dB .
Instead of writing your own, use a CA from http://msiext.codeplex.com. CheckCredentials: http://code.dblock.org/Source/msiext/1.2/Docs/_check_credentials_8h.html#a1db77a38daed9d05dfaa2bac173ec550 GetUserInfo: http://code.dblock.org/Source/msiext/1.2/Docs/_user_info_8h.html#aba0b3481e2f5612373289

Re: [WiX-users] Building Solution Projects

2010-12-16 Thread Castro, Edwin G. (Hillsboro)
I don’t know what you mean by “ticket”. The usual advice in a scenario like this is to have a master solution that includes all projects in all 4 solutions. Your build process would then build only the master solution. Shared projects build only once in this master solution build. Edwin G. Cas

Re: [WiX-users] Issues with writing to Registry on 64 bit 2008R2 server

2010-12-16 Thread Pound, Robert (CDC/OCOO/ITSO) (CTR)
Thanks to all who have responded. The problem has to do with the user account that is doing the install. My user account is part of the Administrator group on the server. When using my account on the 2008R2 server I can do anything (that I have tried so far) that requires an administrator acc

Re: [WiX-users] Running vbscript in customaction

2010-12-16 Thread sangeeta1
Thanks for the correction. After removing the wscript ref, I am still seeing the same problem. I initially thought maybe reading property from session object is throwing the error, so i hardcoded a value in the variable and tried it again, but it still throws the same error. Is there any way I ca

[WiX-users] Wix: How to set a Feature State “ This Feature Will Not be available”?

2010-12-16 Thread Farrukhw
Hi experts, I've assigned a task in which one sub feature among 4 should be displayed to the user in the state as "This Feature Will Not be available" For instance, I have this feature set:

[WiX-users] Wix: How to set a Feature State “This Feature Will Not be available”?

2010-12-16 Thread Farrukh Waheed
Hi experts, I've assigned a task in which one sub feature among 4 should be displayed to the user in the state as "This Feature Will Not be available" For instance, I have this feature set: I've tri