Re: [WiX-users] error while uninstalling

2008-10-08 Thread Rob Mensching
Can you be more specific about the version.  Running candle -? will show you 
the full version.  It is very possible you have an old build and this is 
already fixed.

-Original Message-
From: Nutesh Garg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 22:07
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] error while uninstalling

I am using Wix 2.0

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 12:29 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] error while uninstalling

What version of the WiX toolset are you using?

-Original Message-
From: Nutesh Garg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 00:29
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] error while uninstalling



From: Nutesh Garg
Sent: Tuesday, October 07, 2008 12:51 PM
To: 'wix-users@lists.sourceforge.net'
Subject: error while uninstalling

Hi,

I am getting an error while uninstalling the product that has been patched.
The msi log says:

DEBUG: Error 2769:  Custom Action InstallSqlData did not close 5 MSIHANDLEs.
MSI (s) (74:6C) [23:50:36:688]: Closing MSIHANDLE (74) of type 790542 for 
thread 6176
The installer has encountered an unexpected error installing this package. This 
may indicate a problem with this package. The error code is 2769. The arguments 
are: InstallSqlData, 5,
MSI (s) (74:20) [23:50:36:688]: Machine policy value 'DisableRollback' is 0
MSI (s) (74:20) [23:50:36:688]: Note: 1: 1402 2: 
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts
 3: 2
Action ended 23:50:36: InstallSqlData. Return value 3.

The error 2769 says The InstallExecuteSequence may have been authored 
incorrectly. Actions that change the system must be sequenced between the 
InstallInitialize and InstallFinalize actions. Perform package validation and 
check for ICE77. I validated the package and this ICE77 is not coming.

From my investigation I found that InstallSqlData is a standard custom action 
that is added by WIX itself when I run some SQL scripts.
The custom action is automatically scheduled after InstallFiles and in 
InstallExecuteSequence the condition to run this custom action is NOT 
SKIPINSTALLSQLDATA.

I am using WIX 2.0.

Any help is appreciated here.

Thanks,
Nutesh

-
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


Re: [WiX-users] How can I control the Order of Component Installation.

2008-10-08 Thread Rob Mensching
Windows Installer doesn't work that way.

-Original Message-
From: MadhaviAthota [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 21:18
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How can I control the Order of Component Installation.


Hi All,

I have a scenario where I need to take

  Backup of already existing files.
  Remove the files.
  Copy new files into the above location.
  Copy back only the Web.Config file from the backup location.

I have written seperate components for each step in WIX .wxs file.
When I am trying to run the MSI, the components are not running in the order
required. First the files are getting removed, then the backup step is
comming into play, and running into errors as the files were already removed
from the backup location.

Is there a way in WIX through which I can control the order.

Thanks in advance,
Madhavi.


--
View this message in context: 
http://n2.nabble.com/How-can-I-control-the-Order-of-Component-Installation.-tp1305604p1305604.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] Custom action dll function is not executed

2008-10-08 Thread Wong Shao Voon
Hello, anyone can answer my question? I found that this question has zero views 
in the forum.

Thank you.

Best regards,
Shao Voon



  
-
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] Problem on Heat.exe

2008-10-08 Thread Rob Mensching
Heat.exe needs significant work to be generally useful.  However, there 
currently isn't an active owner so it hasn't made real progress in about a year 
now.  It would be great if you would ensure there is a Feature Request tracking 
the issue if you think it is important.

-Original Message-
From: Wong Shao Voon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 21:12
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Problem on Heat.exe

Though I do not know the reason, I happen to found this link below,

http://msdn.microsoft.com/en-us/library/aa370810(VS.85).aspx

When a user uses RegAsm, he/she does not have to care where RegAsm writes to 
but using Heat.exe, we have to be aware of the registry location. Anyway, it is 
not just a simple script for me as I am using WiX 2.0: I have to change other 
things and add in a unique ID for every entry.

I hope you can keep in view of this issue.

Thank you for your time!

Best regards,
Shao Voon

--- On Wed, 10/8/08, Rob Mensching [EMAIL PROTECTED] wrote:
From: Rob Mensching [EMAIL PROTECTED]
Subject: Re: [WiX-users] Problem on Heat.exe
To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Date: Wednesday, October 8, 2008, 11:55 AM

Okay.  Should be a pretty simple script to replace HKCR with
HKLM\Software\Classes\CLSID.

From: Wong Shao Voon [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 20:54
To: Rob Mensching
Subject: RE: [WiX-users] Problem on Heat.exe

No difference which I can detect of. But I notice .Net COM assembly goes to
HKLM\SOFTWARE\Classes\CLSID while native COM dll goes to
HKCR\CLSID . I only want the behaviour to be as close as RegAsm as possible,
I believe RegAsm has a reason to do that which I do not know of.

Best regards,
Shao Voon

--- On Wed, 10/8/08, Rob Mensching [EMAIL PROTECTED] wrote:
From: Rob Mensching [EMAIL PROTECTED]
Subject: RE: [WiX-users] Problem on Heat.exe
To: [EMAIL PROTECTED] [EMAIL PROTECTED], General
discussion for Windows Installer XML toolset.
wix-users@lists.sourceforge.net
Date: Wednesday, October 8, 2008, 11:44 AM

What's the difference?



-Original

 Message-

From: Wong Shao Voon [mailto:[EMAIL PROTECTED]

Sent: Tuesday, October 07, 2008 19:56

To: wix-users@lists.sourceforge.net

Subject: [WiX-users] Problem on Heat.exe



Hi guys,



The registry entries generated by heat.exe writes to HKCR\CLSID, while

RegAsm actually writes them to HKLM\SOFTWARE\Classes\CLSID and so

on. Any plans to fix this? Or any workarounds other than manually replacing
them

ourselves?



Thank you very much!



Best regards,

Shao Voon









-

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


Re: [WiX-users] How can I control the Order of Component Installation.

2008-10-08 Thread Madhavi Athota (HCL Technologies Ltd)
Hi Rob,

Thank you for the reply.

How can this be achieved. I have seen in one of the forums that this can be 
done with custom actions.

I am trying to write a custom action in the following, but it is not working. I 
am not able to figure out the mistake.

?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
Product Id=bfb13c62-6766-47a5-b1b4-f0fc1694ba58 
Name=CustomActionsSetup Language=1033 Version=1.0.0.0 
Manufacturer=CustomActionsSetup 
UpgradeCode=5a508d87-31ff-4b19-b64e-30014cd9fe70
Package InstallerVersion=200 Compressed=yes /

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

Property Id=MYRPPBKPATH![CDATA[D:\]]/Property
Directory Id=TARGETDIR Name=SourceDir
  Directory Id=ProgramFilesFolder
Directory Id=MYRPPBKPATH Name=.
 Component Id=Component1 
Guid={bfb13c62-6766-47a5-b1b4-f0fc1694ba59}
File Id=ReadMe DiskId=1 Name=Readme.txt Source=Readme.txt 
Vital=yes KeyPath=yes /
 /Component
/Directory
  /Directory
/Directory

Feature Id=ProductFeature Title=RPPDSSSetup Level=1
  ComponentRef Id=Component1/
/Feature
Binary Id=MyCA 
SourceFile=D:\Samples\CustomActionsSetup\CustomActionsSetup\CustomAction.exe/

!--CustomAction Id=DoSomething BinaryKey=MyCA 
ExeCommand='D:\Samples\CustomActionsSetup\CustomActionsSetup\CustomAction.exe 
D:\Samples\EnvironmentConfig.xml RPP BACKUP' Execute=deferred 
Return=check HideTarget=no Impersonate=no /--
CustomAction Id=DoSomething BinaryKey=MyCA 
ExeCommand='D:\Samples\EnvironmentConfig.xml RPP BACKUP' 
Execute=deferred Return=check HideTarget=no Impersonate=no /



InstallExecuteSequence

  Custom Action=DoSomething Before=InstallFinalize /

/InstallExecuteSequence



  /Product
/Wix

Thank You,
Madhavi.

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 11:30 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How can I control the Order of Component Installation.

Windows Installer doesn't work that way.

-Original Message-
From: MadhaviAthota [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 21:18
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How can I control the Order of Component Installation.


Hi All,

I have a scenario where I need to take

  Backup of already existing files.
  Remove the files.
  Copy new files into the above location.
  Copy back only the Web.Config file from the backup location.

I have written seperate components for each step in WIX .wxs file.
When I am trying to run the MSI, the components are not running in the order
required. First the files are getting removed, then the backup step is
comming into play, and running into errors as the files were already removed
from the backup location.

Is there a way in WIX through which I can control the order.

Thanks in advance,
Madhavi.


--
View this message in context: 
http://n2.nabble.com/How-can-I-control-the-Order-of-Component-Installation.-tp1305604p1305604.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


-
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] error while uninstalling

2008-10-08 Thread Nutesh Garg
The exact version which we are using is:
2.0.3628.0

Thanks,
Nutesh

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 11:30 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] error while uninstalling

Can you be more specific about the version.  Running candle -? will show you 
the full version.  It is very possible you have an old build and this is 
already fixed.

-Original Message-
From: Nutesh Garg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 22:07
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] error while uninstalling

I am using Wix 2.0

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 12:29 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] error while uninstalling

What version of the WiX toolset are you using?

-Original Message-
From: Nutesh Garg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 00:29
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] error while uninstalling



From: Nutesh Garg
Sent: Tuesday, October 07, 2008 12:51 PM
To: 'wix-users@lists.sourceforge.net'
Subject: error while uninstalling

Hi,

I am getting an error while uninstalling the product that has been patched.
The msi log says:

