[WiX-users] Join ECVV Free,Enjoy trade opportunities

2006-11-09 Thread ECVV





  
  

  


  


  


  


  

  
  

  


  
  Join ECVV Free,Enjoy trade opportunities 


  

  

  


  


  

  
  
 our company is chinese leading b2b plateform ,we can offer the latest chinese suppliers and trade needs for you.you can register and post your purchase info. and selling info.freely on our website.Then it can be seen by the global buyers and sellers. I think it will help you find clients with high reliability and quality. And i hope we can be good friends and use our free resources to expand your business online. if you are interested in, just register on http://www.ecvv.com/public/sendemail/tj.asp?q=40. 
  
  
Please click on image or subject below to see the details on ECVV.com. 
  
  
www.ecvv.com




  
  
  


  

  

  


  
  Search on ECVV.com

  

  


  
  
  


   
  

  
  
Search now at ECVV
  !
  
  

  

  



  
 
Selling Leads
Buying Leads
Products
Companies



   

  
  
  


  

  

  
  
 Need Help?
  
If you have a question or concern above,
  please contact
  us. We typically respond to email within one business day.

  

  

  
  
© Since 2002 ECVV.com
  , Inc. All Rights Reserved




  
			  


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CreateObject in C++ for .NET COM interop?

2006-11-09 Thread WenWu Ru
Basically some application specific code needs to be run by the installer 
after installing or before un-installing the application files.  .NET 
Framework is already installed prior to installing the application.  The 
application is a .NET applcation.  "MyCustomActions.dll" contains methods 
that needs to run application specific business logic, therefore have 
dependency on .NET.  These methods are invoked via custom actions during 
install (after InstallFinalize) or uninstall.



From: "Mike Dimmick" <[EMAIL PROTECTED]>
To: "'WenWu Ru'" 
<[EMAIL PROTECTED]>,

Subject: RE: [WiX-users] CreateObject in C++ for .NET COM interop?
Date: Thu, 9 Nov 2006 23:02:45 -

It's strongly recommended to avoid managed code in custom actions. Best
practice is to keep your custom actions entirely self-contained, which
generally means writing them in C++ and statically linking to the C  
runtime

library. That's how all of WiX's custom actions are built.

What does 'MyCustomActions' do? It may be that the tasks it performs can be
performed with native Windows Installer functionality or existing WiX 
custom

actions that were not available through InstallShield.

--
Mike Dimmick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of WenWu Ru
Sent: 09 November 2006 15:59
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] CreateObject in C++ for .NET COM interop?

Our installer includes a .NET assembly component MyCustomActions.dll, which
is marked with !0.NET COM interop!1 in InstallShield.  At installation,
InstallShield runs "regasm MyCustomActions.dll /regfile MyCustomActions.reg
/Codebase" to create registry entries on the target system to allow COM
objects to call the .NET assembly.  MyCustomActions.dll assembly contains a
class that is derived from System.ComponentModel.Component and is marked
with [ComVisible(true)].  A few custom actions written in InstallScript
calls CreateObject to create an object instance and invokes the functions.
For example:

set ojb = CreateObject("MyCustomActions.TestClass1");
result = obj.TestMethod1();

Now that I am converting it to WIX, I need to write the equivalent code in
C++ for CreateObject.  From what I understand, I need to import the type
library for MyCustomActions.dll and create an interface pointer with
CoCreateInstance.  However, MyCustomActions.dll assembly does not 
explicitly
declare any interface, and currently no type library is created in the 
build

or install process.  How does CreateObject create the instance and invoke
the method?  I am hoping that I do not have to modify the source code and
build script for MyCustomActions.dll.

Thanks,
-WenWu
P.S.  Instead of importing the type library, another idea I tried but 
failed
is to import the ProgID, e.g. #import "MyCustomActions.TestClass1".  Maybe 
I

am not using the correct import attributes?

_
All-in-one security and maintenance for your PC.  Get a free 90-day trial!
http://clk.atdmt.com/MSN/go/msnnkwlo005002msn/direct/01/?href=http://www
.windowsonecare.com/?sc_cid=msn_hotmail





_
Find a local pizza place, music store, museum and more…then map the best 
route!  http://local.live.com?FORM=MGA001



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Specifying component install order

2006-11-09 Thread Mike Dimmick
I think I can only help by pointing you to the email address at the bottom
of http://www.microsoft.com/whdc/driver/install/difxtools.mspx:
[EMAIL PROTECTED]

-- 
Mike Dimmick 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Calin Iaru
Sent: 09 November 2006 13:44
To: WiX-users
Subject: [WiX-users] Specifying component install order

I can actually try to install the child device driver before the bus driver.

Is there a way to specify the sequence of file installations? In this case,
it would be an advantage to have a component installed before another
component.

Best regards,
   Calin


Hello,

 I am working on a Setup Wizard made with Windows Installer on XML and
DIFxApp ver 2.01. The setup can install 2 driver packages, where one of the
drivers is a bus driver, and the second one is a regular device driver for a
child device. It seems that from time to time, a "New Hardware Wizard" will
pop up after installing the bus driver. I would like to prevent that from
happening as it requires more user input. I have tried to:
 - place the drivers in the same install directory; this fails because
DIFxApp allows only one inf file to be placed into that temporary folder
 - place the drivers into separate directories; "New Hardware Wizard"
still appears
 - use SetupCopyOEMInf from a Custom Action executed before the driver
is installed; it seems that SetupCopyOEMInf is called too soon and the
source does not exist. If possible, please tell me before or after which
Custom Action should it be called.
 - use CopyInf inside the bus driver. The operation fails if the child
device driver's inf file is not on the same directory (because the INF path
is not known).

 I appreciate your assistance.

Best regards,
 Calin


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CreateObject in C++ for .NET COM interop?

2006-11-09 Thread Mike Dimmick
It's strongly recommended to avoid managed code in custom actions. Best
practice is to keep your custom actions entirely self-contained, which
generally means writing them in C++ and statically linking to the C  runtime
library. That's how all of WiX's custom actions are built.

