[WiX-users] ServiceInstall account problem

2008-07-29 Thread Daniel Rieck


Hi everyone,

I'm just getting started with WiX.

I want to create a setup to install a service written in .NET. I'm using the 
code snippet found at 
http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-using.html 
[http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-using.html]

I removed the Account and Password properties from ServiceInstall, because I 
want the service to run as LocalSystem.

When I run the setup, I get an error message saying I don't have the priviliges 
to install system services. However, I run the setup from an elevated command 
prompt (on Vista), so priviliges shouldn't be a problem.

 

Thank you

Daniel Rieck
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional Property Value

2008-07-29 Thread Sajid1105

Thanks. But, I do not have a UI. does this work if I want to build without
UI?



ramya ragupathy wrote:
 
   Publish Property='B' Value='A is one'![CDATA[A = 1]]/Publish
  Publish Property='B' Value='A is not one'![CDATA[A  1]]/Publish
 
 Sajid1105 wrote:
 
 I want to set a property value depending on a condition.. 
 
 Property Id=A Value=1/
 Property Id=B Value=Some value/
 
 if A == 1 then
B = A is one
 else
B = A is not one
 
 How do I do this?
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Conditional-Property-Value-tp18704186p18707406.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WIX and VS2008 Merge Modules

2008-07-29 Thread Paul Adams
Ahh! Thanks for that.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: 29 July 2008 02:31
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WIX and VS2008 Merge Modules

Ahh, okay then I know what the problem is.  The Merge Module is *supposed* to 
include all the base actions necessary to install itself.  In your case, the 
Merge Module must not have the InstallFiles/RemoveFiles actions.  If you just 
add those to actions (no Sequence necessary) to your 
InstallExecuteSequenceElement, the WiX toolset will ensure your MSI ends up 
with those actions and the files will get installed/uninstalled.

This happens very rarely since most Products have Files in addition to Merge 
elements so the WiX toolset added the action for you.  Maybe one day, we'll be 
able to detect when Merge Modules are poorly authored and automatically detect 
the missing actions... not quite there yet.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Adams
Sent: Monday, July 28, 2008 00:30
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] WIX and VS2008 Merge Modules

I've found a resolution to this problem now, although it's a bit of a hack.

NOTE: I'm now on WIX 3.0.4325.0

When the WIX project only contains registry keys and references to merge 
modules it doesn't seem to put any files down. The moment that I added a 
Component and a (blank text) file down just above the merge reference in the 
folder I wanted for the merge module all files seemed to install correctly.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Adams
Sent: 25 July 2008 17:30
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] WIX and VS2008 Merge Modules

Yeah, the files are definitely included - I can see them in orca and running 
FILEMON when the MSI in installing I can see msiexec trying to locate each file 
in turn (which it fails to).

I'm currently trying to upgrade to the latest weekly release of WIX to see if 
that helps (but am getting error unable to load mergemod.dll :()

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: 25 July 2008 17:20
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] WIX and VS2008 Merge Modules

Can you pop the final MSI open in Orca and see if the Merge Module contents are 
actually in there?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Adams
Sent: Friday, July 25, 2008 04:48
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] WIX and VS2008 Merge Modules

Hi,

I have a very puzzling situation, and am hoping someone can shed some light on 
it.

I have a Visual Studio 2008 Merge Module (containing Content Files and Project 
Output, and a couple of directories). If I reference this merge module from a 
normal VS 2008 Setup Project all files are installed as expected, however if I 
reference this merge module from a WIX (3) installer no files are output.

I've run FILEMON while the install is taking place and it is looking in the 
correct location (c:\inetpub\wwwroot\ISV\...) to add the files, but FILEMON 
returns FILENOTFOUND errors. It seems like the Merge Module should be creating 
the directories, but is not.

This only occurs when the main setup project is WIX - normal VS setup projects 
are fine.


?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi; 
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension;
  Product Id=fb7b5480-3723-4b32-93bf-d2f28dc59ef3
   Name=Agresso CRM for Education
   Language=1033 Version=1.0.1 Manufacturer=Agresso Ltd
   UpgradeCode=9bfa8877-676c-48d4-878b-6eb75e5ed341

Package InstallerVersion=200 Compressed=yes Description=Agresso CRM 
for Education /

  Media Id=1 Cabinet=AgressoCRM.cab EmbedCab=yes /

Property Id=CRMWWWROOT_PATH
  RegistrySearch Id=MSCRM_WebSitePath Root=HKLM Type=raw 
Key=SOFTWARE\Microsoft\MSCRM Name=WebSitePath/RegistrySearch
/Property

Property Id=WIXUI_INSTALLDIR Value=INSTALLDIR/

UIRef Id=WixUI_Mondo /
UIRef Id=WixUI_ErrorProgressText /

Directory Id=TARGETDIR Name=SourceDir

  Directory Id=ProgramFilesFolder Name=PFiles
Directory Id=INSTALLDIR Name=Agresso Ltd

  Directory Id=dir_AgressoLtd_AgressoCrm Name=Agresso CRM

  /Directory

/Directory
  /Directory

  Directory Id=CRMWWWROOT_PATH

Directory Id=ISV Name=ISV
  Merge Id=merge_AgressoCRMBase Language=1033 DiskId=1 
SourceFile=C:\Development\Main\Sources\Agresso 
CRM\Sources\AgressoCRMBase\Base_MM\Debug\Base_MM.msm/Merge
/Directory

  /Directory

/Directory

CustomAction Id='AlreadyUpdated' Error='[ProductName] is already 
installed.' /

Re: [WiX-users] Failure using WiX installer certificates with WCF

2008-07-29 Thread Ryan O'Neill
I know you say you checked this, but I had this (although not WiX created)
last week. I would put money on the file permissions not being correct for
the WCF/IIS user to access. The error I received was the same and using
'findprivatekey.exe' from the SDK helped me locate it on disk. As I'm in
development I just set 'Everyone' to full access and it worked.

This particular part of the exception 'The process must have access rights
for the private key.' makes me think that. Although it could have got put
into the wrong container somehow (personal instead of computer level for
instance).

Hope that helps

Ryan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: 29 July 2008 04:49
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Failure using Wix installer certificates with WCF

That's a new one on me.  Certificates have proven to be no end of fun.  I
should have known this since they are part of the CryptoAPI and that API is
one of the most cryptic around.  Sorry, couldn't resist the pun.  grin/

Anyway, something subtle is clearly different but I don't have any iea where
to start looking.  If you find a specific issue, it'd be great to file a bug
against it.  I'm going to start plowing through the certificate bugs soon.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Morris, John -
Raleigh
Sent: Monday, July 28, 2008 11:59
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Failure using Wix installer certificates with WCF

I have a wix project that uses the IIS extension to install a simple
x509 certificate. Here is my wix snippet:



Binary Id=BIN_MyCertificate.pfx
SourceFile=$(var.Binaries)\MyCertificate.pfx /



DirectoryRef Id=INSTALLLOCATION

  ?define ComponentGuid = f128910b-318d-4b3f-96c3-f59610bbfce5 ?



  Component Id=CP_ MyCertificate.pfx Guid=$(var.ComponentGuid)
KeyPath=yes



iis:Certificate Id=CERT_ MyCertificate.pfx

 BinaryKey=BIN_ MyCertificate 

 Name=My Certificate

 Overwrite=yes

 PFXPassword=MyPassword

 Request=no

 StoreLocation=localMachine

 StoreName=personal /

  /Component



/DirectoryRef



The certificate appears to install ok. I then use a custom action to
execute the winhttpcertcfg utility to adjust the permissions this
certificate. That appears to work too.  However, when I try to run a WCF
based service (in IIS), I get the error below, in the event log. If I
try running an install without have Wix do the certificate installation
(ie I manually install it), everything works ok.  When Wix installs the
certificate, I can see the entry in the MMC console, but WCF won't use
it.



Am I missing something here, or is there a known bug concerning this
scenario?



Thanks, John



(Event log details below)



WebHost failed to process a request.

 Sender Information:
System.ServiceModel.ServiceHostingEnvironment+HostingManager/18271112

 Exception: System.ServiceModel.ServiceActivationException: The service
'/SelectServer/Integration/v1/Registration.svc' cannot be activated due
to an exception during compilation.  The exception message is: The
certificate 'CN=My Certificate' must have a private key that is capable
of key exchange. The process must have access rights for the private
key.. --- System.ArgumentException: The certificate 'CN=My Certificate'
must have a private key that is capable of key exchange. The process
must have access rights for the private key. ---
System.Security.Cryptography.CryptographicException: Keyset does not
exist



   at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters
parameters, Boolean randomKeyContainer)

   at
System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType
keyType, CspParameters parameters, Boolean randomKeyContainer, Int32
dwKeySize, SafeProvHandle safeProvHandle, SafeKeyHandle safeKeyHandle)

   at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()

   at System.Security.Cryptography.RSACryptoServiceProvider..ctor(Int32
dwKeySize, CspParameters parameters, Boolean useDefaultKeySize)

   at
System.Security.Cryptography.RSACryptoServiceProvider..ctor(CspParameter
s parameters)

   at