DEBUG: Error 2769:  Custom Action InstallSqlData did not close 5 MSIHANDLEs.
MSI (s) (74:6C) [23:50:36:688]: Closing MSIHANDLE (74) of type 790542 for 
thread 6176
The installer has encountered an unexpected error installing this package. This 
may indicate a problem with this package. The error code is 2769. The arguments 
are: InstallSqlData, 5,
MSI (s) (74:20) [23:50:36:688]: Machine policy value 'DisableRollback' is 0
MSI (s) (74:20) [23:50:36:688]: Note: 1: 1402 2: 
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts
 3: 2
Action ended 23:50:36: InstallSqlData. Return value 3.

The error 2769 says The InstallExecuteSequence may have been authored 
incorrectly. Actions that change the system must be sequenced between the 
InstallInitialize and InstallFinalize actions. Perform package validation and 
check for ICE77. I validated the package and this ICE77 is not coming.

From my investigation I found that InstallSqlData is a standard custom action 
that is added by WIX itself when I run some SQL scripts.
The custom action is automatically scheduled after InstallFiles and in 
InstallExecuteSequence the condition to run this custom action is NOT 
SKIPINSTALLSQLDATA.

I am using WIX 2.0.

Any help is appreciated here.

Thanks,
Nutesh

-
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 

Re: [WiX-users] How can I control the Order of Component Installation.

2008-10-08 Thread Rob Mensching
Getting that series of steps working in the Windows Installer will take some 
pretty complicated CustomActions.  I'd really have to sit down for a while to 
design it.  Upgrading and patching plus rollback in those scenarios would be 
particularly interesting to account for.

I'd also promote a more traditional installation design.

-Original Message-
From: Madhavi Athota (HCL Technologies Ltd) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 23:14
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How can I control the Order of Component Installation.

Hi Rob,

Thank you for the reply.

How can this be achieved. I have seen in one of the forums that this can be 
done with custom actions.

I am trying to write a custom action in the following, but it is not working. I 
am not able to figure out the mistake.

?xml version=1.0 encoding=UTF-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
Product Id=bfb13c62-6766-47a5-b1b4-f0fc1694ba58 
Name=CustomActionsSetup Language=1033 Version=1.0.0.0 
Manufacturer=CustomActionsSetup 
UpgradeCode=5a508d87-31ff-4b19-b64e-30014cd9fe70
Package InstallerVersion=200 Compressed=yes /

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

Property Id=MYRPPBKPATH![CDATA[D:\]]/Property
Directory Id=TARGETDIR Name=SourceDir
  Directory Id=ProgramFilesFolder
Directory Id=MYRPPBKPATH Name=.
 Component Id=Component1 
Guid={bfb13c62-6766-47a5-b1b4-f0fc1694ba59}
File Id=ReadMe DiskId=1 Name=Readme.txt Source=Readme.txt 
Vital=yes KeyPath=yes /
 /Component
/Directory
  /Directory
/Directory

Feature Id=ProductFeature Title=RPPDSSSetup Level=1
  ComponentRef Id=Component1/
/Feature
Binary Id=MyCA 
SourceFile=D:\Samples\CustomActionsSetup\CustomActionsSetup\CustomAction.exe/

!--CustomAction Id=DoSomething BinaryKey=MyCA 
ExeCommand='D:\Samples\CustomActionsSetup\CustomActionsSetup\CustomAction.exe 
D:\Samples\EnvironmentConfig.xml RPP BACKUP' Execute=deferred 
Return=check HideTarget=no Impersonate=no /--
CustomAction Id=DoSomething BinaryKey=MyCA 
ExeCommand='D:\Samples\EnvironmentConfig.xml RPP BACKUP' 
Execute=deferred Return=check HideTarget=no Impersonate=no /



InstallExecuteSequence

  Custom Action=DoSomething Before=InstallFinalize /

/InstallExecuteSequence



  /Product
/Wix

Thank You,
Madhavi.

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 11:30 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How can I control the Order of Component Installation.

Windows Installer doesn't work that way.

-Original Message-
From: MadhaviAthota [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 21:18
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How can I control the Order of Component Installation.


Hi All,

I have a scenario where I need to take

  Backup of already existing files.
  Remove the files.
  Copy new files into the above location.
  Copy back only the Web.Config file from the backup location.

I have written seperate components for each step in WIX .wxs file.
When I am trying to run the MSI, the components are not running in the order
required. First the files are getting removed, then the backup step is
comming into play, and running into errors as the files were already removed
from the backup location.

Is there a way in WIX through which I can control the order.

Thanks in advance,
Madhavi.


--
View this message in context: 
http://n2.nabble.com/How-can-I-control-the-Order-of-Component-Installation.-tp1305604p1305604.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


-
This SF.Net email is sponsored by the Moblin Your Move 

Re: [WiX-users] error while uninstalling

2008-10-08 Thread Rob Mensching
That version of the WiX toolset is almost two years old.  You need to upgrade 
to get the bug fixes.  I'm pretty sure this one is fixed.

-Original Message-
From: Nutesh Garg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 23:39
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] error while uninstalling

The exact version which we are using is:
2.0.3628.0

Thanks,
Nutesh

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 11:30 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] error while uninstalling

Can you be more specific about the version.  Running candle -? will show you 
the full version.  It is very possible you have an old build and this is 
already fixed.

-Original Message-
From: Nutesh Garg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 22:07
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] error while uninstalling

I am using Wix 2.0

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 12:29 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] error while uninstalling

What version of the WiX toolset are you using?

-Original Message-
From: Nutesh Garg [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 07, 2008 00:29
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] error while uninstalling



From: Nutesh Garg
Sent: Tuesday, October 07, 2008 12:51 PM
To: 'wix-users@lists.sourceforge.net'
Subject: error while uninstalling

Hi,

I am getting an error while uninstalling the product that has been patched.
The msi log says:

DEBUG: Error 2769:  Custom Action InstallSqlData did not close 5 MSIHANDLEs.
MSI (s) (74:6C) [23:50:36:688]: Closing MSIHANDLE (74) of type 790542 for 
thread 6176
The installer has encountered an unexpected error installing this package. This 
may indicate a problem with this package. The error code is 2769. The arguments 
are: InstallSqlData, 5,
MSI (s) (74:20) [23:50:36:688]: Machine policy value 'DisableRollback' is 0
MSI (s) (74:20) [23:50:36:688]: Note: 1: 1402 2: 
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts
 3: 2
Action ended 23:50:36: InstallSqlData. Return value 3.

The error 2769 says The InstallExecuteSequence may have been authored 
incorrectly. Actions that change the system must be sequenced between the 
InstallInitialize and InstallFinalize actions. Perform package validation and 
check for ICE77. I validated the package and this ICE77 is not coming.

From my investigation I found that InstallSqlData is a standard custom action 
that is added by WIX itself when I run some SQL scripts.
The custom action is automatically scheduled after InstallFiles and in 
InstallExecuteSequence the condition to run this custom action is NOT 
SKIPINSTALLSQLDATA.

I am using WIX 2.0.

Any help is appreciated here.

Thanks,
Nutesh

-
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=/

Re: [WiX-users] ClickThrough - Need help

2008-10-08 Thread Rob Mensching
ClickThrough is not fully developed.  There are a lot of bugs left to be 
addressed.  Due to lack of resources, we've been focusing on finishing WiX v3 
and will pick up ClickThrough in WiX v4 (I hope).

-Original Message-
From: Rahul Ranjit [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 00:44
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] ClickThrough - Need help

Hi,

I've been fiddling around with ClickThrough since yesterday and I'm not sure if 
I'm doings things rt.

Steps:
1. Created a test application
2. Used the ClickthroughUI tool to generate the setup.exe and rss feed.
3. Copied the two items into a virtual directory.
4. Updated the application and rebuilt the rss and setup.exe and copied it over 
to the virtual directory


The updates are not happening automatically when I start the application from 
the client. Am I missing anything here?



Questions:
What does the following fields in the rss xml represent?
1. as:digest algorithm=sha256
2. as:version - Where is this information populated from? Is this used to 
decide if an update is done?

Can I update the rss feed manually say, pubDate and replace the setup.exe and 
expect an automated update?

Rahul Ranjit


-
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] How to GAC .Net assemblies the correct way?

2008-10-08 Thread Eitan Behar
Very simple, just use the file property Assembly=.net that way the file
will go to the GAC regardless of its position in the directory tree. Notice
that if you want the DLL also in Program Files\YourApp\bin, you need another
component.



-Original Message-
From: Wong Shao Voon [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, October 08, 2008 11:55 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to GAC .Net assemblies the correct way?

Hey guys,

I could use a custom action to gacutil the .Net dlls into the GAC. But I
searched that WiX and MSI has the correct way of GAC'ing the dlls, instead
of using gacutil.exe . After I googled, I still couldn't find a single
example on how to do it. Could someone kind enough to enlighten me the
correct way to specify it in the WXS file?

Thank you very much!

And have a nice day!

Best regards,
Shao Voon



  
-
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] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread polan


Thx for the answer


Ian Elliott (Excell Data Corporation) wrote:
 
 For the minor upgrade and small update you don't make use of the Update
 tag at all.
 