What does 'MyCustomActions' do? It may be that the tasks it performs can be
performed with native Windows Installer functionality or existing WiX custom
actions that were not available through InstallShield.

-- 
Mike Dimmick 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of WenWu Ru
Sent: 09 November 2006 15:59
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] CreateObject in C++ for .NET COM interop?

Our installer includes a .NET assembly component MyCustomActions.dll, which
is marked with !0.NET COM interop!1 in InstallShield.  At installation,
InstallShield runs "regasm MyCustomActions.dll /regfile MyCustomActions.reg
/Codebase" to create registry entries on the target system to allow COM
objects to call the .NET assembly.  MyCustomActions.dll assembly contains a
class that is derived from System.ComponentModel.Component and is marked
with [ComVisible(true)].  A few custom actions written in InstallScript
calls CreateObject to create an object instance and invokes the functions.  
For example:

set ojb = CreateObject("MyCustomActions.TestClass1");
result = obj.TestMethod1();

Now that I am converting it to WIX, I need to write the equivalent code in 
C++ for CreateObject.  From what I understand, I need to import the type
library for MyCustomActions.dll and create an interface pointer with
CoCreateInstance.  However, MyCustomActions.dll assembly does not explicitly
declare any interface, and currently no type library is created in the build
or install process.  How does CreateObject create the instance and invoke
the method?  I am hoping that I do not have to modify the source code and
build script for MyCustomActions.dll.

Thanks,
-WenWu
P.S.  Instead of importing the type library, another idea I tried but failed
is to import the ProgID, e.g. #import "MyCustomActions.TestClass1".  Maybe I
am not using the correct import attributes?

_
All-in-one security and maintenance for your PC.  Get a free 90-day trial! 
http://clk.atdmt.com/MSN/go/msnnkwlo005002msn/direct/01/?href=http://www
.windowsonecare.com/?sc_cid=msn_hotmail




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Message Queue Help Needed

2006-11-09 Thread Mike Dimmick
I *think* Emma's problem is that using the '.' syntax installs the queue
locally for the node that you're running setup on; to make a
failover-tolerant queue, you need to use the cluster's name (attached to a
virtual shared IP address) in the queue name. That's what isn't working.

-- 
Mike Dimmick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of david adams
Sent: 09 November 2006 16:24
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Message Queue Help Needed

Emma:

Like Mike, I do not have much experience with clustering, but I would
suggest trying a Public Queue as well.  The Public Queue is addressable via
the machine IP and may better meet your needs.

Likewise, we have a separate MSI that runs on the MessageQueue server that
installs the queue.  You can do a similar thing by having the queue as a
separate feature that is only selected on the target machine.


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] error LGHT0039 with dts.msm

2006-11-09 Thread Mike Dimmick
If you don't have any other custom actions, WiX may not actually create the
CustomAction table, which might be what's causing the merge to fail. You can
force a table to be created if it would otherwise be omitted by using the
 element:



This ensures that the table already exists in the MSI before the merge is
performed.

As Bob says, MSDE merge modules are now deprecated due to the many problems
with them. You can find a list at
http://www.installsite.org/pages/en/bugs_msi.htm#wimsm.

-- 
Mike Dimmick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 09 November 2006 16:15
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] error LGHT0039 with dts.msm

Hi,
anyone tried using a merge module from MSDE 2000 SP3 ?
I'm using dts.msm but light gives following error:
"light.exe : fatal error LGHT0039: Merge completed, but there was an error.
See log file in..."

Content of Logfile:

Opened MSI Database: C:\Dokumente und Einstellungen\cthiel\Lokale
Einstellungen\Temp\qqvtsbeg\QDataArchiv-1.0.msi
Opened Merge Module: MergeModule\dts.msm Merging Table: ModuleSignature
   o Merging row: DTS.55BCEE28_CDBF_4D7F_97C4_082D6B58B9FF
Merging Table: Directory
>> Error: Unable to create CustomAction table in database.
Extracting MergeModule CAB to C:\Dokumente und Einstellungen\cthiel\Lokale
Einstellungen\Temp\qqvtsbeg\49F54A7D.module.cab.
C:\Dokumente und Einstellungen\cthiel\Lokale
Einstellungen\Temp\qqvtsbeg\49F54A7D.module.cab extracted successfully.
Closed Merge Module.
Opened Merge Module: MergeModule\dts_res.msm Merging Table: ModuleSignature
   o Merging row: DTS1033.9240E1C0_49D2_40A2_93CE_E62CD8B48DDC
Merging Table: Directory
>> Error: Unable to create CustomAction table in database.
Extracting MergeModule CAB to C:\Dokumente und Einstellungen\cthiel\Lokale
Einstellungen\Temp\qqvtsbeg\A3C4C6BC.module.cab.
C:\Dokumente und Einstellungen\cthiel\Lokale
Einstellungen\Temp\qqvtsbeg\A3C4C6BC.module.cab extracted successfully.
Closed Merge Module.
Committed changes to MSI Database.
Closed MSI Database.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Com LocalServer32 in 8.3 format

2006-11-09 Thread Mike Dimmick
There are weekly builds at http://wix.sourceforge.net/releases. Have you
tried the latest of those?

-- 
Mike Dimmick 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dyson, Peter
Sent: 09 November 2006 08:59
To: Bob Arnson
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Com LocalServer32 in 8.3 format

I upgraded to the latest binary build on SourceForge (3.0.2211.0).

A bit painful as tallow has been deprecated and Heat is very much different,
but have it working again in my headless build.