System.Security.Cryptography.X509Certificates.X509Certificate2.get_Priva
teKey()

   at
System.ServiceModel.Security.SecurityUtils.EnsureCertificateCanDoKeyExch
ange(X509Certificate2 certificate)

   --- End of inner exception stack trace ---

   at
System.ServiceModel.Security.SecurityUtils.EnsureCertificateCanDoKeyExch
ange(X509Certificate2 certificate)

   at
System.ServiceModel.Security.ServiceCredentialsSecurityTokenManager.Crea
teServerX509TokenProvider()

   at
System.ServiceModel.Security.ServiceCredentialsSecurityTokenManager.Crea

Re: [WiX-users] Framework with Wix

2008-07-29 Thread Krishnan Senthilraj
Hi Rob,

In our Integration and Production environment have number of servers like
20+ to host our application into load balanced, Technology based
installation.

To be more precise we are looking for the individual pacakges for each
servers. Also we would like to automate these packaging using the TFS Build.

Cheers
Senthilraj

On Tue, Jul 29, 2008 at 9:17 AM, Rob Mensching
[EMAIL PROTECTED]wrote:

 Is there a reason you can't put all of this in a single Windows Installer
 package?

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Krishnan Senthilraj
 Sent: Monday, July 28, 2008 20:45
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Framework with Wix

 Hi Jeff,

 Thanks for the response. I agree with the tool what you said.

 I am try to communicate clearly.


   - We want to create 20 packages for our project which includes biztalk,
   work flow, application database etc.,
   - To create these packages we have some dependency between packages.
   - We want to create Automated build framework for all these packages.

 To acheive above requirements I am looking for some guidance like creating
 some base dependency libraries which will be referred by other packaging
 project.

 Please advice if I am clear enough to explain or let me know your
 clarifications.

 Cheers
 Raj







 On Fri, Jul 25, 2008 at 5:28 PM, jeff sacksteder [EMAIL PROTECTED]
 wrote:

  I'm not sure what you mean by 'framework' but there are some
  higher-level tools for composing Wix packages. Votive is Visual Studio
  integration for Wix. There are also third party tools like
  SharpDevelop and WixAware.
 
   I am new to Wix. Is there any existing framework available with Wix.?
 
  -
  This SF.Net email is sponsored by the Moblin Your Move Developer's
  challenge
  Build the coolest Linux based applications with Moblin SDK  win great
  prizes
  Grand prize is a trip for two to an Open Source event anywhere in the
 world
  http://moblin-contest.org/redirect.php?banner_id=100url=/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Reading configuration from Config file

2008-07-29 Thread Krishnan Senthilraj
Hi,

Is there any code snippet available to read the deployment configuration
from Config/INI file.

I am looking for option to configure the application packaging based on the
different environment. The option I have is SSO Config or Text file based
configuration.

Any configuration sample would be helpful.

Please advice.

Cheers
Senthilraj
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Failure using WiX installer certificates with WCF

2008-07-29 Thread Morris, John - Raleigh
I've looked into that issue too. That was my first thought. The
permissions on the certificate are correct.  WCF refuses to use the
certificate when WiX does the installation.  I tried adjusting the
permissions using 3 different tools (MMC console, cacls and
winhttpcertcfg). When WiX does the install, WCF won't use it. If I
manually install the certificate and adjust permissions, it works fine.
The WiX extension is broken here, not doubt.

FYI: I am using Vista SP1 as the target OS.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan
O'Neill
Sent: Tuesday, July 29, 2008 5:34 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Failure using WiX installer certificates with
WCF

I know you say you checked this, but I had this (although not WiX
created)
last week. I would put money on the file permissions not being correct
for
the WCF/IIS user to access. The error I received was the same and using
'findprivatekey.exe' from the SDK helped me locate it on disk. As I'm in
development I just set 'Everyone' to full access and it worked.

This particular part of the exception 'The process must have access
rights
for the private key.' makes me think that. Although it could have got
put
into the wrong container somehow (personal instead of computer level for
instance).

Hope that helps

Ryan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Mensching
Sent: 29 July 2008 04:49
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Failure using Wix installer certificates with
WCF

That's a new one on me.  Certificates have proven to be no end of fun.
I
should have known this since they are part of the CryptoAPI and that API
is
one of the most cryptic around.  Sorry, couldn't resist the pun.
grin/

Anyway, something subtle is clearly different but I don't have any iea
where
to start looking.  If you find a specific issue, it'd be great to file a
bug
against it.  I'm going to start plowing through the certificate bugs
soon.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Morris,
John -
Raleigh
Sent: Monday, July 28, 2008 11:59
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Failure using Wix installer certificates with WCF

I have a wix project that uses the IIS extension to install a simple
x509 certificate. Here is my wix snippet:



Binary Id=BIN_MyCertificate.pfx
SourceFile=$(var.Binaries)\MyCertificate.pfx /



DirectoryRef Id=INSTALLLOCATION

  ?define ComponentGuid = f128910b-318d-4b3f-96c3-f59610bbfce5 ?



  Component Id=CP_ MyCertificate.pfx Guid=$(var.ComponentGuid)
KeyPath=yes



iis:Certificate Id=CERT_ MyCertificate.pfx

 BinaryKey=BIN_ MyCertificate 

 Name=My Certificate

 Overwrite=yes

 PFXPassword=MyPassword

 Request=no

 StoreLocation=localMachine

 StoreName=personal /

  /Component



/DirectoryRef



The certificate appears to install ok. I then use a custom action to
execute the winhttpcertcfg utility to adjust the permissions this
certificate. That appears to work too.  However, when I try to run a WCF
based service (in IIS), I get the error below, in the event log. If I
try running an install without have Wix do the certificate installation
(ie I manually install it), everything works ok.  When Wix installs the
certificate, I can see the entry in the MMC console, but WCF won't use
it.



Am I missing something here, or is there a known bug concerning this
scenario?



Thanks, John



(Event log details below)



WebHost failed to process a request.

 Sender Information:
System.ServiceModel.ServiceHostingEnvironment+HostingManager/18271112

 Exception: System.ServiceModel.ServiceActivationException: The service
'/SelectServer/Integration/v1/Registration.svc' cannot be activated due
to an exception during compilation.  The exception message is: The
certificate 'CN=My Certificate' must have a private key that is capable
of key exchange. The process must have access rights for the private
key.. --- System.ArgumentException: The certificate 'CN=My Certificate'
must have a private key that is capable of key exchange. The process
must have access rights for the private key. ---
System.Security.Cryptography.CryptographicException: Keyset does not
exist



   at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters
parameters, Boolean randomKeyContainer)

   at
System.Security.Cryptography.Utils.GetKeyPairHelper(CspAlgorithmType
keyType, CspParameters parameters, Boolean randomKeyContainer, Int32
dwKeySize, SafeProvHandle safeProvHandle, SafeKeyHandle safeKeyHandle)

   at System.Security.Cryptography.RSACryptoServiceProvider.GetKeyPair()

   at 

[WiX-users] DNS lookup occurring when running MSI

2008-07-29 Thread Ryan O'Neill
Hi all,

 

Testing my installer under ZoneAlarm I can see that the MSI makes a DNS
request to 205.234.175.175 which appears to be some kind of cache server.
Although I've inherited this installer I have pretty much rebuilt large
chunks of it and I am certain there is no DNS or internet access going on in
there.

 

Which leads me to suspect that MSIEXEC is calling out to the net to look for
some kind of update.

 

Has anyone else seen this or is it just me?

 

Regards

 

Ryan

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Failure using WiX installer certificates with WCF

2008-07-29 Thread Ryan O'Neill
OK, so I owe you money then :)

Any way of doing some kind of sysdiff to see what WiX is not doing
correctly?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Morris, John -
Raleigh
Sent: 29 July 2008 13:47
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Failure using WiX installer certificates with WCF

I've looked into that issue too. That was my first thought. The
permissions on the certificate are correct.  WCF refuses to use the
certificate when WiX does the installation.  I tried adjusting the
permissions using 3 different tools (MMC console, cacls and
winhttpcertcfg). When WiX does the install, WCF won't use it. If I
manually install the certificate and adjust permissions, it works fine.
The WiX extension is broken here, not doubt.

FYI: I am using Vista SP1 as the target OS.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan
O'Neill
Sent: Tuesday, July 29, 2008 5:34 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Failure using WiX installer certificates with
WCF

I know you say you checked this, but I had this (although not WiX
created)
last week. I would put money on the file permissions not being correct
for
the WCF/IIS user to access. The error I received was the same and using
'findprivatekey.exe' from the SDK helped me locate it on disk. As I'm in
development I just set 'Everyone' to full access and it worked.

This particular part of the exception 'The process must have access
rights
for the private key.' makes me think that. Although it could have got
put
into the wrong container somehow (personal instead of computer level for
instance).

Hope that helps

Ryan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Mensching
Sent: 29 July 2008 04:49
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Failure using Wix installer certificates with
WCF

That's a new one on me.  Certificates have proven to be no end of fun.
I
should have known this since they are part of the CryptoAPI and that API
is
one of the most cryptic around.  Sorry, couldn't resist the pun.
grin/