Ok - lets stick to minor upgrade. I don't insert the upgrade tag, I change
the package guid, and version. 
I run the installation msiexec /i ExampleInstaller.msi REINSTALALL=ALL
REINSTALLMODE=vomus
And i get stuck at maintenance dialog instead of getting normal
installation. 
What's possibly wrong? Or maybe it is just the way that minor upgrade works?
(couldn't think of the good reason)
The other question is - if I get through it, will the minor upgrade override
the files with new versions?
I enclose a file with the source (it is a very simple and short one)
http://n2.nabble.com/file/n1306236/Product.wxs Product.wxs 


Ian Elliott (Excell Data Corporation) wrote:
 
 Also, you listed below that the package guid didn't change for one
 scenario. You should always have a different package guid for every
 package built.
 

My mistake of course - it was supposed to be written like you say. I did it
this way, just described it wrong.



-- 
View this message in context: 
http://n2.nabble.com/How-Update---Upgrade-strategy-%28small%2C-minor%2C-major%29-affect-file-overriding--tp1304357p1306236.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


[WiX-users] How to GAC .Net assemblies the correct way?

2008-10-08 Thread Wong Shao Voon
Hey guys,

I could use a custom action to gacutil the .Net dlls into the GAC. But I 
searched that WiX and MSI has the correct way of GAC'ing the dlls, instead of 
using gacutil.exe . After I googled, I still couldn't find a single example on 
how to do it. Could someone kind enough to enlighten me the correct way to 
specify it in the WXS file?

Thank you very much!

And have a nice day!

Best regards,
Shao Voon



  
-
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] Visual Studio 2010 and WiX. Which version?

2008-10-08 Thread Jon Arild Tørresdal
As you all probably know WiX will be part of Visual Studio 2010. Anybody
know which version? 2 or 3? 

 

Thanks.

 

Regards,
Jon Arild Tørresdal

Blog:  http://blog.torresdal.net/ http://blog.torresdal.net

 

-
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] Assemblies in GAC don't find their native dependencies

2008-10-08 Thread ACKH

Hi all,

We have a framework that consists of both managed and unmanaged assemblies.
The managed assembies depend on the unmanaged assemblies. Some are connected
using dllimport (e.g. [DllImport(kernel32)]) and some .NET assemblies are
managed C++ that include the headers of the unmanaged assemblies.

Now if we deploy this framework as part of an application and all framework
files (managed and unmanaged) are installed into the same folder everything
works just fine. But if we install the managed assemblies into the Global
Assembly Cache we run into problems. The managed assemblies simply can't
find their unmanaged dependencies. This is comprehensible because it is not
clear for the runtime where the dlls are actually installed. Currently we
solved the by expanding the path variable of the application process with a
link to the directory containing the dependencies.

What is quite interesting is that NGen.exe (.NET 2.0 framework) cannot deal
with this scenario (managed dll in GAC, unmanaged dll in C:\Program
Files\TestApp\bin directory). I know that NGen.exe offers the switch
/AppBase to point to the directory containing the dependencies but this does
not work in our case. We call NGen.exe the following way:

C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\ngen.exe install
ManagedTest, Version=1.0.0.0, Culture=neutral, PublicKeyToken=public key
token /AppBase:C:\Program Files\TestApp\bin\\

NGen.exe fails with the following error message:
Failed to load dependency unmanaged dependency of assembly managed
assembly, Version=1.0.0.0, Culture=neutral, PublicKeyToken=public key
token because of the following error : This application has failed to start
because the application configuration is incorrect. Reinstalling the
application may fix this problem. (Exception from HRESULT: 0x800736B1)

When I add the directory (C:\Program Files\TestApp\bin) to the PATH
variable NGen works just fine. This is not very elegant because I want to
call NGen.exe in my merge module that deploys the framework. Basically the
WiX installer that creates my merge modules calls NGen just like that and it
works but only if I set the PATH variable accordingly. The attribute
AppBaseDirectory in NetFx:NativeImage is set to the correct dependencies
folder (actually the NGen.exe call is copied out of the installer log file)

I don't want my installer to manipulate the PATH variable but currently I
don't see another way. I posted in the MSDNs Common language runtime forum
because it is not clear to me why the AppBase switch is not solving that
problem.

Does anyone know what I can do in my installer besides adding the directory
to the PATH variable?

Thanks!
-- 
View this message in context: 
http://n2.nabble.com/Assemblies-in-GAC-don%27t-find-their-native-dependencies-tp1306147p1306147.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


[WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

2008-10-08 Thread Nic Barden
Hi,
 
I created a CA using version 3.0.4318.0 of WiX.  When I ran the CA that was 
built via an installer, I received the error Failed to load assembly 
Microsoft.Deployment.WindowsInstaller. Error code 0x80070002.  Upon checking 
the C:\Program Files\MSBuild\Microsoft\WiX\v3.0\wix.ca.targets file that the CA 
project template includes, MakeSfxCA.exe is called WITHOUT passing the 
Microsoft.Deployment.WindowsInstaller.dll in as one of the dependencies to 
bundle.  When I modified the wix.ca.targets file, this issue was resolved.
 
Sorry if this issue has already been reported.
 
Cheers
_

-
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] ClickThrough - Need help

2008-10-08 Thread Rahul Ranjit
Thank you!
You would definitely not recommend us to consider it for production level work.

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 1:25 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] ClickThrough - Need help

ClickThrough is not fully developed.  There are a lot of bugs left to be 
addressed.  Due to lack of resources, we've been focusing on finishing WiX v3 
and will pick up ClickThrough in WiX v4 (I hope).

-Original Message-
From: Rahul Ranjit [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 00:44
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] ClickThrough - Need help

Hi,

I've been fiddling around with ClickThrough since yesterday and I'm not sure if 
I'm doings things rt.

Steps:
1. Created a test application
2. Used the ClickthroughUI tool to generate the setup.exe and rss feed.
3. Copied the two items into a virtual directory.
4. Updated the application and rebuilt the rss and setup.exe and copied it over 
to the virtual directory


The updates are not happening automatically when I start the application from 
the client. Am I missing anything here?



Questions:
What does the following fields in the rss xml represent?
1. as:digest algorithm=sha256
2. as:version - Where is this information populated from? Is this used to 
decide if an update is done?

Can I update the rss feed manually say, pubDate and replace the setup.exe and 
expect an automated update?

Rahul Ranjit


-
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] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread Adam Connelly
The project I'm working on at the moment uses a build server to automatically 
build our installers, etc.  As part of this, it provides the version number to 
the installer.  Therefore, every publish we do (and in fact every checkin of 
source) is a different version of the product.  This means that ideally I'd be 
able to take any published msi and install it, and it should have the correct 
install / upgrade behaviour without us having to manually alter the wxs files 
at all (fair enough it also means we have to distribute every file every time, 
but I'm not worried about that at the moment).

The only way I've got this to work at the moment is by manually changing the 
Product Id and checking it in before doing a publish to avoid the annoying 
another version of this product is already installed... message.  Otherwise 
it forces the user to uninstall the previous version before installing the new 
version - something that I've never had to do with any serious commercial 
package.

Is what I'm doing wrong, and if so what alternatives do I have?

Cheers,
Adam

-Original Message-
From: polan [mailto:[EMAIL PROTECTED]
Sent: 08 October 2008 11:39
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) 
affect file overriding?



Thx for the answer


Ian Elliott (Excell Data Corporation) wrote:

 For the minor upgrade and small update you don't make use of the Update
 tag at all.


Ok - lets stick to minor upgrade. I don't insert the upgrade tag, I change
the package guid, and version.
I run the installation msiexec /i ExampleInstaller.msi REINSTALALL=ALL
REINSTALLMODE=vomus
And i get stuck at maintenance dialog instead of getting normal
installation.
What's possibly wrong? Or maybe it is just the way that minor upgrade works?
(couldn't think of the good reason)
The other question is - if I get through it, will the minor upgrade override
the files with new versions?
I enclose a file with the source (it is a very simple and short one)
http://n2.nabble.com/file/n1306236/Product.wxs Product.wxs


Ian Elliott (Excell Data Corporation) wrote:

 Also, you listed below that the package guid didn't change for one
 scenario. You should always have a different package guid for every
 package built.


My mistake of course - it was supposed to be written like you say. I did it
this way, just described it wrong.



--
View this message in context: 
http://n2.nabble.com/How-Update---Upgrade-strategy-%28small%2C-minor%2C-major%29-affect-file-overriding--tp1304357p1306236.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


[WiX-users] Heat.exe and '1 directory - 1 component' mode

2008-10-08 Thread Yan Sklyarenko
Hello WiX community,

 

Does heat.exe utility support the mode 1 directory - 1 component, when
it harvests all the files of a certain directory to a single component?

I failed to find this option playing with the command-line switches, but
tallow.exe could do this (-1 switch).

 

Thank you.

 

-- Yan

 

-
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] How to GAC .Net assemblies the correct way?

2008-10-08 Thread Neil Enns
There is a complete example of how to do this in the WiX help file that ships 
with WiX. Look under the How To section.

Neil


From: Wong Shao Voon [EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 2:54 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to GAC .Net assemblies the correct way?

Hey guys,

I could use a custom action to gacutil the .Net dlls into the GAC. But I 
searched that WiX and MSI has the correct way of GAC'ing the dlls, instead of 
using gacutil.exe . After I googled, I still couldn't find a single example on 
how to do it. Could someone kind enough to enlighten me the correct way to 
specify it in the WXS file?

Thank you very much!

And have a nice day!

Best regards,
Shao Voon




-
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] How to create Pinned Start menu items

2008-10-08 Thread Scott Palmer
How can I have my WiX installer create an item in the Start menu that is
pinned ?
Thanks,

Scott
-
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] How to create Pinned Start menu items

2008-10-08 Thread Frank Richter
On 08.10.2008 16:30, Scott Palmer wrote:
 How can I have my WiX installer create an item in the Start menu that is
 pinned ?

You can't: http://blogs.msdn.com/oldnewthing/archive/2003/09/03/54760.aspx

-f.r

-
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] How to create Pinned Start menu items

2008-10-08 Thread Roger Lipscombe
http://blogs.msdn.com/oldnewthing/archive/2003/09/03/54760.aspx


-Original Message-
From: Scott Palmer [mailto:[EMAIL PROTECTED]
Sent: Wed 08 October 2008 15:30
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] How to create Pinned Start menu items

How can I have my WiX installer create an item in the Start menu that is
pinned ?
Thanks,