Unfortunately the registry entries are still in [!MyServerExe] format not
[#MyServerExe].

Maybe the next build then.

Peter 

-Original Message-
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: 07 November 2006 16:01
To: Dyson, Peter
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Com LocalServer32 in 8.3 format

Dyson, Peter wrote:
> I am currently using v3.0.1703.0 a bit old in the tooth now but have 
> not had time to use any later.
>   

I'm not sure exactly when the change was made, but the current version uses
[#] syntax. BTW, if you use WiX v3, you should consider taking drops more
often. As v3 is still in development, schema changes still happen and if you
wait too long, you can get hit with a lot at once. The WixCop tool upgrades
the schema so it's not a manual job at least.

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



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Need help to create a virtual directory

2006-11-09 Thread david adams
Ravi:

I  think that this is more of an IIS issue than one of WiX or the Windows 
Installer.

IIS references websites in its meta-table by .

By rule, you can have only one running web site under a specific combination 
at a time.  They are referenced by an positional array (0, 1, 2, 3, etc.).  
On a IIS 6 server in its "default" configuration, Default Website is at 
address "All Unassigned" (which is the first IP address on the box) at Port 
80 with no host header.

The reason that it worked when you changed all port numbers is because to 
IIS (& the joined constraint that the IP / Port /  creates), 
you created unique entries.  Before that change, your actions would be 
getting done onto the already existing website.

David Adams
MSN MessengerID: [EMAIL PROTECTED]





>From: "Ravi Yellasiri (Aditi)" <[EMAIL PROTECTED]>
>To: John Watson <[EMAIL PROTECTED]>,"Lerudjordet, Morten Minge" 
><[EMAIL PROTECTED]>
>CC: "wix-users@lists.sourceforge.net" 
>Subject: Re: [WiX-users] Need help to create a virtual directory
>Date: Thu, 9 Nov 2006 11:22:30 -0800
>MIME-Version: 1.0
>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by 
>bay0-mc2-f1.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Thu, 9 
>Nov 2006 11:23:00 -0800
>Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by 
>sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid 37C6012691; Thu,  9 Nov 
>2006 11:22:59 -0800 (PST)
>Received: from sc8-sf-mx1-b.sourceforge.net 
>([10.3.1.91]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net 
>with esmtp (Exim 4.43)id 1GiFUG-0007xM-Gbfor 
>wix-users@lists.sourceforge.net; Thu, 09 Nov 2006 11:22:56 -0800
>Received: from mail2.microsoft.com ([131.107.115.215] 
>helo=smtp.microsoft.com)by mail.sourceforge.net with esmtps 
>(TLSv1:RC4-MD5:128) (Exim 4.44)id 1GiFUD-Lv-EFfor 
>wix-users@lists.sourceforge.net; Thu, 09 Nov 2006 11:22:56 -0800
>Received: from mailout6.microsoft.com (157.54.69.150) 
>byTK5-EXGWY-E802.partners.extranet.microsoft.com (10.251.56.168) 
>withMicrosoft SMTP Server id 8.0.685.15; Thu, 9 Nov 2006 11:22:36 -0800
>Received: from IGT-HUB-01.redmond.corp.microsoft.com ([157.54.69.148]) 
>bymailout6.microsoft.com with Microsoft SMTPSVC(6.0.3790.1830); Thu, 9 
>Nov2006 11:22:34 -0800
>Received: from TK5-EXHUB-C102.redmond.corp.microsoft.com ([157.54.70.72]) 
>byIGT-HUB-01.redmond.corp.microsoft.com over TLS secured channel 
>withMicrosoft SMTPSVC(6.0.3790.2786);   Thu, 9 Nov 2006 11:22:33 -0800
>Received: from NA-EXMSG-C132.redmond.corp.microsoft.com ([157.54.72.82]) 
>byTK5-EXHUB-C102.redmond.corp.microsoft.com ([157.54.70.72]) with mapi;Thu, 
>9 Nov 2006 11:22:31 -0800
>X-Message-Info: LsUYwwHHNt1eOjnWK209tC7u8zEs/+hgKqY8LQzhjUs=
>Thread-Topic: [WiX-users] Need help to create a virtual directory
>Thread-Index: AccDmty8EUumrCvuSauOBviGTJMTXQAldPOQ
>Accept-Language: en-US
>Content-Language: en-US
>X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US
>X-OriginalArrivalTime: 09 Nov 2006 19:22:33.0457 
>(UTC)FILETIME=[68181E10:01C70434]
>X-Spam-Score: 0.2 (/)
>X-Spam-Report: Spam Filtering performed by sourceforge.net.See 
>http://spamassassin.org/tag/ for more details.Report problems 
>tohttp://sf.net/tracker/?func=add&group_id=1&atid=210.2 HTML_60_70  
>BODY: Message is 60% to 70% HTML0.0 HTML_MESSAGE   BODY: 
>HTML included in message
>X-BeenThere: wix-users@lists.sourceforge.net
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "General discussion for Windows Installer XML 
>toolset."
>List-Unsubscribe: 
>,PROTECTED]>
>List-Archive: 
>
>List-Post: 
>List-Help: 
>List-Subscribe: 
>,PROTECTED]>
>Errors-To: [EMAIL PROTECTED]
>Return-Path: [EMAIL PROTECTED]
>
>Hi All,
>
>Thanks for the quick response. I really appreciate it. Sorry, I forgot to 
>append attachment. Please find one. I am using Wix 2.0 to develop the MSI. 
>Looks the sample that Morten Minge Lerudjordet sent is Wix 3.0. One of the 
>comments ""  sounded me interesting. I have different sites that are 
>installed on port 80. That means only one site is going to run at anytime. 
>I changed the port numbers of all the sites and then my MSI worked fine. 
>Does it mean that Wix works only based on the port number rather than Web 
>Site name? Please find the attached file for code. I scrubbed it little. So 
>there might be some typos.
>
>Thanks a lot for your time.
>
>Ravi.
>
>Ravi K Reddy Yellasiri
>
>Aditi Staffing at Microsoft
>
>MSN
>(425) 421-2219
>
>From: John Watson [mailto:[EMAIL PROTECTED]
>Sent: Wednesday, November 08, 2006 5:03 PM
>To: Lerudjordet, Morten Minge
>Cc: wix-users@lists.sourceforge

[WiX-users] Maintaining File and Folder ACLs

2006-11-09 Thread Tina Basinger
I have a situation where I want to maintain the file and folder ACLs from a previous install during an upgrade.
  So, if any custom ACLs have been added or removed after the initial install, the upgrade will let them be.
 
The existing install sets all of the file ALCs through the Permission element.  I was thinking that if we set the Append attribute on the permission element to yes, our upgrade would be able to add to the existing settings.
  I found that this seems to work fine, as long as the install is configuring all of the users with permissions.  However, if additional users have been customized to have permission to a file, and then the upgrade doesn't set permissions for that group, that group no longer has any permissions after the upgrade.

  
We also might need to support the case that no permissions are changed during an upgrade, even if the existing file doesn't have the minimal ACLs that the upgrade would set.
  
  
Can anyone offer any advice on either of the above scenarios?  

Is there any way to maintain and add to existing permissions, even maintaining additional users that have been given permission to the file?

Is there any way to condition permissions to not be configured at all if a file already exists, but to set the permissions specified if the file doesn't exist?

 
Thanks!
-Tina
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using wixui_minimal and wixui.wixlib

2006-11-09 Thread Aaron Khoo
Never mind. Figured it out thanks to Live Search and Mike Dimmick's reply to a similar question previously. 
 
Setting the license file and bitmaps are done through -d arguments to light.exe. For example,
 
-dWixUILicenseRtf=
 
Other useful args I found in common.wxs are:
 
WixUIBannerBmp
WixUIDialogBmpWixUIExclamationIcoWixUIInfoIcoWixUINewIcoWixUIUpIco 
Thanks,
Aaron 
On 11/9/06, Aaron Khoo <[EMAIL PROTECTED]> wrote: 

Awesome. Thanks, Bob. One more question: I'm looking to overwrite default images and license text in the MSI. Using the bitmaps directory doesn't seem to work. Could you provide some insight?
 
BTW, the online manual should also references the old wixui.wixlib. So it also needs to be cleaned up. Is there a bug filed on this already?
 
Thanks,
Aaron 

On 11/9/06, Bob Arnson <
[EMAIL PROTECTED]> wrote: 


Aaron Khoo wrote: 

Hi there, I was trying to use the WixUI dialog library in a simple application installer. Within the manual page on 
http://wix.sourceforge.net/manual-wix2/WixUI_dialog_library.htm , it talks about adding wixui.wixlib and wixui_en-us.wxl to the light command line. I was able to find the wxl files in the source zip file, but I can't for the life of me find the 
wixui.wixlib file. If you're using WiX v3, see the attached message for change information.-- 
sig://boB
http://bobs.org-- Forwarded message --From: Bob Arnson <
 [EMAIL PROTECTED]>To: "YungWei.Chen" <[EMAIL PROTECTED]>Date: Wed, 08 Nov 2006 19:11:55 -0800
Subject: Re: [WiX-users] Missing wixui.wixlib in version 3.0
YungWei.Chen wrote: 

    I'm following the tutorial to create an installer using the latest WiX version, but I couldn't find wixui.wixlib file. Please tell me where to find it.
Gabor's tutorial uses WiX v2. WiX v3 uses WixUIExtension to provide the WixUI library. Use "-ext WixUIExtension -cultures:en-us" to build.

    Btw, I found that the chm file is not working properly in some of the binaries of v2 and v3.Can you describe how it doesn't work properly?
-- 
sig://boB
http://bobs.org
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Need help to create a virtual directory

2006-11-09 Thread Ravi Yellasiri (Aditi)








Hi All,

 

Thanks for the quick response. I really
appreciate it. Sorry, I forgot to append attachment. Please find one. I am
using Wix 2.0 to develop the MSI. Looks the sample that Morten Minge Lerudjordet
sent is Wix 3.0. One of the comments “”  sounded
me interesting. I have different sites that are installed on port 80. That means
only one site is going to run at anytime. I changed the port numbers of all the
sites and then my MSI worked fine. Does it mean that Wix works only based on
the port number rather than Web Site name? Please find the attached file for
code. I scrubbed it little. So there might be some typos.

 

Thanks a lot for your time.

 

Ravi.

 



Ravi K Reddy Yellasiri



Aditi Staffing at Microsoft





MSN

(425) 421-2219













From: John Watson
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 08, 2006
5:03 PM
To: Lerudjordet, Morten Minge
Cc:
wix-users@lists.sourceforge.net; Ravi Yellasiri (Aditi)
Subject: Re: [WiX-users] Need help
to create a virtual directory



 



I would add one more thing to Morten's post. The WebSite tag acts
differently when it's nested under a Component and when it's not. If it's under
a Component, WiX will cause it to create a new website. If it's not under a
Component but under a Product, Fragment, or Module then the WebSite tag acts as
a "locator" meaning it will locate an existing web site. For example,
if you put it under Product or Fragment and then use "Default Web
Site" it'll find the default IIS web site and add your virtual under it
instead of creating a new website on a new port. See the docs here for
more info.





 





Regards,





John

 





On 11/8/06, Lerudjordet,
Morten Minge <[EMAIL PROTECTED]>
wrote: 

If you do a search in the mailing list you will find the answers. I was
not able to get you'r attached file, so I can't see where the problem 
is. Here is a sample of how you do it:







  Directory="INSTALLPATH"
WebSite="InstallSite" DirProperties="DirProps">



WebAppPool="DefaultAppPool" />







 

   
   

 

Also remember to save the port number in registry or you will not be
able to uninstall.

Morten

Date: Wed, 8 Nov 2006 09:47:58 -0800
From: "Ravi Yellasiri (Aditi)" < [EMAIL PROTECTED]>
Subject: [WiX-users] Need help to create a virtual directory
To: "wix-users@lists.sourceforge.net"
   < wix-users@lists.sourceforge.net>
Message-ID:

<[EMAIL PROTECTED]

rosoft.com>

Content-Type: text/plain; charset="us-ascii"

Hi,

I am new to the Wix development and trying to develop an MSI. Following
are the core functionalities of my MSI. 

Copy config files to destination directory (webroot)
Copy a .dll files to the destination
Create an app pool "MyAppPool"
Create a (IIS 6.0) virtual directory under an existing web site's web
directory and point it to the "MyAppPool"

Here is a brief structure of IIS Manager.

Application Pools
 | AppPool1 (App Pool)
 | AppPool2 (App Pool)
 | MyAppPool
 :
 : 
Web Sites
 | Default Website (Web Site)
 | MySite (Web Site)
   | ServiceLibrary
(Web Dir)

| My Service (Virtual Directory)


After I run my MSI, It is supposed to create an Application pool with 
the name "MyAppPool"
Create an virtual directory "My Service" under the preexisting web
site
"MySite => ServiceLibrary" and set the app pool to
"MyAppPool"

After I ran this MSI. It is copying the files into right directory 
(physical) , but creating the Web Directory "ServiceLibrary" under
the
"Default Web Site" and creating Virtual Directory "My
Service" under
that.

Lets say If I delete the "Default Web Site" and Install it again, It
is 
installing it under another different web site.

Please find the attached .xml file for my wxs content. I need to wrap
this up ASAP. Please help me to create a virtual directory under right
web site.

Thanks Inadvance!!!

Ravi.

Ravi K Reddy Yellasiri

Aditi Staffing at Microsoft
< http://www.aditistaffing.com/>
MSN
(425) 421-2219

-- next part --
An HTML attachment was scrubbed...
URL:
http://sourceforge.net/mailarchive/forum.php?forum=wix-users/attachments
/20061108/38f06b07/attachment.html

--

 
-
Using Tomcat but need to do more? Need to support web services,
security?
Get stuff done quickly with pre-integrated technology to make your job
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642

--

___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


End of WiX-users Digest, Vol 6, Issue 39


- 
Using Tomc

Re: [WiX-users] Using wixui_minimal and wixui.wixlib

2006-11-09 Thread Aaron Khoo
Awesome. Thanks, Bob. One more question: I'm looking to overwrite default images and license text in the MSI. Using the bitmaps directory doesn't seem to work. Could you provide some insight?
 
BTW, the online manual should also references the old wixui.wixlib. So it also needs to be cleaned up. Is there a bug filed on this already?
 
Thanks,
Aaron 
On 11/9/06, Bob Arnson <[EMAIL PROTECTED]> wrote:

Aaron Khoo wrote: 

Hi there, I was trying to use the WixUI dialog library in a simple application installer. Within the manual page on 
http://wix.sourceforge.net/manual-wix2/WixUI_dialog_library.htm , it talks about adding wixui.wixlib and wixui_en-us.wxl to the light command line. I was able to find the wxl files in the source zip file, but I can't for the life of me find the 
wixui.wixlib file. If you're using WiX v3, see the attached message for change information.-- 
sig://boB
http://bobs.org-- Forwarded message --From: Bob Arnson <
[EMAIL PROTECTED]>To: "YungWei.Chen" <[EMAIL PROTECTED]>Date: Wed, 08 Nov 2006 19:11:55 -0800Subject: Re: [WiX-users] Missing wixui.wixlib
 in version 3.0
YungWei.Chen wrote: 

    I'm following the tutorial to create an installer using the latest WiX version, but I couldn't find wixui.wixlib file. Please tell me where to find it.
Gabor's tutorial uses WiX v2. WiX v3 uses WixUIExtension to provide the WixUI library. Use "-ext WixUIExtension -cultures:en-us" to build.

    Btw, I found that the chm file is not working properly in some of the binaries of v2 and v3.Can you describe how it doesn't work properly?
-- 
sig://boB
http://bobs.org
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Com LocalServer32 in 8.3 format

2006-11-09 Thread Bob Arnson
Dyson, Peter wrote:
> Unfortunately the registry entries are still in [!MyServerExe] format
> not [#MyServerExe].
>   

Can you open a bug and attach the files needed to reproduce?

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



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using wixui_minimal and wixui.wixlib

2006-11-09 Thread Bob Arnson




Aaron Khoo wrote:

  Hi there, I was trying to use the WixUI dialog library in a
simple application installer. Within the manual page on http://wix.sourceforge.net/manual-wix2/WixUI_dialog_library.htm
  , it talks about adding wixui.wixlib and wixui_en-us.wxl to the
light command line. I was able to find the wxl files in the source zip
file, but I can't for the life of me find the wixui.wixlib file. 


If you're using WiX v3, see the attached message for change information.
-- 
sig://boB
http://bobs.org


--- Begin Message ---




YungWei.Chen wrote:

  
  
     
I'm following the tutorial to create an installer using the latest WiX
version, but I couldn't find wixui.wixlib file. Please tell me where to
find it.


Gabor's tutorial uses WiX v2. WiX v3 uses WixUIExtension to provide the
WixUI library. Use "-ext WixUIExtension -cultures:en-us" to build.


     
Btw, I found that the chm file is not working properly in some of the
binaries of v2 and v3.


Can you describe how it doesn't work properly?

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


--- End Message ---
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] error LGHT0039 with dts.msm

2006-11-09 Thread Bob Arnson
[EMAIL PROTECTED] wrote:
> anyone tried using a merge module from MSDE 2000 SP3 ?
>   

FWIW, the MSDE merge modules aren't recommended. See 
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/distsql/distsql_8yeq.asp
 
for details.

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



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Upgrades... during RemoveExistingProducts action CA's don't have access to _any_ properties?

2006-11-09 Thread Rob MacFadyen
Hey all,

I'm trying to implement handling for major upgrades for a web application
installation. 

The use case I'm currently testing is:
1. User installs v1.0.0 of the application
- Install gathers information about the virtual
  directory and database server
- App is installed, vdir created, db created,
  web.config is updated with connection string
  and encrypted

2. User installs v1.0.1 of the application
- no prompts for virtual directory or database
  server (upgrading... should use existing
  vdir and db).
- Old version is removed as part of the install.

The challenge I'm facing is the web.config file... I _need_ to keep the
current version from the v1.0.0 install.

So... I've decided that during Uninstall, if uninstalling because of a
backup, a backup of the web.config file will be made (filesystemobject
copyfile). This isn't working out at all... the CA seem to get the TARGETDIR
property.

Here's the backup CA definition:




Here's the relevant InstallExecuteSequence entries:



... snip ...




  REMOVE="ALL" AND UPGRADINGPRODUCTCODE



In the VBScript I have the following debug messages:

msgbox "CustomActionData: " & Session.Property("CustomActionData")
msgbox "TARGETDIR: " & Session.Property("TARGETDIR")

Both of which display empty strings!


So... from my point of view... it looks like an uninstall that is initiated
by RemoveExistingProducts doesn't quite operate like a normal uninstall...
but that doesn't make much sense.

Anyone have any suggestions?

Regards,

Rob 




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Message Queue Help Needed

2006-11-09 Thread david adams
Emma:

Like Mike, I do not have much experience with clustering, but I would 
suggest trying a Public Queue as well.  The Public Queue is addressable via 
the machine IP and may better meet your needs.

Likewise, we have a separate MSI that runs on the MessageQueue server that 
installs the queue.  You can do a similar thing by having the queue as a 
separate feature that is only selected on the target machine.

David Adams
MSN MessengerID: [EMAIL PROTECTED]





>From: "Mike Dimmick" <[EMAIL PROTECTED]>
>To: "Emma Hanna" <[EMAIL PROTECTED]>,
>Subject: Re: [WiX-users] Message Queue Help Needed
>Date: Thu, 9 Nov 2006 10:03:47 -
>MIME-Version: 1.0
>Received: from lists-outbound.sourceforge.net ([66.35.250.225]) by 
>bay0-mc10-f18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Thu, 
>9 Nov 2006 02:04:13 -0800
>Received: from sc8-sf-list1-new.sourceforge.net (unknown [10.3.1.93])by 
>sc8-sf-spam2.sourceforge.net (Postfix) with ESMTPid C99A01282F; Thu,  9 Nov 
>2006 02:04:02 -0800 (PST)
>Received: from sc8-sf-mx2-b.sourceforge.net 
>([10.3.1.92]helo=mail.sourceforge.net)by sc8-sf-list1-new.sourceforge.net 
>with esmtp (Exim 4.43)id 1Gi6lM-0001Wz-B9for 
>wix-users@lists.sourceforge.net; Thu, 09 Nov 2006 02:04:00 -0800
>Received: from 81-5-143-246.dsl.eclipse.net.uk 
>([81.5.143.246]helo=mail.mnetics.co.uk)by mail.sourceforge.net with esmtp 
>(Exim 4.44) id 1Gi6lJ-0002rW-Pwfor wix-users@lists.sourceforge.net; Thu, 09 
>Nov 2006 02:04:00 -0800
>X-Message-Info: LsUYwwHHNt3KSUNgwjzOAnA2/V1GeK7sjypTIT3myjM=
>X-Spam-Score: 1.0 (+)
>X-Spam-Report: Spam Filtering performed by sourceforge.net.See 
>http://spamassassin.org/tag/ for more details.Report problems 
>tohttp://sf.net/tracker/?func=add&group_id=1&atid=211.0 
>FORGED_RCVD_HELO   Received: contains a forged HELO0.0 HTML_MESSAGE 
>   BODY: HTML included in message
>X-BeenThere: wix-users@lists.sourceforge.net
>X-Mailman-Version: 2.1.8
>Precedence: list
>List-Id: "General discussion for Windows Installer XML 
>toolset."
>List-Unsubscribe: 
>,PROTECTED]>
>List-Archive: 
>
>List-Post: 
>List-Help: 
>List-Subscribe: 
>,PROTECTED]>
>Errors-To: [EMAIL PROTECTED]
>Return-Path: [EMAIL PROTECTED]
>X-OriginalArrivalTime: 09 Nov 2006 10:04:13.0332 (UTC) 
>FILETIME=[6876B540:01C703E6]
>
>Please keep wix-users on the list, that allows others to contribute.
>
>I'm afraid I don't have any experience with message queuing or with
>clustering, so I can't really tell you whether what you're doing is
>acceptable or not. You might need to create a public, rather than
>private, queue.
>
>The custom action which creates queues should log information to the
>Windows Installer log. Try turning on verbose logging (msiexec /l*v) and
>look for 'Failed to create message queue, key: AuditReceiveQueue' in the
>log. The lines immediately before should indicate why creating the
>message queue failed.
>
>If you post the relevant log entries, it might be possible to work out
>why it's failing.
>
>--
>Mike Dimmick
>
>
>
>From: Emma Hanna [mailto:[EMAIL PROTECTED]
>Sent: 09 November 2006 04:45
>To: Mike Dimmick
>Subject: RE: [WiX-users] Message Queue Help Needed
>
>
>
>Hi Mike
>
>
>
>Thank you for your response below, however I'm still requiring help. I
>am actually trying to create the message queue on the cluster as opposed
>to one of the nodes - do you have any advice for how I could do this? (I
>have tried setting impersonate and it still fails)
>
>
>
>Many Thanks
>
>Emma.
>
>
>
>
>
>From: Mike Dimmick [mailto:[EMAIL PROTECTED]
>Sent: Thursday, 21 September 2006 7:13 PM
>To: Emma Hanna; wix-users@lists.sourceforge.net
>Subject: RE: [WiX-users] Message Queue Help Needed
>
>
>
>The deferred execution stage of Windows Installer - when the
>installation script actually runs - runs using the local computer's
>LocalSystem security context. This only has the network credentials of
>the machine account (in an Active Directory domain) or NULL permissions
>(if not on a domain). You most likely don't have permission to create a
>remote queue using these credentials.
>
>
>
>It's possible to make a custom action run as the user who ran the
>installer (Impersonate='yes', and I think this is the default - it would
>be helpful if the manual at wix.sourceforge.net listed what the defaults
>are), and this may be the case with the custom action which processes
>the  elements, but again this user would need to have
>whatever permissions are necessary to create a remote message queue.
>
>
>
>I think it would be better to make the message queue a Feature and the
>ability to select only that to install. Then the user would have to run
>the MSI on the machine t

[WiX-users] boost

2006-11-09 Thread capsule flashback




Andrei Guitar Bright Eyesindie pop Fort rap 
a.Monitor vulnerable areas alerts a programs Solsuite? Surgeon boost phones 
iq am!Released in its operating system of to hardware Read an editors 
in.Phones is iq of offers maps.Popups am keep am at or bay lean fast 
opensource a approach?Go Were turning Cnet celebrates th.Search a Manage 
extensive music Xdrive access photos videos anywhere. Brain surgeon boost phones 
iq offers maps directions instant or.Rules roosts Three experts weigh their 
opinions a.Artists Toprated Help Mpsspyware Removalall rss. Future vs in 
that two are.Favorites ba Voice. Surf Siege ii demo Journey toward 
Elven?Shrine first action Rpgraquo user favorites ba in Voice.Now spy 
Sweeper new in. Blackberry in Cell Artists Toprated Help is Mpsspyware 
am.Shrine first action Rpgraquo user favorites ba in Voice. Opera Browse 
interface mouse in gestures?Decade time am capsule flashback look ahead 
future.See all picks fa a?Chasing Daysposted in Living Stereoat cmj year 
turns.Yim Live using is custom. Tour raquo more about.Monitor vulnerable 
areas alerts a programs Solsuite?Removalall rss feeds pricestips Tvabout 
copy Networks am. Block or popups am keep at bay lean.Password ce is 
Search!Block or popups am keep at bay lean.}
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] error LGHT0039 with dts.msm