Anyway, something subtle is clearly different but I don't have any iea
where
to start looking.  If you find a specific issue, it'd be great to file a
bug
against it.  I'm going to start plowing through the certificate bugs
soon.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Morris,
John -
Raleigh
Sent: Monday, July 28, 2008 11:59
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Failure using Wix installer certificates with WCF

I have a wix project that uses the IIS extension to install a simple
x509 certificate. Here is my wix snippet:



Binary Id=BIN_MyCertificate.pfx
SourceFile=$(var.Binaries)\MyCertificate.pfx /



DirectoryRef Id=INSTALLLOCATION

  ?define ComponentGuid = f128910b-318d-4b3f-96c3-f59610bbfce5 ?



  Component Id=CP_ MyCertificate.pfx Guid=$(var.ComponentGuid)
KeyPath=yes



iis:Certificate Id=CERT_ MyCertificate.pfx

 BinaryKey=BIN_ MyCertificate 

 Name=My Certificate

 Overwrite=yes

 PFXPassword=MyPassword

 Request=no

 StoreLocation=localMachine

 StoreName=personal /

  /Component



/DirectoryRef



The certificate appears to install ok. I then use a custom action to
execute the winhttpcertcfg utility to adjust the permissions this
certificate. That appears to work too.  However, when I try to run a WCF
based service (in IIS), I get the error below, in the event log. If I
try running an install without have Wix do the certificate installation
(ie I manually install it), everything works ok.  When Wix installs the
certificate, I can see the entry in the MMC console, but WCF won't use
it.



Am I missing something here, or is there a known bug concerning this
scenario?



Thanks, John



(Event log details below)



WebHost failed to process a request.

 Sender Information:
System.ServiceModel.ServiceHostingEnvironment+HostingManager/18271112

 Exception: System.ServiceModel.ServiceActivationException: The service
'/SelectServer/Integration/v1/Registration.svc' cannot be activated due
to an exception during compilation.  The exception message is: The
certificate 'CN=My Certificate' must have a private key that is capable
of key exchange. The process must have access rights for the private
key.. --- System.ArgumentException: The certificate 'CN=My Certificate'
must have a private key that is capable of key exchange. The process
must have access rights for the private key. ---
System.Security.Cryptography.CryptographicException: Keyset does not
exist



   at System.Security.Cryptography.Utils.CreateProvHandle(CspParameters

Re: [WiX-users] Building msi across OS's

2008-07-29 Thread Greg Silin
Rob,

Thanks for the advice.  Unfortunately, my experience was that when 
[WindowsFolder] was used, it would resolve on the machine where the code *was 
compiled*.  Since I built my code on the client (which might not be a smart 
choice anyway, but that's a different story), it resolved to C:\Windows in the 
wixobj file.  That will not work on the Win 2003 OS.

Am I doing something wrong?

Thanks
-greg

-Original Message-
Date: Mon, 28 Jul 2008 20:45:25 -0700
From: Rob Mensching [EMAIL PROTECTED]
Subject: Re: [WiX-users] Building msi across OS's
To: General discussion for Windows Installer XML toolset.
wix-users@lists.sourceforge.net
Message-ID:
[EMAIL PROTECTED]

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

You don't need a CustomAction.  The Windows Installer has built in variables 
for a great many paths in Windows.  WindowsFolder in this case.  MSI SDK lists 
them all.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Silin
Sent: Monday, July 28, 2008 16:48
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Building msi across OS's

Hi,

Question from a wix newbie.

I ran into the following issue:

I am building an msi in Vista (let's just say client) that could be installed 
either on Vista (client) or Win 2003 Server OS.  One of the issues was that the 
framework resides under C:\WINNT in the server OS, and under C:\Windows in 
client (vista in my case).

Apparently, any environment variables in wxs are resolved at compile, not run 
time.  Is the only way to make it possible to use one MSI to do a CustomAction 
that first determines which of the OS's I'm running on and then attempt to set 
the property?  Is that even possible?

Thanks for any tips :)
-greg

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge 
Build the coolest Linux based applications with Moblin SDK  win great prizes 
Grand prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.netmailto:WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] EmbeddedUIResource

2008-07-29 Thread John Nannenga
Bug logged:

http://sourceforge.net/tracker/index.php?func=detailaid=2031498group_id=105970atid=642714

It's been a while since I've submitted to WiX; I'll review the procedures and 
see what I can do.


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Monday, July 28, 2008 11:03 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] EmbeddedUIResource

John Nannenga wrote:
 We're building a .NET based embedded UI for Windows Installer 4.5.  While the 
 SDK for windows installer implies more than one resource DLL can be included 
 in the MsiEmbeddedUI table (though only one primary DLL), the wix schema 
 doesn't allow more than one EmbeddedUIResource element under the EmbeddedUI 
 element.

 Should it?


Looks like it. The compiler supports unbounded but the schema restricts.
Please file a bug (patches gratefully acceptedg).

--
sig://boB
http://joyofsetup.com/



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] EmbeddedUIResource

2008-07-29 Thread John Nannenga
Bug logged:

http://sourceforge.net/tracker/index.php?func=detailaid=2031498group_id=105970atid=642714


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: Monday, July 28, 2008 11:08 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] EmbeddedUIResource

Bug in the XSD.  Compiler would support it if you suppress schema validation.  
Mind opening a bug on it?  It'll be easy to fix.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Nannenga
Sent: Monday, July 28, 2008 19:50
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] EmbeddedUIResource

We're building a .NET based embedded UI for Windows Installer 4.5.  While the 
SDK for windows installer implies more than one resource DLL can be included in 
the MsiEmbeddedUI table (though only one primary DLL), the wix schema doesn't 
allow more than one EmbeddedUIResource element under the EmbeddedUI element.

Should it?


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] InstallUtil elevating for Vista

2008-07-29 Thread Zane Zeeh
I have a custom action in my installer that uses installutil to register a 
snap-in for the MMC. It works fine except for when I install on Vista. On Vista 
installutil.exe does not get elevated so it fails. I have tried setting 
impersonate='no' and execute='deferred' as I have seen suggested on the web but 
that does not seem to work.

What else can I try to get this to work? I'm using WIX 2.0. Any suggestions 
would be appreciated.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Trying to define virtual dir based on property value

2008-07-29 Thread José Diaz Seng
Hi,