Scott
-
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


DISCLAIMER:  This is a PRIVATE AND CONFIDENTIAL message for the ordinary user 
of this email address.  If you are not the intended recipient, please delete 
without copying and kindly advise us by e-mail of the mistake in delivery.  
NOTE:  Regardless of content, this e-mail shall not operate to bind 1E Ltd to 
any order or other contract unless pursuant to explicit written agreement or 
government initiative expressly permitting the use of e-mail for such purpose.

-
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] Bug in wix.ca.targets version 3.0.4318.0?

2008-10-08 Thread Jason Ginchereau
That DLL is deliberately not listed separately in wix.ca.targets. It should 
always get pulled in automatically as one of the detected dependencies of your 
CA assembly.

What is the output from MakeSfxCA.exe when it doesn't include that DLL? It 
should say something like:
Loaded dependent assembly: 
c:\path\to\Microsoft.Deployment.WindowsInstaller.dll

Did you install Microsoft.Deployment.WindowsInstaller.dll to the GAC? That 
might explain why it didn't get picked up -- dependencies resolved to the GAC 
are assumed to be part of a separate prerequisite (like the .NET Framework or 
other redistributable), and therefore are not included in the CA package.

-Jason-

-Original Message-
From: Nic Barden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 6:14 AM
To: WiX User Group
Subject: [WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

Hi,

I created a CA using version 3.0.4318.0 of WiX.  When I ran the CA that was 
built via an installer, I received the error Failed to load assembly 
Microsoft.Deployment.WindowsInstaller. Error code 0x80070002.  Upon checking 
the C:\Program Files\MSBuild\Microsoft\WiX\v3.0\wix.ca.targets file that the CA 
project template includes, MakeSfxCA.exe is called WITHOUT passing the 
Microsoft.Deployment.WindowsInstaller.dll in as one of the dependencies to 
bundle.  When I modified the wix.ca.targets file, this issue was resolved.

Sorry if this issue has already been reported.

Cheers
_

-
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] Whats the best way to create a stub based installer?

2008-10-08 Thread Kunal Manaktola
I need an installer with a stub that has a very small disk size (maybe
less than 1MB) that checks conditions to see if the program is already
installed, and if it is it launches program.exe, and if it isn't
installed, it launches setup.exe as well as other pre-req setup programs
like windows installer and .net 2.0

 

Also if I plan to use the installer to check if the latest version of
the program is installed by checking it with the server version which
the path is located in a .ini file in the windows folder.

 

 

Whats the best way of doing this???  I need some major help !!!

 

 

Thanks

 

 

-
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] Target framework when building WIX v3

2008-10-08 Thread Christopher Karper
The 3.0 and 3.5 framework versions use the 2.0 runtime.  They're just
library and syntax additions.  I would suggest trying to reinstall the v2 of
NetFx, then reinstall Wix 3.

I don't know for sure what's causing it, or if that will fix it, but it'd be
a great first shot since you're apparently having tlb registration issues.

Chris

On Tue, Oct 7, 2008 at 12:48 PM, Jeb Remus [EMAIL PROTECTED] wrote:



Hello,

I'm having some trouble building WIX v3.   The top of my
 build log has


...
 Target framework: Microsoft .NET Framework 3.5
 Target(s) specified: inc

  [property] Target framework changed to Microsoft .NET Framework 2.0.
 ...



 However my build is failing with

 [cl] c:\users\jebremus\documents\visual studio
 2008\projects\wix\src\dtf\tools\sfxca\precomp.h(32) : fatal error C1083:
 Cannot open type library file: 'mscorlib.tlb': No such file or directory


 Mscorlib.tlb exists in the 2.0 framework folder, but not in 3.5.  When the
 build log says the target framework has been changed to 2.0, is this in fact
 the case?  Can I explicitly target a framework?  Any help would be great,
 thanks much.

 -jeb
 -
 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] How to create shortcut to an existing application?

2008-10-08 Thread Andrew Kendall
Hi All,

The product I am installing is a plug-in for another application, and I want to 
create a shortcut for the 'mother' application already installed on the users 
machine. All the examples I have seen so far declare Shortcut elements as 
children of File elements, but that is not applicable in this situation.

I can see how this can be done via a Custom Action (dll function) but I would 
prefer, if possible, to use built-in Windows Installer functionality and avoid 
having to worry about removal of the shortcuts during an uninstall.

If anybody could kindly provide a pointer or two, I would be most grateful, and 
thank you in advance for your time and attention.

Regards,
Andrew Kendall



  
-
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] Bug in wix.ca.targets version 3.0.4318.0?

2008-10-08 Thread Nic Barden
Hi Jason,

 

I have checked the GAC and yes the dll IS in there.  The dependant
assembly... IS also output.  I just verified this again and when I call
MakeSfxCA.exe WITHOUT explicitly specifying the WindowsInstaller.dll the
same error is logged (even though it has indicated it has loaded the
dependant assembly when I ran MakeSfxCA.exe).  When I do specify, it works.
Any other ideas of what I may be doing wrong/have wrongly configured?

Is there anything other than installing WiX and creating a custom action VS
project that I would have to do?

 

Thanks

 


Re:
http://sourceforge.net/mailarchive/message.php?msg_name=139942F2536B7C4FBDE
6B44132F80C842426B1D208%40NA-EXMSG-C111.redmond.corp.microsoft.com
[WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

From: Jason Ginchereau [EMAIL PROTECTED] - 2008-10-08 15:10


That DLL is deliberately not listed separately in wix.ca.targets. It should
always get pulled in automatically as one of the detected dependencies of
your CA assembly.

What is the output from MakeSfxCA.exe when it doesn't include that DLL? It
should say something like:
Loaded dependent assembly:
c:\path\to\Microsoft.Deployment.WindowsInstaller.dll

Did you install Microsoft.Deployment.WindowsInstaller.dll to the GAC? That
might explain why it didn't get picked up -- dependencies resolved to the
GAC are assumed to be part of a separate prerequisite (like the .NET
Framework or other redistributable), and therefore are not included in the
CA package.

-Jason-

-Original Message-
From: Nic Barden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 6:14 AM
To: WiX User Group
Subject: [WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

Hi,

I created a CA using version 3.0.4318.0 of WiX. When I ran the CA that was
built via an installer, I received the error Failed to load assembly
Microsoft.Deployment.WindowsInstaller. Error code 0x80070002. Upon checking
the C:\Program Files\MSBuild\Microsoft\WiX\v3.0\wix.ca.targets file that the
CA project template includes, MakeSfxCA.exe is called WITHOUT passing the
Microsoft.Deployment.WindowsInstaller.dll in as one of the dependencies to
bundle. When I modified the wix.ca.targets file, this issue was resolved.

Sorry if this issue has already been reported.

Cheers
_

-
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=100
http://moblin-contest.org/redirect.php?banner_id=100url=/ url=/
___
WiX-users mailing list
[EMAIL PROTECTED]
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] Failure using Wix installer certificates with Windows Vista

2008-10-08 Thread Luke Bakken
WiX users,

I'm following up on a thread from late July entitled Failure using
Wix installer certificates with WCF. I am trying to use WiX to
install PFX certificates with private keys on Windows Vista. The
installer I have works on XP, but on Vista the certificates *appear*
to install correctly, however there are no private key files created.
I believe this is the cause of the problem described in that thread.

I'm attempting a workaround using either winhttpcertcfg.exe or a
combination of certmgr.exe and winhttpcertcfg.exe.

I would enter a bug report, however it appears that new bug reports
are disabled on SourceForge for the WiX project. Is this true? All I
can choose is Add New Artifact and Browse.

Thanks,
Luke

-
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] Bug in wix.ca.targets version 3.0.4318.0?

2008-10-08 Thread Jason Ginchereau
How did Microsoft.Deployment.WindowsInstaller.dll get in the GAC? It's not 
supposed to be there; the WiX installer does not put it there. Like I said, if 
MakeSfxCA.exe finds a dependency in the GAC, it will NOT include it in the CA 
package.

However, you can still force a referenced assembly in the GAC to be included by 
setting the Copy Local property of the reference to True. Then when you build 
it will copy it to the output directory and MakeSfxCA.exe will find it in that 
location instead of in the GAC.

-Jason-

-Original Message-
From: Nic Barden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 9:02 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

Hi Jason,



I have checked the GAC and yes the dll IS in there.  The dependant
assembly... IS also output.  I just verified this again and when I call
MakeSfxCA.exe WITHOUT explicitly specifying the WindowsInstaller.dll the
same error is logged (even though it has indicated it has loaded the
dependant assembly when I ran MakeSfxCA.exe).  When I do specify, it works.
Any other ideas of what I may be doing wrong/have wrongly configured?

Is there anything other than installing WiX and creating a custom action VS
project that I would have to do?



Thanks