2006-11-09 Thread c . thiel
Hi,
anyone tried using a merge module from MSDE 2000 SP3 ?
I'm using dts.msm but light gives following error:
"light.exe : fatal error LGHT0039: Merge completed, but there was an
error. See log file in..."

Content of Logfile:

Opened MSI Database: C:\Dokumente und Einstellungen\cthiel\Lokale
Einstellungen\Temp\qqvtsbeg\QDataArchiv-1.0.msi
Opened Merge Module: MergeModule\dts.msm
Merging Table: ModuleSignature
   o Merging row: DTS.55BCEE28_CDBF_4D7F_97C4_082D6B58B9FF
Merging Table: Directory
>> Error: Unable to create CustomAction table in database.
Extracting MergeModule CAB to C:\Dokumente und
Einstellungen\cthiel\Lokale
Einstellungen\Temp\qqvtsbeg\49F54A7D.module.cab.
C:\Dokumente und Einstellungen\cthiel\Lokale
Einstellungen\Temp\qqvtsbeg\49F54A7D.module.cab extracted successfully.
Closed Merge Module.
Opened Merge Module: MergeModule\dts_res.msm
Merging Table: ModuleSignature
   o Merging row: DTS1033.9240E1C0_49D2_40A2_93CE_E62CD8B48DDC