I am using wix-3.0.4318.0 together with SharpDevelop 3 and have successfully 
created an installer source file. Now I would like the user to be able to 
change the virtual directory name (as well as the location of the referenced 
directory, but let's focus on the first problem...). So I defined a property 
TARGETVDIR, added a custom dialog and succeeded in letting the user edit the 
property. My problem is that the property's value does not get used for the 
virtual directory name. I tried:
p
...
Property Id=TARGETVDIR Value=MyApp/
...
Directory Id=TARGETDIR Name=SourceDir
  Directory Id=WWW_ROOT Name=.
Directory Id=MyWebSiteDir Name=TARGETVDIR /
  /Directory
/Directory
...
p

which does not work, the virtual directory name is TARGETVDIR, not its value 
MyApp. I also tried with Name=[TARGETVDIR], which resulted on the name 
being [TARGETVDIR].p
Do I need to influence the processing order so that the property gets evaluated 
earlier or how else can I solve this?
Thanks!
José
-- 




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Help on type 19 custom action

2008-07-29 Thread Anidil

Hello there

I'm trying to write a type 19 custom action to abort installation and
display a formatted message from the target column..Can anybody help me on
this? I need to throw a message based on the return value of another custom
action..
-- 
View this message in context: 
http://www.nabble.com/Help-on-type-19-custom-action-tp18713554p18713554.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Temp files after repair

2008-07-29 Thread Anidil

In the verbose log file i see that MsiSystemRebootPending property get set
to 1.And upon reboot,the temp file get removed and the opened help file
during repair get showed up in the installdir.I do not see 
files to be removed on next reboot in the verbose log


Rob Mensching-2 wrote:
 
 Log file might list the files as files to be removed on next reboot. 
 Take a look at the verbose log file.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Anidil
 Sent: Monday, July 28, 2008 07:10
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Temp files after repair
 
 
 If i repair the MSI keeping one of the installed files opened, i see there
 are temp files getting created inside the installdir.Why is this
 happening?
 WI have tried changing the REINSTALLMODE=vmus so that all files will be
 forecully reinstalled.But no luck though..Can anyone give me an insight on
 this behavir of MSI?
 --
 View this message in context:
 http://www.nabble.com/Temp-files-after-repair-tp18689219p18689219.html
 Sent from the wix-users mailing list archive at Nabble.com.
 
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/Temp-files-after-repair-tp18689219p18713768.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Help on type 19 custom action

2008-07-29 Thread Richard

In article [EMAIL PROTECTED],
Anidil [EMAIL PROTECTED]  writes:

 I'm trying to write a type 19 custom action to abort installation and
 display a formatted message from the target column..Can anybody help me on
 this? I need to throw a message based on the return value of another custom
 action..

I don't understand.

Once another custom action returns failure, the whole thing stops and
it won't execute your type 19 action.
-- 
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
  http://www.xmission.com/~legalize/book/download/index.html

Legalize Adulthood! http://blogs.xmission.com/legalize/

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Building msi across OS's

2008-07-29 Thread Neil Enns
Something's not making sense. Properties like [WindowsFolder] are stored 
directly in the MSI and are resolved at install time. Were you simply using it 
as a path in something like a File element? What do the install logs show 
when you run the MSI on the target machine?

Neil


From: [EMAIL PROTECTED] [EMAIL PROTECTED] On Behalf Of Greg Silin [EMAIL 
PROTECTED]
Sent: Tuesday, July 29, 2008 7:12 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Building msi across OS's

Rob,

Thanks for the advice.  Unfortunately, my experience was that when 
[WindowsFolder] was used, it would resolve on the machine where the code *was 
compiled*.  Since I built my code on the client (which might not be a smart 
choice anyway, but that's a different story), it resolved to C:\Windows in the 
wixobj file.  That will not work on the Win 2003 OS.

Am I doing something wrong?

Thanks
-greg

-Original Message-
Date: Mon, 28 Jul 2008 20:45:25 -0700
From: Rob Mensching [EMAIL PROTECTED]
Subject: Re: [WiX-users] Building msi across OS's
To: General discussion for Windows Installer XML toolset.
wix-users@lists.sourceforge.net
Message-ID:
[EMAIL PROTECTED]

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

You don't need a CustomAction.  The Windows Installer has built in variables 
for a great many paths in Windows.  WindowsFolder in this case.  MSI SDK lists 
them all.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Greg Silin
Sent: Monday, July 28, 2008 16:48
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Building msi across OS's

Hi,

Question from a wix newbie.

I ran into the following issue:

I am building an msi in Vista (let's just say client) that could be installed 
either on Vista (client) or Win 2003 Server OS.  One of the issues was that the 
framework resides under C:\WINNT in the server OS, and under C:\Windows in 
client (vista in my case).

Apparently, any environment variables in wxs are resolved at compile, not run 
time.  Is the only way to make it possible to use one MSI to do a CustomAction 
that first determines which of the OS's I'm running on and then attempt to set 
the property?  Is that even possible?

Thanks for any tips :)
-greg

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge 
Build the coolest Linux based applications with Moblin SDK  win great prizes 
Grand prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.netmailto:WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Temp files after repair

2008-07-29 Thread Rob Mensching
Sorry, shouldn't have been so specific about the log message.  That all sounds 
right.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anidil
Sent: Tuesday, July 29, 2008 07:41
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Temp files after repair


In the verbose log file i see that MsiSystemRebootPending property get set
to 1.And upon reboot,the temp file get removed and the opened help file
during repair get showed up in the installdir.I do not see
files to be removed on next reboot in the verbose log


Rob Mensching-2 wrote:

 Log file might list the files as files to be removed on next reboot.
 Take a look at the verbose log file.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Anidil
 Sent: Monday, July 28, 2008 07:10
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Temp files after repair


 If i repair the MSI keeping one of the installed files opened, i see there
 are temp files getting created inside the installdir.Why is this
 happening?
 WI have tried changing the REINSTALLMODE=vmus so that all files will be
 forecully reinstalled.But no luck though..Can anyone give me an insight on
 this behavir of MSI?
 --
 View this message in context:
 http://www.nabble.com/Temp-files-after-repair-tp18689219p18689219.html
 Sent from the wix-users mailing list archive at Nabble.com.


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



--
View this message in context: 
http://www.nabble.com/Temp-files-after-repair-tp18689219p18713768.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] InstallUtil elevating for Vista

2008-07-29 Thread Rob Mensching
That should have done it.  Can you provide more detail about what does not 
seem to work?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zane Zeeh
Sent: Tuesday, July 29, 2008 07:14
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] InstallUtil elevating for Vista

I have a custom action in my installer that uses installutil to register a 
snap-in for the MMC. It works fine except for when I install on Vista. On Vista 
installutil.exe does not get elevated so it fails. I have tried setting 
impersonate='no' and execute='deferred' as I have seen suggested on the web but 
that does not seem to work.

What else can I try to get this to work? I'm using WIX 2.0. Any suggestions 
would be appreciated.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] DNS lookup occurring when running MSI

2008-07-29 Thread Rob Mensching
Never heard of that before.  MSI may be making a request out to a server the 
package came from originally but I don't think they reach out anywhere else... 
that'd be very unusual.  CustomAction?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ryan O'Neill
Sent: Tuesday, July 29, 2008 06:02
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] DNS lookup occurring when running MSI

Hi all,



Testing my installer under ZoneAlarm I can see that the MSI makes a DNS
request to 205.234.175.175 which appears to be some kind of cache server.
Although I've inherited this installer I have pretty much rebuilt large
chunks of it and I am certain there is no DNS or internet access going on in
there.



Which leads me to suspect that MSIEXEC is calling out to the net to look for
some kind of update.



Has anyone else seen this or is it just me?



Regards



Ryan

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Trying to define virtual dir based on property value

2008-07-29 Thread Rob Mensching
Not quite using the Directory table correctly.  You might work backwards from 
this blog entry: 
http://blogs.msdn.com/robmen/archive/2006/10/17/deciphering-the-msi-directory-table-part-7-directories-are-properties.aspx.
  I think that'll clear up a lot about the way Directory and Properties are 
intertwined.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of José Diaz Seng
Sent: Tuesday, July 29, 2008 07:28
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Trying to define virtual dir based on property value

Hi,

I am using wix-3.0.4318.0 together with SharpDevelop 3 and have successfully 
created an installer source file. Now I would like the user to be able to 
change the virtual directory name (as well as the location of the referenced 
directory, but let's focus on the first problem...). So I defined a property 
TARGETVDIR, added a custom dialog and succeeded in letting the user edit the 
property. My problem is that the property's value does not get used for the 
virtual directory name. I tried:
p
...
Property Id=TARGETVDIR Value=MyApp/
...
Directory Id=TARGETDIR Name=SourceDir
  Directory Id=WWW_ROOT Name=.
Directory Id=MyWebSiteDir Name=TARGETVDIR /
  /Directory
/Directory
...
p

which does not work, the virtual directory name is TARGETVDIR, not its value 
MyApp. I also tried with Name=[TARGETVDIR], which resulted on the name 
being [TARGETVDIR].p
Do I need to influence the processing order so that the property gets evaluated 
earlier or how else can I solve this?
Thanks!
José
--




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Documentation generation for WIX files

2008-07-29 Thread Moradi, Ari
Hi,

Our team uses doxygen to create html documentation for our C++ source, and it 
works really well.  I'm just curious if anyone out there is aware of a similar 
tool that will generate documentation from wxs files.

I'd like to be able to put comments in some format in each wxs file and then 
have a tool create a set of html that shows all of the things that go into an 
MSI along with all of the descriptions parsed from the comments.

I haven't found anything that will do that for us, so I figured I'd ask here 
and see if anyone knows of something like that.

-Ari Moradi
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ServiceInstall account problem

2008-07-29 Thread cemiles

I'd say that error is very general.  Chances are you have missing
dependencies.  Run your file through reflector or depends and see what you
might be missing.


Daniel Rieck wrote:
 
 
 
 Hi everyone,
 
 I'm just getting started with WiX.
 
 I want to create a setup to install a service written in .NET. I'm using
 the code snippet found at
 http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-using.html
 [http://avinashkt.blogspot.com/2007/05/how-to-install-windows-service-using.html]
 
 I removed the Account and Password properties from ServiceInstall, because
 I want the service to run as LocalSystem.
 
 When I run the setup, I get an error message saying I don't have the
 priviliges to install system services. However, I run the setup from an
 elevated command prompt (on Vista), so priviliges shouldn't be a problem.
 
  
 
 Thank you
 
 Daniel Rieck
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/ServiceInstall-account-problem-tp18707004p18714933.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Help on type 19 custom action

2008-07-29 Thread Anidil

Okie...Could you help me to write a  type 19 CA that just aborts the
installation throwing a custom error message?


Richard-45 wrote:
 
 
 In article [EMAIL PROTECTED],
 Anidil [EMAIL PROTECTED]  writes:
 
 I'm trying to write a type 19 custom action to abort installation and
 display a formatted message from the target column..Can anybody help me
 on
 this? I need to throw a message based on the return value of another
 custom
 action..
 
 I don't understand.
 
 Once another custom action returns failure, the whole thing stops and
 it won't execute your type 19 action.
 -- 
 The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
   http://www.xmission.com/~legalize/book/download/index.html
 
 Legalize Adulthood! http://blogs.xmission.com/legalize/
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/Help-on-type-19-custom-action-tp18713554p18714965.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] InstallUtil elevating for Vista

2008-07-29 Thread Zane Zeeh
The installutil customaction fails. It works fine on Windows XP, Windows 2003. 
The command works fine if I open up a command prompt using Run as 
Administrator I run the installutil command from there. The installer 
completes when I run on Vista, but when I open up MMC the snap-in is not 
installed.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: Tuesday, July 29, 2008 11:13 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] InstallUtil elevating for Vista