Re:
http://sourceforge.net/mailarchive/message.php?msg_name=139942F2536B7C4FBDE
6B44132F80C842426B1D208%40NA-EXMSG-C111.redmond.corp.microsoft.com
[WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

From: Jason Ginchereau [EMAIL PROTECTED] - 2008-10-08 15:10


That DLL is deliberately not listed separately in wix.ca.targets. It should
always get pulled in automatically as one of the detected dependencies of
your CA assembly.

What is the output from MakeSfxCA.exe when it doesn't include that DLL? It
should say something like:
Loaded dependent assembly:
c:\path\to\Microsoft.Deployment.WindowsInstaller.dll

Did you install Microsoft.Deployment.WindowsInstaller.dll to the GAC? That
might explain why it didn't get picked up -- dependencies resolved to the
GAC are assumed to be part of a separate prerequisite (like the .NET
Framework or other redistributable), and therefore are not included in the
CA package.

-Jason-

-Original Message-
From: Nic Barden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 6:14 AM
To: WiX User Group
Subject: [WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

Hi,

I created a CA using version 3.0.4318.0 of WiX. When I ran the CA that was
built via an installer, I received the error Failed to load assembly
Microsoft.Deployment.WindowsInstaller. Error code 0x80070002. Upon checking
the C:\Program Files\MSBuild\Microsoft\WiX\v3.0\wix.ca.targets file that the
CA project template includes, MakeSfxCA.exe is called WITHOUT passing the
Microsoft.Deployment.WindowsInstaller.dll in as one of the dependencies to
bundle. When I modified the wix.ca.targets file, this issue was resolved.

Sorry if this issue has already been reported.

Cheers
_

-
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=100
http://moblin-contest.org/redirect.php?banner_id=100url=/ url=/
___
WiX-users mailing list
[EMAIL PROTECTED]
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] MSI SQL Join Syntax

2008-10-08 Thread Nic Barden
Hi,
 
Does anyone know the correct syntax for joining 2 tables in MSI SQL? There 
isn't a lot of help from the formal documentation at 
http://msdn.microsoft.com/en-us/library/aa372021(VS.85).aspx
 
I am trying to join the SqlScript and Binary tables to get a list of binary 
files that are actually SQL Scripts.
I have the SQL SELECT `Name`, `Data` FROM `Binary` INNER JOIN `SqlScript` ON 
`Binary`.`Name` = `SqlScript`.`ScriptBinary`.
However this throws the error through DTF:
SQL query syntax invalid or unsupported. Database: Test.msi. Invalid or 
missing query string: SELECT `Name`, `Data` FROM `Binary` INNER JOIN 
`SqlScript` ON `Binary`.`Name` = `SqlScript`.`ScriptBinary`.
Any references to blogs/documentation on this topic also would be appreciated 
if anyone has any.
 
Thanks!
_

-
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 Windows Vista

2008-10-08 Thread Rob Mensching
What version of the WiX toolset are you using?

-Original Message-
From: Luke Bakken [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 09:35
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Failure using Wix installer certificates with Windows Vista

WiX users,

I'm following up on a thread from late July entitled Failure using
Wix installer certificates with WCF. I am trying to use WiX to
install PFX certificates with private keys on Windows Vista. The
installer I have works on XP, but on Vista the certificates *appear*
to install correctly, however there are no private key files created.
I believe this is the cause of the problem described in that thread.

I'm attempting a workaround using either winhttpcertcfg.exe or a
combination of certmgr.exe and winhttpcertcfg.exe.

I would enter a bug report, however it appears that new bug reports
are disabled on SourceForge for the WiX project. Is this true? All I
can choose is Add New Artifact and Browse.

Thanks,
Luke

-
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] ClickThrough - Need help

2008-10-08 Thread Rob Mensching
No, definitely not.  Later, yes, now... no.

-Original Message-
From: Rahul Ranjit [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 02:05
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] ClickThrough - Need help

Thank you!
You would definitely not recommend us to consider it for production level work.

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 1:25 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] ClickThrough - Need help

ClickThrough is not fully developed.  There are a lot of bugs left to be 
addressed.  Due to lack of resources, we've been focusing on finishing WiX v3 
and will pick up ClickThrough in WiX v4 (I hope).

-Original Message-
From: Rahul Ranjit [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 00:44
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] ClickThrough - Need help

Hi,

I've been fiddling around with ClickThrough since yesterday and I'm not sure if 
I'm doings things rt.

Steps:
1. Created a test application
2. Used the ClickthroughUI tool to generate the setup.exe and rss feed.
3. Copied the two items into a virtual directory.
4. Updated the application and rebuilt the rss and setup.exe and copied it over 
to the virtual directory


The updates are not happening automatically when I start the application from 
the client. Am I missing anything here?



Questions:
What does the following fields in the rss xml represent?
1. as:digest algorithm=sha256
2. as:version - Where is this information populated from? Is this used to 
decide if an update is done?

Can I update the rss feed manually say, pubDate and replace the setup.exe and 
expect an automated update?

Rahul Ranjit


-
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


Re: [WiX-users] MSI SQL Join Syntax

2008-10-08 Thread Rob Mensching
The MSI SQL Syntax is not a full SQL implementation.  The documentation is 
complete.  WHERE is what you're looking for I think.

-Original Message-
From: Nic Barden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 09:54
To: WiX User Group
Subject: [WiX-users] MSI SQL Join Syntax

Hi,

Does anyone know the correct syntax for joining 2 tables in MSI SQL? There 
isn't a lot of help from the formal documentation at 
http://msdn.microsoft.com/en-us/library/aa372021(VS.85).aspx

I am trying to join the SqlScript and Binary tables to get a list of binary 
files that are actually SQL Scripts.
I have the SQL SELECT `Name`, `Data` FROM `Binary` INNER JOIN `SqlScript` ON 
`Binary`.`Name` = `SqlScript`.`ScriptBinary`.
However this throws the error through DTF:
SQL query syntax invalid or unsupported. Database: Test.msi. Invalid or 
missing query string: SELECT `Name`, `Data` FROM `Binary` INNER JOIN 
`SqlScript` ON `Binary`.`Name` = `SqlScript`.`ScriptBinary`.
Any references to blogs/documentation on this topic also would be appreciated 
if anyone has any.

Thanks!
_

-
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] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread Rob Mensching
Product/@Id=*

-Original Message-
From: Adam Connelly [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 06:24
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) 
affect file overriding?

The project I'm working on at the moment uses a build server to automatically 
build our installers, etc.  As part of this, it provides the version number to 
the installer.  Therefore, every publish we do (and in fact every checkin of 
source) is a different version of the product.  This means that ideally I'd be 
able to take any published msi and install it, and it should have the correct 
install / upgrade behaviour without us having to manually alter the wxs files 
at all (fair enough it also means we have to distribute every file every time, 
but I'm not worried about that at the moment).

The only way I've got this to work at the moment is by manually changing the 
Product Id and checking it in before doing a publish to avoid the annoying 
another version of this product is already installed... message.  Otherwise 
it forces the user to uninstall the previous version before installing the new 
version - something that I've never had to do with any serious commercial 
package.

Is what I'm doing wrong, and if so what alternatives do I have?

Cheers,
Adam

-Original Message-
From: polan [mailto:[EMAIL PROTECTED]
Sent: 08 October 2008 11:39
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) 
affect file overriding?



Thx for the answer


Ian Elliott (Excell Data Corporation) wrote:

 For the minor upgrade and small update you don't make use of the Update
 tag at all.


Ok - lets stick to minor upgrade. I don't insert the upgrade tag, I change
the package guid, and version.
I run the installation msiexec /i ExampleInstaller.msi REINSTALALL=ALL
REINSTALLMODE=vomus
And i get stuck at maintenance dialog instead of getting normal
installation.
What's possibly wrong? Or maybe it is just the way that minor upgrade works?
(couldn't think of the good reason)
The other question is - if I get through it, will the minor upgrade override
the files with new versions?
I enclose a file with the source (it is a very simple and short one)
http://n2.nabble.com/file/n1306236/Product.wxs Product.wxs


Ian Elliott (Excell Data Corporation) wrote:

 Also, you listed below that the package guid didn't change for one
 scenario. You should always have a different package guid for every
 package built.


My mistake of course - it was supposed to be written like you say. I did it
this way, just described it wrong.



--
View this message in context: 
http://n2.nabble.com/How-Update---Upgrade-strategy-%28small%2C-minor%2C-major%29-affect-file-overriding--tp1304357p1306236.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


-
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] New to Wix, how do I use the temp folder?

2008-10-08 Thread David Bartmess
I'm trying to extract certain files into the temp folder for the user,
so that I can run scripts and delete them after. I don't want them
installed anywhere in the Program Files subtree.
 
How can I specify a Directory with the temp folder as the name?
 
Thanks!
 

 

David Bartmess

Wall Street On Demand 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 

direct: 303.417. x585

cell: 303.883-9117

fax: 303.444.2586

 
-
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] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread John Hall
 The only way I've got this to work at the moment is by
 manually changing the Product Id and checking it in before
 doing a publish to avoid the annoying another version of
 this product is already installed... message.  Otherwise it
 forces the user to uninstall the previous version before
 installing the new version - something that I've never had to
 do with any serious commercial package.

 Is what I'm doing wrong, and if so what alternatives do I have?

You could do minor upgrades for your nightly builds - this requires passing 
REINSTALLMODE=vomus on the msiexec commandline, so would probably require being 
wrapped in a bootstrapper.

Regards,
John

-
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] Bug in FeatureRef?

2008-10-08 Thread Brian Gillespie
Hi Francis,

Ah, yes - of course. That makes perfect sense. Putting the FeatureRefs 
in the main tree does exactly what I want it to do.

Thanks for your help./
 
  - Brian

Brian Gillespie
Rhinoceros Development
Robert McNeel  Associates///

Francis Kam wrote:
 Sounds about right. I've been down this road too. You don't need to end up
 with any Component* elements in your main feature tree. What I ended up
 doing was something more like this in your main:

 Feature ... 
   FeatureRef ... /
   FeatureRef ... /
 /Feature

 And then in your fragments have something like:

 Feature ...
   Component* /
 /Feature

 -Francis


 On Tue, Oct 7, 2008 at 4:52 PM, Brian Gillespie [EMAIL PROTECTED] wrote:

   
 Hi Rob,

   References start at the Product and work down.  If a Fragment does
   not get a reference into it, it will never be included in the build.
   Would that explain the behavior you are seeing?

 Probably. Maybe I'm trying to organize my XML files in a way that WiX
 isn't designed to handle.

 My hope was to have a top level wxs file to define the skeleton of my
 installer: common things including the directory structure and the
 feature tree structure, but no components.

 Then each feature would be defined in a separate fragment with
 corresponding DirectoryRef and FragmentRef references to hook back to
 the main wxs file:
  Fragment