Merging Table: Directory
>> Error: Unable to create CustomAction table in database.
Extracting MergeModule CAB to C:\Dokumente und
Einstellungen\cthiel\Lokale
Einstellungen\Temp\qqvtsbeg\A3C4C6BC.module.cab.
C:\Dokumente und Einstellungen\cthiel\Lokale
Einstellungen\Temp\qqvtsbeg\A3C4C6BC.module.cab extracted successfully.
Closed Merge Module.
Committed changes to MSI Database.
Closed MSI Database.



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] CreateObject in C++ for .NET COM interop?

2006-11-09 Thread WenWu Ru
Our installer includes a .NET assembly component MyCustomActions.dll, which 
is marked with ¡°.NET COM interop¡± in InstallShield.  At installation, 
InstallShield runs "regasm MyCustomActions.dll /regfile MyCustomActions.reg 
/Codebase" to create registry entries on the target system to allow COM 
objects to call the .NET assembly.  MyCustomActions.dll assembly contains a 
class that is derived from System.ComponentModel.Component and is marked 
with [ComVisible(true)].  A few custom actions written in InstallScript 
calls CreateObject to create an object instance and invokes the functions.  
For example:


   set ojb = CreateObject("MyCustomActions.TestClass1");
   result = obj.TestMethod1();