That should have done it.  Can you provide more detail about what does not 
seem to work?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Zane Zeeh
Sent: Tuesday, July 29, 2008 07:14
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] InstallUtil elevating for Vista

I have a custom action in my installer that uses installutil to register a 
snap-in for the MMC. It works fine except for when I install on Vista. On Vista 
installutil.exe does not get elevated so it fails. I have tried setting 
impersonate='no' and execute='deferred' as I have seen suggested on the web but 
that does not seem to work.

What else can I try to get this to work? I'm using WIX 2.0. Any suggestions 
would be appreciated.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Help on type 19 custom action

2008-07-29 Thread cemiles

Never done one of those, but I'd say open your msi w/ Orca and look at the
Error table for the index and supply that as the Error=# attribute, and it
will pop your corresponding msg.


Anidil wrote:
 
 Okie...Could you help me to write a  type 19 CA that just aborts the
 installation throwing a custom error message?
 
 
 Richard-45 wrote:
 
 
 In article [EMAIL PROTECTED],
 Anidil [EMAIL PROTECTED]  writes:
 
 I'm trying to write a type 19 custom action to abort installation and
 display a formatted message from the target column..Can anybody help me
 on
 this? I need to throw a message based on the return value of another
 custom
 action..
 
 I don't understand.
 
 Once another custom action returns failure, the whole thing stops and
 it won't execute your type 19 action.
 -- 
 The Direct3D Graphics Pipeline -- DirectX 9 draft available for
 download
   http://www.xmission.com/~legalize/book/download/index.html
 
 Legalize Adulthood! http://blogs.xmission.com/legalize/
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Help-on-type-19-custom-action-tp18713554p18715562.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] DNS lookup occurring when running MSI

2008-07-29 Thread Ryan O'Neill
Ah, I know what it is now. Using a packet sniffer I can see it is looking up
the certificate revocation list as I have signed the MSI.

Ryan

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: 29 July 2008 16:14
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] DNS lookup occurring when running MSI

Never heard of that before.  MSI may be making a request out to a server the
package came from originally but I don't think they reach out anywhere
else... that'd be very unusual.  CustomAction?

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ryan O'Neill
Sent: Tuesday, July 29, 2008 06:02
To: 'General discussion for Windows Installer XML toolset.'
Subject: [WiX-users] DNS lookup occurring when running MSI

Hi all,



Testing my installer under ZoneAlarm I can see that the MSI makes a DNS
request to 205.234.175.175 which appears to be some kind of cache server.
Although I've inherited this installer I have pretty much rebuilt large
chunks of it and I am certain there is no DNS or internet access going on in
there.



Which leads me to suspect that MSIEXEC is calling out to the net to look for
some kind of update.



Has anyone else seen this or is it just me?



Regards



Ryan

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
No virus found in this incoming message.
Checked by AVG - http://www.avg.com 
Version: 8.0.138 / Virus Database: 270.5.6/1579 - Release Date: 29/07/2008
06:43


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Should SuppressModularization affect the Target column for custom actions 35 and 51?

2008-07-29 Thread andrejj

Hello Rob,

Thanks for your answer. 
Using of .wixlib would require porting all our setup projects to WiX
(apparent step ;-) - this was not a short-term target until now. 
I will look into wixlib approach... 
The only working (today) alternative workaround is patching the msm file in
a post-build step.
 
Andrej


Rob Mensching-2 wrote:
 
 That's the spec'd behavior for Merge Modules (see the MSI SDK).  Instead
 of using Merge Modules could you use a .wixlib instead?
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Andrej
 Jantzen
 Sent: Monday, July 28, 2008 06:58
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Should SuppressModularization affect the Target
 column for custom actions 35 and 51?
 
 Hi,
 
 I have to create/set some application data folders (for all users) und
 tried to use
 custom actions 35 or 51 according to
 http://msdn.microsoft.com/en-us/library/aa367852(VS.85).aspx.
 
 WiX fragment:
 
 CustomAction Id=AssignDATADIR Directory=MYDATADIR
 Value=[CommonAppDataFolder]MyCompany\Data SuppressModularization=yes
 /
 CustomAction Id=AssignDATADIR2 Property=MYDATADIR2
 Value=[CommonAppDataFolder]MyCompany\Data SuppressModularization=yes
 /
 ...
 InstallXXXSequence
 Custom Action=AssignDATADIR Before=CostFinalize(Not Installed) AND
 (VersionNT gt;= 600)/Custom
 Custom Action=AssignDATADIR2 Before=CostFinalize(Not Installed) AND
 (VersionNT gt;= 600)/Custom
 ...
 
 Unfortunately WiX generates following string (in both cases) in the column
 Target of CustomActions table:
 
 [CommonAppDataFolder.FF60FDA4_016C_4310_A592_F84637EA5195]MyCompany\Data
 
 (Note that a merge module is generated, so the PackageId is inserted).
 It looks for me that only the column Action is affected by setting
 SuppressModularization.
 
 In my case, after linking the merge module into my target msi causes
 errors during installation because property
 CommonAppDataFolder.FF60FDA4_016C_4310_A592_F84637EA5195 is unknown there.
 
 Is it a bug or should I look for another way ?
 
 Thanks,
 Andrej
 p.s. Tested with WiX 3.0.4318.
 
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/Should-SuppressModularization-affect-the-Target-column-for-custom-actions-35-and-51--tp18691153p18716063.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Help on type 19 custom action

2008-07-29 Thread Alexander Shevchuk
Does this help?

CustomAction Id='IsPrivileged' Error='You must be an admin to install this 
product' /

InstallExecuteSequence
  Custom Action='IsPrivileged' Before='LaunchConditions'
Not Privileged
  /Custom
/InstallExecuteSequence

Regards,
Alex Shevchuk



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Anidil
Sent: Tuesday, July 29, 2008 7:32 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Help on type 19 custom action


Hello there

I'm trying to write a type 19 custom action to abort installation and
display a formatted message from the target column..Can anybody help me on
this? I need to throw a message based on the return value of another custom
action..
--
View this message in context: 
http://www.nabble.com/Help-on-type-19-custom-action-tp18713554p18713554.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional Property Value

2008-07-29 Thread Alexander Shevchuk
Custom Action Type 51 is your friend:

CustomAction Id=AisOne Property=B Value=A is one /
CustomAction Id=AisNotOne Property=B Value=A is not one /

XXXSequence
  Custom Action=AisOne After=...A=1/Custom
  Custom Action=AisNotOne After=...A1 OR NOT A/Custom
/XXXSequence

Obviously, XXXSequence - whatever sequence table you need to schedule these 
actions in, for example, InstallExecuteSequence.

Regards,
Alex Shevchuk


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sajid1105
Sent: Monday, July 28, 2008 8:12 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Conditional Property Value


I want to set a property value depending on a condition..

Property Id=A Value=1/
Property Id=B Value=Some value/

if A == 1 then
   B = A is one
else
   B = A is not one

How do I do this?



--
View this message in context: 
http://www.nabble.com/Conditional-Property-Value-tp18704186p18704186.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Missing reference ConfigureSql ?

2008-07-29 Thread Gregory Swanson
Yes, everything is rebuilt first using candle, then light.  Am I missing 
something?  This is the complete build script I use:
 