DirectoryRef Id=INSTALLLOCATION
  Component Id=C1 Guid=...
File Id=Fi1 Source=files\f1.txt/
  /Component
/DirectoryRef

FeatureRef Id=F.1
  ComponentRef Id=C1/
/FeatureRef
  /Fragment

 But it appears that doing this orphans the component. Is this by design?

 I was trying to avoid having a big pile of Components, ComponentRefs,
 ComponentGroups, or ComponentGroupRefs back in the main skeleton wxs
 file, thinking (perhaps incorrectly) that it would be easiest to
 maintain if everything related to the feature was in one file.

  - Brian

 Brian Gillespie
 Rhinoceros Development
 Robert McNeel  Associates

 Rob Mensching wrote:
 
 References start at the Product and work down.  If a Fragment does not
   
 get a reference into it, it will never be included in the build.  Would that
 explain the behavior you are seeing?
 
 -Original Message-
 From: Brian Gillespie [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, October 07, 2008 15:13
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Bug in FeatureRef?

 WiX release 3.0.4513.0

 When I use a ComponentRef inside a FeatureRef inside a Fragment file,
 the File in my single Component doesn't end up in my MSI. However, if I
 move the FeatureRef into the main Product file, it works as I expect.

 Confused? Me too. Here's a tiny WiX project that gives the warning:

   
 http://download.mcneel.com/individual/c391d788-6d4c-4c77-9162-749cf19289e1/LayoutTest.zip
 
 If I move the FeatureRef block from WixFile1.wxs (the fragment) to
 LayoutTest.wxs (the Product) it works as I hoped it would work
   
 originally.
 
 Ultimately I hoped to use this type of arrangement to partition an
 installer with hundreds of files and scores of features such that all
 the XML for each feature is in one fragment.

 Thanks for your help,
   - Brian

 Brian Gillespie
 Rhinoceros Development
 Robert McNeel  Associates


 -
 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] Failure using Wix installer certificates with Windows Vista

2008-10-08 Thread Luke Bakken
Rob,

I'm using 3.0.3829 + the patches I submitted to fix the orphaned
private key issue - that issue is fixed in CVS and I'm eagerly
awaiting the next binary release.

I'm putting together a stripped-down example to add to a bug report on
SourceForge. I'll try it out on XP and Vista with the v2 binaries as
well as the last known good (with regard to certificates) v3
binaries.

Am I missing something about entering a bug on SF?

Thanks,
Luke

On Wed, Oct 8, 2008 at 9:55 AM, Rob Mensching
[EMAIL PROTECTED] wrote:
 What version of the WiX toolset are you using?

 -Original Message-
 From: Luke Bakken [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 08, 2008 09:35
 To: General discussion for Windows Installer XML toolset.
 Subject: [WiX-users] Failure using Wix installer certificates with Windows 
 Vista

 WiX users,

 I'm following up on a thread from late July entitled Failure using
 Wix installer certificates with WCF. I am trying to use WiX to
 install PFX certificates with private keys on Windows Vista. The
 installer I have works on XP, but on Vista the certificates *appear*
 to install correctly, however there are no private key files created.
 I believe this is the cause of the problem described in that thread.

 I'm attempting a workaround using either winhttpcertcfg.exe or a
 combination of certmgr.exe and winhttpcertcfg.exe.

 I would enter a bug report, however it appears that new bug reports
 are disabled on SourceForge for the WiX project. Is this true? All I
 can choose is Add New Artifact and Browse.

 Thanks,
 Luke

 -
 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] Bug in wix.ca.targets version 3.0.4318.0?

2008-10-08 Thread Nic Barden

Thanks - I removed it from the GAC and that fixed it.  Sorry I misread your
last response and thought it was supposed to be there.   I have no idea how
it got in the GAC in the first place if the installer doesn't GAC it as I
certainly don't remember manually GAC'ing it!

 