Now that I am converting it to WIX, I need to write the equivalent code in 
C++ for CreateObject.  From what I understand, I need to import the type 
library for MyCustomActions.dll and create an interface pointer with 
CoCreateInstance.  However, MyCustomActions.dll assembly does not explicitly 
declare any interface, and currently no type library is created in the build 
or install process.  How does CreateObject create the instance and invoke 
the method?  I am hoping that I do not have to modify the source code and 
build script for MyCustomActions.dll.


Thanks,
-WenWu
P.S.  Instead of importing the type library, another idea I tried but failed 
is to import the ProgID, e.g. #import "MyCustomActions.TestClass1".  Maybe I 
am not using the correct import attributes?


_
All-in-one security and maintenance for your PC.  Get a free 90-day trial! 
http://clk.atdmt.com/MSN/go/msnnkwlo005002msn/direct/01/?href=http://www.windowsonecare.com/?sc_cid=msn_hotmail



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Detecting if a service is running or not

2006-11-09 Thread Alexander Biryukov
Wix has no such opportunity. It is necessary to write new custom action.

--
Alexander Biryukov

On Thu, 09 Nov 2006 06:15:44 +0300, Harvey Werner <[EMAIL PROTECTED]>  
wrote:

> Can anyone tell me how to use WiX to detect if a Windows service is
> running?
> --
> Harvey Werner
>


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing to GAC