del ENS.wixobj
del CustomActions.wixobj
del ServSrc.wixobj
del WebSrc.wixobj
del SiteDataSrc.wixobj
candle ENS.wxs CustomActions.wxs ServSrc.wxs WebSrc.wxs SiteDataSrc.wxs
light wixca.wixlib sca.wixlib ENS.wixobj CustomActions.wixobj ServSrc.wixobj 
WebSrc.wixobj SiteDataSrc.wixobj -out ENS.msi 
Thanks,
g



 From: [EMAIL PROTECTED] To: wix-users@lists.sourceforge.net Date: Mon, 28 
 Jul 2008 20:37:06 -0700 Subject: Re: [WiX-users] Missing reference 
 ConfigureSql ?  IRCC, the ConfigureSql action was renamed somewhere in 
 there. Did you rebuild everything?  -Original Message- From: 
 [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gregory Swanson 
 Sent: Monday, July 28, 2008 11:29 To: wix-users@lists.sourceforge.net 
 Subject: [WiX-users] Missing reference ConfigureSql ?  Our upgrade test for 
 WIX version 2.0.5805.0 failed with a missing reference: error LGHT0112 : 
 Unresolved reference to symbol 'CustomAction:ConfigureSql' in section 
 'Product:87987744-2DCA-4262-B0A2-57B2EEA3FBE9'.  We copied our build files 
 from version 2.0.2912.0 and simply tried to compile with version 2.0.5805.0. 
  I found a bug reference for this ([ 1653864 ] SqlScript element causes 
 ConfigureSql action to fail) with attached note 
 that the bug was fixed and pushed: Date: 2007-02-07 11:43Sender: robmenLogged 
In: YES user_id=991639Originator: NO Fixes made in WiX v2 will be pushed up to 
WiX v3 after WiX v2 has beencompleted. WiX v3 is not intended for general 
purpose use yet and willhave severe bugs for the next 6 months at least. If you 
want a stabletoolset *right now*, go with WiX v2 instead.  Anyone know what 
is going on with ConfigureSql ?  Thanks, g 
_ Time for 
vacation? WIN what you need- enter now! 
http://www.gowindowslive.com/summergiveaway/?ocid=tag_jlyhm 
- This 
SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build 
the coolest Linux based applications with Moblin SDK  win great prizes Grand 
prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100url=/ 
 ___ WiX-users mailing list 
WiX-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wix-users   
- This 
SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build 
the coolest Linux based applications with Moblin SDK  win great prizes Grand 
prize is a trip for two to an Open Source event anywhere in the world 
http://moblin-contest.org/redirect.php?banner_id=100url=/ 
___ WiX-users mailing list 
WiX-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wix-users
_
Use video conversation to talk face-to-face with Windows Live Messenger.
http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Q regarding uninstalling a feature

2008-07-29 Thread Vidya Kukke
Hi,

My installer requires the ability to install and uninstall single/multiple 
features.
I was able to create the Feature node to achieve the installation on a per 
feature basis. However the uninstall always removes the entire product. What am 
I missing? I am doing the uninstall via Add/Remove Programs.

A snippet of my installer:-

Feature Id=Feature1 Title=Feature1  Level=1 Description=Feature1  
Display=expand AllowAdvertise=no InstallDefault=local 
TypicalDefault=install
  Feature Id=Feature1Service Title=Feature 1 Service 
Description=Feature 1 Service ConfigurableDirectory=FEATURE1INSTALLDIR 
Level=1 Display=expand AllowAdvertise=noInstallDefault=local 
TypicalDefault=install
MergeRef Id=Feature1Service/
  /Feature
  Feature Id= Feature1UI Title=Feature1 UI Description=Feature1 UI 
Level=1 Display=expand AllowAdvertise=no InstallDefault=local 
TypicalDefault=install
MergeRef Id=Feature1UI/
  /Feature
/Feature

Feature Id=Feature2 Title=Feature2  Level=1 Description=Feature2  
Display=expand AllowAdvertise=no InstallDefault=local 
TypicalDefault=install
  Feature Id=Feature2Service Title=Feature 2 Service 
Description=Feature 2 Service ConfigurableDirectory=FEATURE2INSTALLDIR 
Level=1 Display=expand AllowAdvertise=noInstallDefault=local 
TypicalDefault=install
MergeRef Id=Feature2Service/
  /Feature
  Feature Id= Feature2UI Title=Feature2 UI Description=Feature2 UI 
Level=1 Display=expand AllowAdvertise=no InstallDefault=local 
TypicalDefault=install
MergeRef Id=Feature2UI/
  /Feature
/Feature


Thanks
Vidya

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Prevent entire Web Virtual Directory tree removed on uninstall?

2008-07-29 Thread Lee Greco

Is there a way to prevent the removal of an entire virtual directory tree if a 
sibling directory exists at uninstall time?
 
My install requires a virtual directory structure X/Y/Z/WebServices and creates 
it as necessary.
The physical location for X is C:\X, Y is C:\X\Y, Z is C:\X\Y\Z and WebServices 
is C:\Program Files\X\Y\Z\WebServices.
 
Other applications share the X and Y virtual and physical directories, so it's 
likely that we also have X/Y/Z_2 and X/Y/Z_3 virtual directories.
 
On uninstall, I only want to remove the virtual directories that aren't being 
used by other applications, i.e. start from the leaf and delete only while 
there are no children.  If I install X/Y/Z/WebServices and another app is using 
X/Y/Z_1, when my app is uninstalled I only want to remove the X/Y/Z/WebServices 
and X/Y/Z virtual directories, leaving the X/Y/Z_1 intact.  
 
With my current package, the entire vdir tree is removed, obliterating the vdir 
of the other app that isn't being uninstalled.
 
My package uses WiX V2.
 
Thanks in advance for any help on this.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] DTF Build Fails on ManagedCA Project

2008-07-29 Thread Jason Ginchereau
There have been no changes to the ManagedCA project or the MakeSfxCA tool since 
build 3.0.4214.

Does that crash repro if you run the same MakeSfxCA.exe command-line from the 
console? Can you get a stack trace for the exception?


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Christopher 
Painter
Sent: Friday, July 25, 2008 10:17 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] DTF Build Fails on ManagedCA Project

I just pulled down build 4325 and tried to build the DTF solution.   
Unfortunatly when it went to do the postbuild for the ManagedCA project it 
throw an exception and hung the build.

I also tested the release MSI and that worked fine.

Any thoughts?


Error   1   The command C:\wix-src\build\debug\x86\..\x86\MakeSfxCA.exe 
C:\wix-src\build\debug\x86\Microsoft.Deployment.Samples.ManagedCA.dll 
C:\wix-src\build\debug\x86\SfxCA.dll 
C:\wix-src\build\obj\debug\x86\ManagedCA\Microsoft.Deployment.Samples.ManagedCA.dll
 C:\wix-src\build\debug\x86\Microsoft.Deployment.WindowsInstaller.dll exited 
with code -532459699.  ManagedCA


Description:
  Stopped working

Problem signature:
  Problem Event Name:   APPCRASH
  Application Name: MakeSfxCA.exe
  Application Version:  3.0.4325.0
  Application Timestamp:488ab12b
  Fault Module Name:KERNEL32.dll
  Fault Module Version: 6.0.6001.18000
  Fault Module Timestamp:   4791a76d
  Exception Code:   e0434f4d
  Exception Offset: 000442eb
  OS Version:   6.0.6001.2.1.0.256.1
  Locale ID:1033

Read our privacy statement:
  http://go.microsoft.com/fwlink/?linkid=50163clcid=0x0409




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] CabFileInfo Class CopyTo method

2008-07-29 Thread Powell, Simon
Hi,
 
The CopyTo method the CabFileInfo Class does not preserve the DateTime
Modified of the original file stored in an extracted CAB.  Or am I using
it wrong. If I extract the files with a CAB extraction utility, I don't
have this problem.  
 
Regards
Simon Powell
 


--
This e-mail is confidential and the information contained in it may be 
privileged.  It should not be read, copied or used by anyone other than the 
intended recipient.  If you have received it in error, please contact the 
sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and 
delete the e-mail and do not disclose its contents to any person.  We believe, 
but do not warrant, that this e-mail and any attachments are virus free, but 
you must take full responsibility for virus checking.  Please refer to 
http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer 
statement and monitoring policy.

Dresdner Kleinwort is the trading name of the investment banking division of 
Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort 
Limited, Dresdner Kleinwort Securities Limited and their affiliated or 
associated companies.  Dresdner Bank AG is a company incorporated in Germany 
with limited liability and registered in England (registered no. FC007638, 
place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the 
German Federal Financial Supervisory Authority and by the Financial Services 
Authority ('FSA') and regulated by the FSA for the conduct of designated 
business in the UK.  Dresdner Kleinwort Limited is a company incorporated in 
England (registered no. 551334, registered office 30 Gresham Street, London 
EC2V 7PG), and is authorised and regulated by the FSA.  Dresdner Kleinwort 
Securities Limited is a company incorporated in England (registered no. 
1767419, registered office 30 Gresham Street, London EC2V 7PG), and is 
authorised an
 d regulated by the FSA.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CabFileInfo Class CopyTo method

2008-07-29 Thread Powell, Simon
Please ignore. Will check problem more carefully in future.

Sorry


Regards
Simon Powell

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Powell,
Simon
Sent: 29 July 2008 22:11
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] CabFileInfo Class CopyTo method

Hi,
 
The CopyTo method the CabFileInfo Class does not preserve the DateTime
Modified of the original file stored in an extracted CAB.  Or am I using
it wrong. If I extract the files with a CAB extraction utility, I don't
have this problem.  
 
Regards
Simon Powell
 


--
This e-mail is confidential and the information contained in it may be
privileged.  It should not be read, copied or used by anyone other than
the intended recipient.  If you have received it in error, please
contact the sender immediately by telephoning +44 (0)20 7623 8000 or by
return email, and delete the e-mail and do not disclose its contents to
any person.  We believe, but do not warrant, that this e-mail and any
attachments are virus free, but you must take full responsibility for
virus checking.  Please refer to
http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail
disclaimer statement and monitoring policy.