Re:
http://sourceforge.net/mailarchive/message.php?msg_name=139942F2536B7C4FBDE
6B44132F80C842426B1D318%40NA-EXMSG-C111.redmond.corp.microsoft.com
[WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

From: Jason Ginchereau [EMAIL PROTECTED] - 2008-10-08 16:44


How did Microsoft.Deployment.WindowsInstaller.dll get in the GAC? It's not
supposed to be there; the WiX installer does not put it there. Like I said,
if MakeSfxCA.exe finds a dependency in the GAC, it will NOT include it in
the CA package.

However, you can still force a referenced assembly in the GAC to be included
by setting the Copy Local property of the reference to True. Then when you
build it will copy it to the output directory and MakeSfxCA.exe will find it
in that location instead of in the GAC.

-Jason-

-Original Message-
From: Nic Barden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 9:02 AM
To: [EMAIL PROTECTED]
Subject: Re: [WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

Hi Jason,



I have checked the GAC and yes the dll IS in there. The dependant
assembly... IS also output. I just verified this again and when I call
MakeSfxCA.exe WITHOUT explicitly specifying the WindowsInstaller.dll the
same error is logged (even though it has indicated it has loaded the
dependant assembly when I ran MakeSfxCA.exe). When I do specify, it works.
Any other ideas of what I may be doing wrong/have wrongly configured?

Is there anything other than installing WiX and creating a custom action VS
project that I would have to do?



Thanks




Re:
http://sourceforge.net/mailarchive/message.php?msg_name=139942F2536B7C4FBDE
6B44132F80C842426B1D208%40NA-EXMSG-C111.redmond.corp.microsoft.com
[WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

From: Jason Ginchereau [EMAIL PROTECTED] - 2008-10-08 15:10


That DLL is deliberately not listed separately in wix.ca.targets. It should
always get pulled in automatically as one of the detected dependencies of
your CA assembly.

What is the output from MakeSfxCA.exe when it doesn't include that DLL? It
should say something like:
Loaded dependent assembly:
c:\path\to\Microsoft.Deployment.WindowsInstaller.dll

Did you install Microsoft.Deployment.WindowsInstaller.dll to the GAC? That
might explain why it didn't get picked up -- dependencies resolved to the
GAC are assumed to be part of a separate prerequisite (like the .NET
Framework or other redistributable), and therefore are not included in the
CA package.

-Jason-

-Original Message-
From: Nic Barden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 6:14 AM
To: WiX User Group
Subject: [WiX-users] Bug in wix.ca.targets version 3.0.4318.0?

Hi,

I created a CA using version 3.0.4318.0 of WiX. When I ran the CA that was
built via an installer, I received the error Failed to load assembly
Microsoft.Deployment.WindowsInstaller. Error code 0x80070002. Upon checking
the C:\Program Files\MSBuild\Microsoft\WiX\v3.0\wix.ca.targets file that the
CA project template includes, MakeSfxCA.exe is called WITHOUT passing the
Microsoft.Deployment.WindowsInstaller.dll in as one of the dependencies to
bundle. When I modified the wix.ca.targets file, this issue was resolved.

Sorry if this issue has already been reported.

Cheers
_

-
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=100
http://moblin-contest.org/redirect.php?banner_id=100
http://moblin-contest.org/redirect.php?banner_id=100url=/ url=/ url=/
___
WiX-users mailing list
[EMAIL PROTECTED]
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=100
http://moblin-contest.org/redirect.php?banner_id=100url=/ url=/
___
WiX-users mailing list
[EMAIL PROTECTED]
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 

Re: [WiX-users] New to Wix, how do I use the temp folder?

2008-10-08 Thread Rob Mensching
TempFolder is a standard folder.

-Original Message-
From: David Bartmess [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 10:22
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] New to Wix, how do I use the temp folder?

I'm trying to extract certain files into the temp folder for the user,
so that I can run scripts and delete them after. I don't want them
installed anywhere in the Program Files subtree.

How can I specify a Directory with the temp folder as the name?

Thanks!




David Bartmess

Wall Street On Demand

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]

direct: 303.417. x585

cell: 303.883-9117

fax: 303.444.2586


-
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] Failure using Wix installer certificates with Windows Vista

2008-10-08 Thread Rob Mensching
If you have another Certificate bug the stripped down example would be very 
helpful.  Just make sure to file the bug under

extensions
V3.0

And I'll see it.

-Original Message-
From: Luke Bakken [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 10:29
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Failure using Wix installer certificates with Windows 
Vista

Rob,

I'm using 3.0.3829 + the patches I submitted to fix the orphaned
private key issue - that issue is fixed in CVS and I'm eagerly
awaiting the next binary release.

I'm putting together a stripped-down example to add to a bug report on
SourceForge. I'll try it out on XP and Vista with the v2 binaries as
well as the last known good (with regard to certificates) v3
binaries.

Am I missing something about entering a bug on SF?

Thanks,
Luke

On Wed, Oct 8, 2008 at 9:55 AM, Rob Mensching
[EMAIL PROTECTED] wrote:
 What version of the WiX toolset are you using?

 -Original Message-
 From: Luke Bakken [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 08, 2008 09:35
 To: General discussion for Windows Installer XML toolset.
 Subject: [WiX-users] Failure using Wix installer certificates with Windows 
 Vista

 WiX users,

 I'm following up on a thread from late July entitled Failure using
 Wix installer certificates with WCF. I am trying to use WiX to
 install PFX certificates with private keys on Windows Vista. The
 installer I have works on XP, but on Vista the certificates *appear*
 to install correctly, however there are no private key files created.
 I believe this is the cause of the problem described in that thread.

 I'm attempting a workaround using either winhttpcertcfg.exe or a
 combination of certmgr.exe and winhttpcertcfg.exe.

 I would enter a bug report, however it appears that new bug reports
 are disabled on SourceForge for the WiX project. Is this true? All I
 can choose is Add New Artifact and Browse.

 Thanks,
 Luke

 -
 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] Create and/or modify MSI database tables via DTF from CA

2008-10-08 Thread Nic Barden
Hi,

 

I am trying to update the MSI tables at runtime from a Custom Action to
perform token replacement in SQL Script files.

The issue I am running into is that the Database that I get access to
through the Session object says it has an OpenMode of ReadOnly (however the
IsReadOnly property is false).

I believe this is the reason that when I go to update either existing
records, or add any new records, I get an error stating Function failed
during execution. Database: Table(s) Update failed..

When I execute the same code from a unit test I can reproduce the issue.
However, when I open the database using a mode of Transact then I do not
generate any errors. However, I obviously have no control over how the
database is opened at runtime.

So...

- Can I update EXISTING table data somehow from a CA?

- Can I add my own tables and data from a CA?

- Can I add my own data to existing tables from a CA?

 

Thanks a lot

-
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] Feature costing

2008-10-08 Thread BOB1981

Hi, 

My installer has a feature tree with sub-features. The costing displayed in
the custom setup dialog is good for the sub-feature. 
 However at the parent feature level it shows as 0KB. Is there any way I can
modify that to show the costing of Total of the sub-features at parent
level? 

E.g of my custom setup dlg with parent feature selected 
Parent Feature 

-  Child Feature1 

-  Child Feature2 

Message displayed is 
This feature requires 0KB on your hard drive. It has 2 of 2 subfeatures
selected. The subfeatures require 1234KB on your hard drive. 

My Q is can we change the text for Parent Feature to show the text totalling
the subfeature? 

Thanks 

-- 
View this message in context: 
http://n2.nabble.com/Feature-costing-tp1307593p1307593.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] Q about Feature costing..

2008-10-08 Thread BOB1981

Hi Vidya,

I am also Facing the Same problem as you are, i wonder what have you done to
fix it.

I want change the text for Parent Feature to show the text totalling the
subfeature. Please let me know is anything at all u think would help me

Thanks


Vidya Kukke wrote:
 
 Hi,
 
 My installer has a feature tree with sub-features. The costing displayed
 in the custom setup dialog is good for the sub-feature.
  However at the parent feature level it shows as 0KB. Is there any way I
 can modify that to just show the costing of the sub-features?
 
 E.g of my custom setup dlg with parent feature selected
 Parent Feature
 
 -  Child Feature1
 
 -  Child Feature2
 
 Message displayed is
 This component installs component name.
 This feature requires 0KB on your hard drive. It has 2 of 2 subfeatures
 selected. The subfeatures require 1234KB on your hard drive.
 
 My Q is can we change the text highlighted in red ?
 
 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
 
 

-- 
View this message in context: 
http://n2.nabble.com/Q-about-Feature-costing..-tp1080942p1307598.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] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread Ian Elliott (Excell Data Corporation)
Your command line looks wrong:
msiexec /i ExampleInstaller.msi REINSTALALL=ALL REINSTALLMODE=vomus
should be
msiexec /i ExampleInstaller.msi REINSTALL=ALL REINSTALLMODE=vomus

(However, it may be another typo.)

It is expected behavior to get the maintenance dialog during a minor upgrade. 
Once you click Install, any newer files should be installed over the old ones.

Also, you don't actually need to remove the Upgrade tag. It just doesn't get 
used during a minor upgrade. It is used for major upgrades.


-Original Message-
From: polan [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 3:39 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) 
affect file overriding?



Thx for the answer


Ian Elliott (Excell Data Corporation) wrote:

 For the minor upgrade and small update you don't make use of the Update
 tag at all.


Ok - lets stick to minor upgrade. I don't insert the upgrade tag, I change
the package guid, and version.
I run the installation msiexec /i ExampleInstaller.msi REINSTALALL=ALL
REINSTALLMODE=vomus
And i get stuck at maintenance dialog instead of getting normal
installation.
What's possibly wrong? Or maybe it is just the way that minor upgrade works?
(couldn't think of the good reason)
The other question is - if I get through it, will the minor upgrade override
the files with new versions?
I enclose a file with the source (it is a very simple and short one)
http://n2.nabble.com/file/n1306236/Product.wxs Product.wxs


Ian Elliott (Excell Data Corporation) wrote:

 Also, you listed below that the package guid didn't change for one
 scenario. You should always have a different package guid for every
 package built.


My mistake of course - it was supposed to be written like you say. I did it
this way, just described it wrong.



--
View this message in context: 
http://n2.nabble.com/How-Update---Upgrade-strategy-%28small%2C-minor%2C-major%29-affect-file-overriding--tp1304357p1306236.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] Create and/or modify MSI database tables via DTF from CA

2008-10-08 Thread Jason Ginchereau
MSI docs do not say anything about creating temporary tables. The usual 
practice is to author an empty table in the MSI which is then available for 
custom actions to add temporary rows.

 the Database that I get access to through the Session object says it has an 
 OpenMode of ReadOnly (however the IsReadOnly property is false)

This is a bug in DTF; I'll fix it soon. The MsiGetDatabaseState() call made by 
the IsReadOnly property does not get remoted properly from the CA process to 
the MSI engine. The OpenMode is actually correct -- the Database handle for a 
custom action Session is always ReadOnly.

-Jason-


-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 12:37 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Create and/or modify MSI database tables via DTF from 
CA

1.  No.  The database is read-only while running.

2.  I'm not sure you can add temporary tables, maybe.

3.  You can add temporary rows.



-Original Message-
From: Nic Barden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 12:33
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Create and/or modify MSI database tables via DTF from CA

Hi,



I am trying to update the MSI tables at runtime from a Custom Action to
perform token replacement in SQL Script files.

The issue I am running into is that the Database that I get access to
through the Session object says it has an OpenMode of ReadOnly (however the
IsReadOnly property is false).

I believe this is the reason that when I go to update either existing
records, or add any new records, I get an error stating Function failed
during execution. Database: Table(s) Update failed..

When I execute the same code from a unit test I can reproduce the issue.
However, when I open the database using a mode of Transact then I do not
generate any errors. However, I obviously have no control over how the
database is opened at runtime.

So...

- Can I update EXISTING table data somehow from a CA?

- Can I add my own tables and data from a CA?

- Can I add my own data to existing tables from a CA?



Thanks a lot

-
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] Features in different .msi

2008-10-08 Thread Alex Ivanoff
Let's say I have a product A that has features A1 and A2. Is it possible
to have one .msi that has feature A1 in it and another one that has A2?

-
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] Debugging MakeSfxCA

2008-10-08 Thread Tina Basinger
Any tips on figuring out MakeSfxCA errors?  I'm getting the following output
when calling MakeSfxCA.exe from the command line.

...
CA_Name=Fully_Qualified_CA_Name
Modifying SfxCA.dll stub
Error: Non-negative number required.
Parameter name: index
-
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] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread polan



Ian Elliott (Excell Data Corporation) wrote:
 
 Your command line looks wrong:
 msiexec /i ExampleInstaller.msi REINSTALALL=ALL REINSTALLMODE=vomus
 should be
 msiexec /i ExampleInstaller.msi REINSTALL=ALL REINSTALLMODE=vomus
 
 (However, it may be another typo.)
 

Such a stupid mistake... sorry for wasting your time and thx for pointing
this. I'll test everything once again with correct command.

-- 
View this message in context: 
http://n2.nabble.com/How-Update---Upgrade-strategy-%28small%2C-minor%2C-major%29-affect-file-overriding--tp1304357p1307794.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] Debugging MakeSfxCA

2008-10-08 Thread Jason Ginchereau
There's no way to get a more detailed error printout without modifying the code 
of the MakeSfxCA tool.

The easiest way to diagnose the issue would be to capture the command-line from 
your build log and then launch that same command-line in a debugger: devenv 
/debugexe MakeSfxCA.exe parameters

If you don't have it already, the source code for MakeSfxCA can be found in 
wix3-sources.zip, in the src\dtf\Tools\MakeSfxCA directory.

Or, if you can send me enough info / files to reproduce the error, I'll look 
into it.

-Jason-

-Original Message-
From: Tina Basinger [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 2:05 PM
To: Wix Group
Subject: [WiX-users] Debugging MakeSfxCA

Any tips on figuring out MakeSfxCA errors?  I'm getting the following output
when calling MakeSfxCA.exe from the command line.

...
CA_Name=Fully_Qualified_CA_Name
Modifying SfxCA.dll stub
Error: Non-negative number required.
Parameter name: index
-
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] How Update / Upgrade strategy (small, minor, major) affect file overriding?

2008-10-08 Thread Michael Owings
I believe it is also possible to bypass the maintenance screen by simply 
passing /qb to misexec. This should give you a progress bar and cancel 
button, but that's it -- the upgrade happens with no user intervention:

msiexec /i ExampleInstaller.msi /qb REINSTALL=ALL REINSTALLMODE=vomus

I could be wrong, though.