2006-11-09 Thread Alexander Biryukov
Write this for install .Net assembly to GAC :


 


During uninstall this assembly will be removed from GAC by Windows  
Installer.

--
Alexander Biryukov


On Thu, 09 Nov 2006 15:40:11 +0300, vij <[EMAIL PROTECTED]> wrote:

> Hi all,
>  Using WiX, how to install a file to GAC? And also, during the  
> un-installation, how to un-install the file which is in GAC?
>  Any pointers/resources would be of great help!!
>  thanks
>   Vij
>

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Specifying component install order

2006-11-09 Thread Calin Iaru
I can actually try to install the child device driver before the bus
driver.

Is there a way to specify the sequence of file installations? In this 
case, it would be an advantage to have a component installed before
another component.

Best regards,
   Calin


Hello,

 I am working on a Setup Wizard made with Windows Installer on XML
and DIFxApp ver 2.01. The setup can install 2 driver packages, where one
of the drivers is a bus driver, and the second one is a regular device
driver for a child device. It seems that from time to time, a "New
Hardware Wizard" will pop up after installing the bus driver. I would
like to prevent that from happening as it requires more user input. I
have tried to:
 - place the drivers in the same install directory; this fails
because DIFxApp allows only one inf file to be placed into that
temporary folder
 - place the drivers into separate directories; "New Hardware Wizard"