Dresdner Kleinwort is the trading name of the investment banking
division of Dresdner Bank AG, and operates through Dresdner Bank AG,
Dresdner Kleinwort Limited, Dresdner Kleinwort Securities Limited and
their affiliated or associated companies.  Dresdner Bank AG is a company
incorporated in Germany with limited liability and registered in England
(registered no. FC007638, place of business 30 Gresham Street, London
EC2V 7PG), and is authorised by the German Federal Financial Supervisory
Authority and by the Financial Services Authority ('FSA') and regulated
by the FSA for the conduct of designated business in the UK.  Dresdner
Kleinwort Limited is a company incorporated in England (registered no.
551334, registered office 30 Gresham Street, London EC2V 7PG), and is
authorised and regulated by the FSA.  Dresdner Kleinwort Securities
Limited is a company incorporated in England (registered no. 1767419,
registered office 30 Gresham Street, London EC2V 7PG), and is authorised
an  d regulated by the FSA.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's
challenge Build the coolest Linux based applications with Moblin SDK 
win great prizes Grand prize is a trip for two to an Open Source event
anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
This e-mail is confidential and the information contained in it may be 
privileged.  It should not be read, copied or used by anyone other than the 
intended recipient.  If you have received it in error, please contact the 
sender immediately by telephoning +44 (0)20 7623 8000 or by return email, and 
delete the e-mail and do not disclose its contents to any person.  We believe, 
but do not warrant, that this e-mail and any attachments are virus free, but 
you must take full responsibility for virus checking.  Please refer to 
http://www.dresdnerkleinwort.com/disc/email/ and read our e-mail disclaimer 
statement and monitoring policy.

Dresdner Kleinwort is the trading name of the investment banking division of 
Dresdner Bank AG, and operates through Dresdner Bank AG, Dresdner Kleinwort 
Limited, Dresdner Kleinwort Securities Limited and their affiliated or 
associated companies.  Dresdner Bank AG is a company incorporated in Germany 
with limited liability and registered in England (registered no. FC007638, 
place of business 30 Gresham Street, London EC2V 7PG), and is authorised by the 
German Federal Financial Supervisory Authority and by the Financial Services 
Authority ('FSA') and regulated by the FSA for the conduct of designated 
business in the UK.  Dresdner Kleinwort Limited is a company incorporated in 
England (registered no. 551334, registered office 30 Gresham Street, London 
EC2V 7PG), and is authorised and regulated by the FSA.  Dresdner Kleinwort 
Securities Limited is a company incorporated in England (registered no. 
1767419, registered office 30 Gresham Street, London EC2V 7PG), and is 
authorised an
 d regulated by the FSA.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Binder variables from Votive

2008-07-29 Thread Christopher Karper
I still can't get any of these binder variables to work.  Does anyone have
some time to take a look at it?  Thanks in advance. :-D

Chris

On Fri, Jul 25, 2008 at 4:14 AM, Rob Mensching
[EMAIL PROTECTED]wrote:

 Nothing off the top of my head... I'd have to debug this to get to the root
 of it.

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Christopher Karper
 Sent: Thursday, July 24, 2008 14:12
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Binder variables from Votive

 I copied the FileId from the File's ID into the binder variable.  Then I
 double checked the spelling, then I triple checked it.   That was my first
 big theory.
 Just to help out, here's the pertinent pieces...

 Component Id=VisibilitySnapIn.dll
 Guid={B813CED8-CDA2-44CC-B809-116A987789F9}
File Id=VisibilitySnapIn.dll KeyPath=yes Source=$(var.Visibility
 Monitor MMC SnapIn.TargetDir)VisibilitySnapIn.dll Assembly=.net
 AssemblyApplication=VisibilitySnapIn.dll /
 /Component

 RegistryValue Root=HKLM

 Key=SOFTWARE\Microsoft\MMC\SnapIns\FX:{244B7462-C89A-427e-8D1B-CF4E37878699}
 Name=Type Value=VisibilitySnapIn.VisibilitySnapIn,
 !(bind.assemblyFullName.VisibilitySnapIn.dll) Type=string Action=write
 /


 Any ideas?

 Chris

 On Thu, Jul 24, 2008 at 3:25 PM, Rob Mensching 
 [EMAIL PROTECTED]
 wrote:

  More likely than not, your FileId is wrong.  A bug is open on the fact
  that the binder doesn't fail when it hits an unknown binder variable.
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:
  [EMAIL PROTECTED] On Behalf Of Christopher Karper
  Sent: Thursday, July 24, 2008 10:50
  To: General discussion for Windows Installer XML toolset.
  Subject: [WiX-users] Binder variables from Votive
 
  I'm trying to update my MMC Snap In installer to automatically pull
 version
  info from the managed snap-in dll.  I've used the variable
  !(bind.assemblyFullName.SampleSnapIn.dll) to get the fullname, but in
  Orca, it has the actual binder variable text in the registry table,
 instead
  of the replaced value I'm looking for.
 
  I followed
 
 
 http://blogs.msdn.com/heaths/archive/2008/02/08/get-binder-variables-for-assemblies-without-installing-into-the-gac.aspxas
  my assembly is not GACed.  I also read through the previous threads in
  the group about binder variables, and Ias a result, I've added the -fv
  switch to the Linker box (for light, for non Votive users)...
 
  Still no dice.  Is there something I'm missing?  Shouldn't this be
 working
  as I have it?
 
  Chris
 
  *
  *
  -
  This SF.Net email is sponsored by the Moblin Your Move Developer's
  challenge
  Build the coolest Linux based applications with Moblin SDK  win great
  prizes
  Grand prize is a trip for two to an Open Source event anywhere in the
 world
  http://moblin-contest.org/redirect.php?banner_id=100url=/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
  -
  This SF.Net email is sponsored by the Moblin Your Move Developer's
  challenge
  Build the coolest Linux based applications with Moblin SDK  win great
  prizes
  Grand prize is a trip for two to an Open Source event anywhere in the
 world
  http://moblin-contest.org/redirect.php?banner_id=100url=/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a 

Re: [WiX-users] InstallUtil elevating for Vista

2008-07-29 Thread jmcfadyen

where did you sequence it ? 

it will need to between installInitialize and InstallFinalize but after
InstallFiles. 


Zane Zeeh wrote:
 
 I have a custom action in my installer that uses installutil to register a
 snap-in for the MMC. It works fine except for when I install on Vista. On
 Vista installutil.exe does not get elevated so it fails. I have tried
 setting impersonate='no' and execute='deferred' as I have seen suggested
 on the web but that does not seem to work.
 
 What else can I try to get this to work? I'm using WIX 2.0. Any
 suggestions would be appreciated.
 
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
 world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/InstallUtil-elevating-for-Vista-tp18713125p18724640.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Framework with Wix

2008-07-29 Thread Krishnan Senthilraj
Hi Rob,

What is the best approach for my requirement. Please advice.

Cheers
Senthilraj