Ian Elliott (Excell Data Corporation) wrote:
 Your command line looks wrong:
 msiexec /i ExampleInstaller.msi REINSTALALL=ALL REINSTALLMODE=vomus
 should be
 msiexec /i ExampleInstaller.msi REINSTALL=ALL REINSTALLMODE=vomus
 
 (However, it may be another typo.)
 
 It is expected behavior to get the maintenance dialog during a minor upgrade. 
 Once you click Install, any newer files should be installed over the old 
 ones.
 
 Also, you don't actually need to remove the Upgrade tag. It just doesn't get 
 used during a minor upgrade. It is used for major upgrades.
 
 
 -Original Message-
 From: polan [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, October 08, 2008 3:39 AM
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] How Update / Upgrade strategy (small, minor, major) 
 affect file overriding?
 
 
 
 Thx for the answer
 
 
 Ian Elliott (Excell Data Corporation) wrote:
 For the minor upgrade and small update you don't make use of the Update
 tag at all.

 
 Ok - lets stick to minor upgrade. I don't insert the upgrade tag, I change
 the package guid, and version.
 I run the installation msiexec /i ExampleInstaller.msi REINSTALALL=ALL
 REINSTALLMODE=vomus
 And i get stuck at maintenance dialog instead of getting normal
 installation.
 What's possibly wrong? Or maybe it is just the way that minor upgrade works?
 (couldn't think of the good reason)
 The other question is - if I get through it, will the minor upgrade override
 the files with new versions?
 I enclose a file with the source (it is a very simple and short one)
 http://n2.nabble.com/file/n1306236/Product.wxs Product.wxs
 
 
 Ian Elliott (Excell Data Corporation) wrote:
 Also, you listed below that the package guid didn't change for one
 scenario. You should always have a different package guid for every
 package built.

 
 My mistake of course - it was supposed to be written like you say. I did it
 this way, just described it wrong.
 
 
 
 --
 View this message in context: 
 http://n2.nabble.com/How-Update---Upgrade-strategy-%28small%2C-minor%2C-major%29-affect-file-overriding--tp1304357p1306236.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
 
 
 


-- 
Teleoperate a roving mobile robot from the web:
http://www.swampgas.com/robotics/rover.html

-
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] Dependencies and merge modules

2008-10-08 Thread craig.miller
I'm migrating our installer over from an InstallShield based solution to Wix.  
With Installshield, all of our applications dependencies were automatically 
detected, and the appropriate merge module was reccomended.  My questions for 
the list are...

Is there good documentation on how to detect application dependencies and 
locate suitable merge modules?

What tools do you use to determine your application dependencies?
How do you determine which dependency is a system dependency that can always be 
assumed to exist?
How do you determine which merge module contains a particular dependency?
Where does one find standard merge-modules for MFC and other typical 
dependencies of Developer Studio?

Thank you for any suggestions,
Craig

-
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] Intercepting the SQL CA

2008-10-08 Thread Nic Barden
Hi,

 

I'm trying to perform token replacement on SQL script files (such as
database name, server name etc) via a custom CA before the SQL CA executes
them.  I have successfully created the custom CA.  However, I am unsure how
to intercept the SQL CA to provide it the new files/scripts to execute.
I am not fussed whether they are executed as SqlScripts or SqlStrings.  I
have tried adding the modified files to both the SqlScript and SqlString
tables as temporary rows, however, they do not get picked up by the SQL CA.

 

Is the SQL CA not seeing the temp rows that I am adding because it runs
deferred, and cannot see temporary rows that I have added? Or do deferred
CAs also have access to the temp rows that I am adding?

Has anyone else got any ideas of how I can achieve the goal of having the
SQL CA execute my modified files?

 

Thanks!

-
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] Intercepting the SQL CA

2008-10-08 Thread Rob Mensching
SQL CustomActions are written using the standard schedule/execute 
mechanism.  The schedule CustomActions read the tables in immediate mode and 
marshals the data to the execute CustomActions that do the work in deferred 
mode.  So you need to make sure you add the tables before the SQL CustomActions 
run.

-Original Message-
From: Nic Barden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 18:04
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Intercepting the SQL CA

Hi,



I'm trying to perform token replacement on SQL script files (such as
database name, server name etc) via a custom CA before the SQL CA executes
them.  I have successfully created the custom CA.  However, I am unsure how
to intercept the SQL CA to provide it the new files/scripts to execute.
I am not fussed whether they are executed as SqlScripts or SqlStrings.  I
have tried adding the modified files to both the SqlScript and SqlString
tables as temporary rows, however, they do not get picked up by the SQL CA.



Is the SQL CA not seeing the temp rows that I am adding because it runs
deferred, and cannot see temporary rows that I have added? Or do deferred
CAs also have access to the temp rows that I am adding?

Has anyone else got any ideas of how I can achieve the goal of having the
SQL CA execute my modified files?



Thanks!

-
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] Intercepting the SQL CA

2008-10-08 Thread Michael Osmond
Nic,

Is it just values to do with actually locating the database that you are
trying to deal with.  If so, my suggestion would be to make the actual
script files neutral (ie do not mention the database or server name) and
use the wix SQLDatabase entry locate/create the database.  Then there
would be no need for modifying the scripts.

If there other needs to update the scripts then I suggest you ues
SqlStrings and put properties in the strings, as these get expanded for
you.

Michael

-Original Message-
From: Nic Barden [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 9 October 2008 11:04 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Intercepting the SQL CA

Hi,

 

I'm trying to perform token replacement on SQL script files (such as
database name, server name etc) via a custom CA before the SQL CA
executes them.  I have successfully created the custom CA.  However, I
am unsure how to intercept the SQL CA to provide it the new
files/scripts to execute.
I am not fussed whether they are executed as SqlScripts or SqlStrings.
I have tried adding the modified files to both the SqlScript and
SqlString tables as temporary rows, however, they do not get picked up
by the SQL CA.

 

Is the SQL CA not seeing the temp rows that I am adding because it runs
deferred, and cannot see temporary rows that I have added? Or do
deferred CAs also have access to the temp rows that I am adding?

Has anyone else got any ideas of how I can achieve the goal of having
the SQL CA execute my modified files?

 

Thanks!


-
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] Install Condition for .Net framework 3.5 SP1

2008-10-08 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi,

How can I add acheck for .net framework 3.5 SP1.
Actually I want to check for v3.0 SP1 under 
HKLM\Software\Microsoft\.NETFramework.

Currently I am opting below mentioned work around for this. I am looking inside 
v3.0 SP1\SBSDisabled and reading Uninstall value.

Property Id=FRAMEWORK35SP1
  RegistrySearch Id='FRAMEWORK35SP1Registry' Type='raw'
Root='HKLM' Key='Software\Microsoft\.NETFramework\v3.0 SP1\SBSDisabled' 
Name='Uninstall'/
/Property

Condition Message=.NET Framework 3.5 SP1 is not present on the computer.
  FRAMEWORK35SP1 = #1
/Condition

Please suggest me how can I do this.

-Original Message-
From: Nic Barden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 6:04 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Intercepting the SQL CA

Hi,



I'm trying to perform token replacement on SQL script files (such as
database name, server name etc) via a custom CA before the SQL CA executes
them.  I have successfully created the custom CA.  However, I am unsure how
to intercept the SQL CA to provide it the new files/scripts to execute.
I am not fussed whether they are executed as SqlScripts or SqlStrings.  I
have tried adding the modified files to both the SqlScript and SqlString
tables as temporary rows, however, they do not get picked up by the SQL CA.



Is the SQL CA not seeing the temp rows that I am adding because it runs
deferred, and cannot see temporary rows that I have added? Or do deferred
CAs also have access to the temp rows that I am adding?

Has anyone else got any ideas of how I can achieve the goal of having the
SQL CA execute my modified files?



Thanks!

-
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] Heat and COM executable registry extraction

2008-10-08 Thread Arunkumar Viswanathan
Hi guys,

 

I need to install a couple of COM executables and I have been trying to use
Heat (ver 3.0.4513) to extract the COM information. From what I see heat
extracts part of registry information into the fragment but the information
seems to be less than what is needed. After installation, invocation of the
COM class always fails. After I run COM_EXE_NAME /REGSERVER everything works
fine.

 

Is there a trick for extracting COM information from COM Exes using Heat?
Heat seems to work fine for COM dlls.

 

Note: I tried the .reg file to .wxs file trick using tallow 2.0.x. The
problem with that is all the paths are hard coded and it did not result in a
component getting created. I have to manually link all the registry items to
the file and the potential for errors is higher.

 

Thanks in advance

-Arun

-
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] Install Condition for .Net framework 3.5 SP1

2008-10-08 Thread Neil Enns
Use the NetFx library that comes with WiX. See the WiX documentation, there's a 
topic in the How To that describes how to check the Framework version. It 
should also have a reference to a table with all the predefined properties for 
each framework version.

Neil


From: Sandeep Gautam (HCL Technologies Ltd) [EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 6:35 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Install Condition for .Net framework 3.5 SP1

Hi,

How can I add acheck for .net framework 3.5 SP1.
Actually I want to check for v3.0 SP1 under 
HKLM\Software\Microsoft\.NETFramework.

Currently I am opting below mentioned work around for this. I am looking inside 
v3.0 SP1\SBSDisabled and reading Uninstall value.

Property Id=FRAMEWORK35SP1
  RegistrySearch Id='FRAMEWORK35SP1Registry' Type='raw'
Root='HKLM' Key='Software\Microsoft\.NETFramework\v3.0 SP1\SBSDisabled' 
Name='Uninstall'/
/Property

Condition Message=.NET Framework 3.5 SP1 is not present on the computer.
  FRAMEWORK35SP1 = #1
/Condition

Please suggest me how can I do this.

-Original Message-
From: Nic Barden [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 08, 2008 6:04 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Intercepting the SQL CA

Hi,



I'm trying to perform token replacement on SQL script files (such as
database name, server name etc) via a custom CA before the SQL CA executes
them.  I have successfully created the custom CA.  However, I am unsure how
to intercept the SQL CA to provide it the new files/scripts to execute.
I am not fussed whether they are executed as SqlScripts or SqlStrings.  I
have tried adding the modified files to both the SqlScript and SqlString
tables as temporary rows, however, they do not get picked up by the SQL CA.



Is the SQL CA not seeing the temp rows that I am adding because it runs
deferred, and cannot see temporary rows that I have added? Or do deferred
CAs also have access to the temp rows that I am adding?

Has anyone else got any ideas of how I can achieve the goal of having the
SQL CA execute my modified files?



Thanks!

-
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