still appears
 - use SetupCopyOEMInf from a Custom Action executed before the
driver is installed; it seems that SetupCopyOEMInf is called too soon
and the source does not exist. If possible, please tell me before or
after which Custom Action should it be called.
 - use CopyInf inside the bus driver. The operation fails if the
child device driver's inf file is not on the same directory (because the
INF path is not known).

 I appreciate your assistance.

Best regards,
 Calin


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installing to GAC

2006-11-09 Thread vij
Hi all,     Using WiX, how to install a file to GAC? And also, during the un-installation, how to un-install the file which is in GAC?     Any pointers/resources would be of great help!!        thanks  Vij 


Sponsored Link
$200,000 mortgage for $660/mo - 30/15 yr fixed, reduce debt, home equity - Click now for info-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Message Queue Help Needed

2006-11-09 Thread Mike Dimmick
Title: Message Queue Help Needed



Please keep wix-users on the list, that allows others 
to contribute.
 
I'm afraid I don't have any experience with message 
queuing or with clustering, so I can't really tell you whether what you're doing 
is acceptable or not. You might need to create a public, rather than private, 
queue.
 
The custom action which creates queues should log 
information to the Windows Installer log. Try turning on verbose logging 
(msiexec /l*v) and look for 'Failed to create message queue, key: 
AuditReceiveQueue' in the log. The lines immediately before should indicate why 
creating the message queue failed.
 
If you post the relevant log entries, it might be 
possible to work out why it's failing.
 
-- 
Mike Dimmick


From: Emma Hanna [mailto:[EMAIL PROTECTED] 
Sent: 09 November 2006 04:45To: Mike 
DimmickSubject: RE: [WiX-users] Message Queue Help 
Needed


Hi 
Mike
 
Thank you for your 
response below, however I’m still requiring help. I am actually trying to create 
the message queue on the cluster as opposed to one of the nodes – do you have 
any advice for how I could do this? (I have tried setting impersonate and it 
still fails)
 
Many 
Thanks
Emma.
 




From: Mike 
Dimmick [mailto:[EMAIL PROTECTED] Sent: Thursday, 21 September 2006 7:13 
PMTo: Emma Hanna; 
wix-users@lists.sourceforge.netSubject: RE: [WiX-users] Message Queue Help 
Needed
 
The deferred 
execution stage of Windows Installer - when the installation script actually 
runs - runs using the local computer's LocalSystem security context. This only 
has the network credentials of the machine account (in an Active Directory 
domain) or NULL permissions (if not on a domain). You most likely don't have 
permission to create a remote queue using these 
credentials.
 
It's possible to make 
a custom action run as the user who ran the installer (Impersonate='yes', and I 
think this is the default - it would be helpful if the manual at 
wix.sourceforge.net listed what the defaults are), and this may be the case 
with the custom action which processes the  elements, but 
again this user would need to have whatever permissions are necessary to create 
a remote message queue.
 
I think it would be 
better to make the message queue a Feature and the ability to select only that 
to install. Then the user would have to run the MSI on the machine that is to 
have the queue created.
 
-- 

Mike 
Dimmick
 



From: 
[EMAIL PROTECTED] 
[mailto:[EMAIL PROTECTED] On Behalf Of Emma HannaSent: 21 September 2006 05:02To: 
wix-users@lists.sourceforge.netSubject: [WiX-users] Message Queue Help 
Needed
Hi 
Everyone
I 
am using the following code to create a Message Queue. It works fine when 
installed to the local machine (i.e. when AUDITQUEUESERVER is set 
to local machine name 
or ‘.’) but when I try to install to 
another machine name it fails. Can anyone give me some 
guidance as to how to install to a different 
machine?
 



 pca:MessageQueue>
Component>
 
Many 
Thanks
Emma.
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Com LocalServer32 in 8.3 format

2006-11-09 Thread Dyson, Peter
I upgraded to the latest binary build on SourceForge (3.0.2211.0).

A bit painful as tallow has been deprecated and Heat is very much
different, but have it working again in my headless build.

Unfortunately the registry entries are still in [!MyServerExe] format
not [#MyServerExe].

Maybe the next build then.

Peter 

-Original Message-
From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: 07 November 2006 16:01
To: Dyson, Peter
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Com LocalServer32 in 8.3 format

Dyson, Peter wrote:
> I am currently using v3.0.1703.0 a bit old in the tooth now but have 
> not had time to use any later.
>   

I'm not sure exactly when the change was made, but the current version
uses [#] syntax. BTW, if you use WiX v3, you should consider taking
drops more often. As v3 is still in development, schema changes still
happen and if you wait too long, you can get hit with a lot at once. The
WixCop tool upgrades the schema so it's not a manual job at least.

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



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users