On Tue, Jul 29, 2008 at 8:47 PM, Rob Mensching
[EMAIL PROTECTED]wrote:

 Okay, then I just don't understand the original question.  smile/

 -Original Message-
 From: [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] On Behalf Of Krishnan Senthilraj
  Sent: Tuesday, July 29, 2008 04:25
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] Framework with Wix

 Hi Rob,

 In our Integration and Production environment have number of servers like
 20+ to host our application into load balanced, Technology based
 installation.

 To be more precise we are looking for the individual pacakges for each
 servers. Also we would like to automate these packaging using the TFS
 Build.

 Cheers
 Senthilraj

 On Tue, Jul 29, 2008 at 9:17 AM, Rob Mensching
 [EMAIL PROTECTED]wrote:

  Is there a reason you can't put all of this in a single Windows Installer
  package?
 
  -Original Message-
  From: [EMAIL PROTECTED] [mailto:
  [EMAIL PROTECTED] On Behalf Of Krishnan
 Senthilraj
  Sent: Monday, July 28, 2008 20:45
  To: General discussion for Windows Installer XML toolset.
  Subject: Re: [WiX-users] Framework with Wix
 
  Hi Jeff,
 
  Thanks for the response. I agree with the tool what you said.
 
  I am try to communicate clearly.
 
 
- We want to create 20 packages for our project which includes biztalk,
work flow, application database etc.,
- To create these packages we have some dependency between packages.
- We want to create Automated build framework for all these packages.
 
  To acheive above requirements I am looking for some guidance like
 creating
  some base dependency libraries which will be referred by other packaging
  project.
 
  Please advice if I am clear enough to explain or let me know your
  clarifications.
 
  Cheers
  Raj
 
 
 
 
 
 
 
  On Fri, Jul 25, 2008 at 5:28 PM, jeff sacksteder [EMAIL PROTECTED]
  wrote:
 
   I'm not sure what you mean by 'framework' but there are some
   higher-level tools for composing Wix packages. Votive is Visual Studio
   integration for Wix. There are also third party tools like
   SharpDevelop and WixAware.
  
I am new to Wix. Is there any existing framework available with Wix.?
  
  
 -
   This SF.Net email is sponsored by the Moblin Your Move Developer's
   challenge
   Build the coolest Linux based applications with Moblin SDK  win great
   prizes
   Grand prize is a trip for two to an Open Source event anywhere in the
  world
   http://moblin-contest.org/redirect.php?banner_id=100url=/
   ___
   WiX-users mailing list
   WiX-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wix-users
  
  -
  This SF.Net email is sponsored by the Moblin Your Move Developer's
  challenge
  Build the coolest Linux based applications with Moblin SDK  win great
  prizes
  Grand prize is a trip for two to an Open Source event anywhere in the
 world
  http://moblin-contest.org/redirect.php?banner_id=100url=/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
  -
  This SF.Net email is sponsored by the Moblin Your Move Developer's
  challenge
  Build the coolest Linux based applications with Moblin SDK  win great
  prizes
  Grand prize is a trip for two to an Open Source event anywhere in the
 world
  http://moblin-contest.org/redirect.php?banner_id=100url=/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 

[WiX-users] Help on Executing batch file from WIX

2008-07-29 Thread Kalvagadda, SivaKrishna (GMIT-TASS)
Hi,

I have tried different methods of executing MSI or Batch files from WIX
but couldn't find the solution.

Could someone please help me in executing a batch file or MSI from WIX.

Thanks...Siva. 


Regards,
SivaKrishna Kalvagadda,
201-671-5552.


This message w/attachments (message) may be privileged, confidential or 
proprietary, and if you are not an intended recipient, please notify the 
sender, do not use or share it and delete it. Unless specifically indicated, 
this message is not an offer to sell or a solicitation of any investment 
products or other financial product or service, an official confirmation of any 
transaction, or an official statement of Merrill Lynch. Subject to applicable 
law, Merrill Lynch may monitor, review and retain e-communications (EC) 
traveling through its networks/systems. The laws of the country of each 
sender/recipient may impact the handling of EC, and EC may be archived, 
supervised and produced in countries other than the country in which you are 
located. This message cannot be guaranteed to be secure or error-free. This 
message is subject to terms available at the following link: 
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you 
consent to the foregoing.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Help on Executing batch file from WIX

2008-07-29 Thread Chandra Vuppala
Hi Siva,
You can use custom action for caling batch or msbuild scripts.
If you find any better approach let me know.
code sample;
 
 
?xml version=1.0 encoding=UTF-8?

Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;

Product Id=c6669e98-e409-45ef-8ff8-4ab317d4df5e Name=WixCustomTask 
Language=1033 Version=1.0.0.0 Manufacturer=Oakton 
UpgradeCode=d9730644-ea3f-4927-b492-b30068bf9825

Package InstallerVersion=200 Compressed=yes /

Media Id=1 Cabinet=WixCustomTask.cab EmbedCab=yes /

Directory Id=TARGETDIR Name=SourceDir

Directory Id=ProgramFilesFolder

Directory Id=INSTALLLOCATION Name=WixCustomTask

Component Id=ProductComponent Guid=2ded3d1a-8b56-44b9-ab2b-a223e58cc04e

File Id=SCCTest.xml Source=C:\ddf.xml/File

/Component

/Directory

/Directory

/Directory

 

!--

Define a custom action to set the property value of the

command to execute. This could have been hardcoded, but

this is a bit more realistic.

--

CustomAction

Id=SetPropertySampleEXE

Property=SampleEXE

Value=C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe /

!--

Define a custom action to execute our sample EXE (which

just happens to be an XCOPY (as defined by the property

SampleEXE. C:\Windows\System32\cmd.exe /k D:\Program Files\Microsoft Visual 
Studio 8\SDK\v2.0\Bin\sdkvars.bat

--

CustomAction

Id=InvokeSampleEXE

Property=SampleEXE

ExeCommand=/property:EnvironmentConfig=DEV;BT06_InstallDirectory=C:\DirectoryName
 ;BizTalkDatabaseServer=(local); 
BizTalkBuildConfiguration=Debug;BizTalkManagementDatabaseName=DBName Project 
file path /

!--

Invoke the custom actions

- Set the property first, then execute the command

--

InstallExecuteSequence

Custom

Action=SetPropertySampleEXE

After=InstallFiles /

Custom

Action=InvokeSampleEXE

After=SetPropertySampleEXE /

/InstallExecuteSequence

UIRef Id=WixUI_Mondo/

Feature Id=ProductFeature Title=WixCustomTask Level=1

ComponentRef Id=ProductComponent /

/Feature

/Product

/Wix

 
 
 
 
 
 




From: [EMAIL PROTECTED] on behalf of Kalvagadda, SivaKrishna (GMIT-TASS)
Sent: Wed 30/07/2008 9:25 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Help on Executing batch file from WIX



Hi,

I have tried different methods of executing MSI or Batch files from WIX
but couldn't find the solution.

Could someone please help me in executing a batch file or MSI from WIX.

Thanks...Siva.


Regards,
SivaKrishna Kalvagadda,
201-671-5552.


This message w/attachments (message) may be privileged, confidential or 
proprietary, and if you are not an intended recipient, please notify the 
sender, do not use or share it and delete it. Unless specifically indicated, 
this message is not an offer to sell or a solicitation of any investment 
products or other financial product or service, an official confirmation of any 
transaction, or an official statement of Merrill Lynch. Subject to applicable 
law, Merrill Lynch may monitor, review and retain e-communications (EC) 
traveling through its networks/systems. The laws of the country of each 
sender/recipient may impact the handling of EC, and EC may be archived, 
supervised and produced in countries other than the country in which you are 
located. This message cannot be guaranteed to be secure or error-free. This 
message is subject to terms available at the following link: 
http://www.ml.com/e-communications_terms/. By messaging with Merrill Lynch you 
consent to the foregoing.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



IMPORTANT
1.  This email and any attachments are confidential.  Any unauthorised 
dissemination or other use of these materials is prohibited.  If received in 
error, please contact us and delete all copies.  
2.  Before opening or using attachments, check them for viruses and 
defects.  Our liability is limited to resupplying any affected attachments. 
3.  Protecting your privacy is important to us.  Our privacy statement and 
further information is available at www.oakton.com.au.-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world

[WiX-users] SQL Extension Questions

2008-07-29 Thread Murray Hipper
Hi All,

Three questions on the SQL extension.

1) Is there a way to set the database collation (and other database
options) using the SQL extension?
I am assuming it would set on the Sql:SqlDatabase element or a child
element of this, however I can't seem to see it in any xsd schema's. We
usually get the database administrator to run the Create database
statement with the COLLATE Latin1_General_CI_AS flag.
I 'could' change the collation after the database with an alter
statement, but if the database already exists I don't want to be
changing the collation when previous objects still exist.

2) Is there a property I can check to see if wix had to create the
database or if the database already existed? Looking at the verbose log
file the MSI generates I can't seem to find it. There are a number of
server logins I need to create only if the database didn't exist. I
could make a check box in the UI and use that as the condition but it's
not as clean.

3) I have an additional question in the SQL namespace to do with
conditions. I have accounted for both authenticated and user/password
scenarios in my user interface dialog and as a result needed to pass
that information into the wix SQL elements. The only way I've achieved
this is by copy and pasting the entire block of SQL code below, one with
the Condition set to = 1, the other with it set to = 0. I find it a
little bulky to have this code almost copy and pasted so I wondered if
there was another method of achieving the same thing.

  Component Id='DatabaseFileAuth'
Guid='2CA253E3-FDAF-46BE-AACA-376969DE7E5B'
Sql:SqlDatabase Id=SqlDatabaseIntAuth
Server=[SQLSERVERNAME] Database=[SQLDATABASENAME]
  CreateOnInstall=yes ConfirmOverwrite=yes
DropOnUninstall=no CreateOnReinstall=yes DropOnInstall=yes
  Sql:SqlFileSpec Id=SqlDatabaseIntAuthDataFile
Filename=[UNKOWNPROP]
Name=[SQLDATABASENAME]_Data Size=512MB
GrowthSize=512MB MaxSize=Unlimited /
  Sql:SqlFileSpec Id=SqlDatabaseIntAuthLogFile
Filename=[UNKOWNPROP]
Name=[SQLDATABASENAME]_Log Size=512MB GrowthSize=512MB
MaxSize=25600MB  /
/Sql:SqlDatabase

Sql:SqlScript Id=RunDropDatabaseAuth
SqlDb=SqlDatabaseIntAuth BinaryKey=DropEverything
  ExecuteOnInstall=yes ContinueOnError=yes Sequence=1 /
Sql:SqlScript Id=RunBuildDatabaseAuth
SqlDb=SqlDatabaseIntAuth BinaryKey=BuildDatabase
  ExecuteOnInstall=yes Sequence=2 /
ConditionSQLINTEGRATEDSECURITY = 1/Condition

  /Component

. Copy and paste above but make new Ids, Guids, set the user
attribute and make the condition = 0.

Thanks for your time,
Murray Hipper
[EMAIL PROTECTED]

This e-mail and any attachments to it (the Communication) are confidential 
and are for the use only of the intended recipient. The Communication may 
contain copyright material of the Snowden Group (Snowden), or any of its 
related entities or of third parties. If you are not the intended recipient of 
the Communication, please notify the sender immediately by return e-mail, 
delete the Communication, and do not copy, print, retransmit, disclose, store 
or act in reliance on the Communication. Any views expressed in the 
Communication are those of the individual sender only, unless expressly stated 
to be those of Snowden. Although virus protection devices and procedures are in 
place, Snowden does not guarantee the integrity of the Communication, or that 
it is free from errors, viruses or interference. Snowden advises email 
recipients to carry out their own virus checks before opening any attachment.  
Please note that the main telephone number for the Snowden Perth office has ch
 anged to +61 8 9213 9213.


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] books for Wix and Application packaging

2008-07-29 Thread Krishnan Senthilraj
Hi,

Can some one suggest some good books for MSI Application packaging and Wix.

Cheers
Senthilraj
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users