Re: [WiX-users] Votive support for VS 2005

2008-06-24 Thread Aaron Shurts
I am getting all kinds of broke with the latest two weekly builds as well.
I can open the solution, but it won't build the WiX project, and I am seeing
an error out of range on two of the project properties pages.

//aj

On Mon, Jun 23, 2008 at 1:21 AM, carlldev [EMAIL PROTECTED] wrote:


 I can manually open it, but the same happens - nothing in Solution
 Explorer.
 No errors are shown.
 --
 View this message in context:
 http://www.nabble.com/Votive-support-for-VS-2005-tp18031954p18064626.html
 Sent from the wix-users mailing list archive at Nabble.com.


 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Votive V2008 problem on installing 3.0.4220.0

2008-06-24 Thread Aaron Shurts
This happens on VS2005 as well.  I think it's a problem with the latest
builds.

//aj

On Fri, Jun 20, 2008 at 3:04 PM, Tony Juricic [EMAIL PROTECTED]
wrote:

 Build and Tool Settings pages for my existing project in VS 2008 now
 show red icon and say:
 An error occurred trying to load the page. Value does not fall within
 the expected range.

 -
 Check out the new SourceForge.net Marketplace.
 It's the best place to buy or sell services for
 just about anything Open Source.
 http://sourceforge.net/services/buy/index.php
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with CreateDatabase

2008-06-02 Thread Aaron Shurts
Nevermind Rob, it was my kooky test machine.  There have been no changes to
the machine that I am aware of, but now my SQL installs don't work.  They
work on my other machines and VMs though.  One day it was fine, next it
wasn't :-(

It just sucks because I have to move my BVTs to another machine.  Okay,
enough of my whining.

//a

On Mon, Jun 2, 2008 at 12:11 AM, Rob Mensching [EMAIL PROTECTED]
wrote:

  Ug.  Can you try the SQL Profiler and see if more information about the
 error is available via that thing?



 *From:* [EMAIL PROTECTED] [mailto:
 [EMAIL PROTECTED] *On Behalf Of *Aaron Shurts
 *Sent:* Friday, May 30, 2008 06:48
 *To:* wix-users@lists.sourceforge.net
 *Subject:* [WiX-users] Problem with CreateDatabase



 I tried searching on Google and not much is coming back.  If anyone could
 help, I would appreciate it greatly.

 WiX Version Info:
 Microsoft (R) Windows Installer Xml Compiler version 3.0.3617.0

 Snippet from my project file:
 Component Id=C_SQL_AutoFind6SQL
 Guid={00BEED5F-A8BD-421B-87D0-4A977EE08B95}
 sql:SqlDatabase Id=CreateAutoFind6DBSQL ConfirmOverwrite=no
 ContinueOnError=no DropOnUninstall=yes
  CreateOnInstall=yes Database=AutoFind6
 Server=[AFSQLSERVER] Instance=[AFSQLSERVERINSTANCE]
 sql:SqlString Id=DropAFLogin ContinueOnError=yes
 ExecuteOnInstall=no ExecuteOnUninstall=yes RollbackOnInstall=yes
 SQL=DROP LOGIN [AFDBUSER] Sequence=1 /
 sql:SqlString Id=DropReportLogin ContinueOnError=yes
 ExecuteOnInstall=no ExecuteOnUninstall=yes RollbackOnInstall=yes
 SQL=DROP LOGIN [REPORTDBUSER] Sequence=2 /
 sql:SqlString Id=AddLoginSQLAF6 ContinueOnError=no
 ExecuteOnInstall=yes Sequence=3
SQL=CREATE LOGIN [AFDBUSER] WITH
 PASSWORD='[AFDBPASSWORD]'; CREATE USER [AFDBUSER] FOR LOGIN [AFDBUSER]; /
 sql:SqlString Id=AddRoleSQLAF6 ContinueOnError=no
 ExecuteOnInstall=yes Sequence=5 SQL=EXEC sp_addrolemember 'db_owner',
 '[AFDBUSER]' /
 sql:SqlString Id=AddLoginSQLReport ContinueOnError=no
 ExecuteOnInstall=yes Sequence=6
SQL=CREATE LOGIN [REPORTDBUSER] WITH
 PASSWORD='[REPORTDBPASS]'; CREATE USER [REPORTDBUSER] FOR LOGIN
 [REPORTDBUSER]; /
 ?if $(var.SQLEncryption.Configuration) = Debug ?
 sql:SqlScript Id=DbInitSql BinaryKey=DBSetup
 ContinueOnError=no ExecuteOnInstall=yes Sequence=8 /
 ?endif ?
 /sql:SqlDatabase
 ConditionSQLAUTHTYPE ~= SQL/Condition
 /Component


 Error in the log:
 MSI (s) (80:E4) [06:39:36:734]: Executing op:
 ActionStart(Name=CreateDatabase,Description=Creating Databases,)
 Action 6:39:36: CreateDatabase. Creating Databases
 MSI (s) (80:E4) [06:39:36:734]: Executing op:
 CustomActionSchedule(Action=CreateDatabase,ActionType=25601,Source=BinaryData,Target=**,CustomActionData=**)
 MSI (s) (80:38) [06:39:36:750]: Invoking remote custom action. DLL:
 C:\WINDOWS\Installer\MSI1B5.tmp, Entrypoint: CreateDatabase
 CreateDatabase:  Error 0x80004005: failed to create to database:
 'AutoFind6', error: unknown error

 //aj

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problem with CreateDatabase

2008-05-30 Thread Aaron Shurts
I tried searching on Google and not much is coming back.  If anyone could
help, I would appreciate it greatly.

WiX Version Info:
Microsoft (R) Windows Installer Xml Compiler version 3.0.3617.0

Snippet from my project file:
Component Id=C_SQL_AutoFind6SQL
Guid={00BEED5F-A8BD-421B-87D0-4A977EE08B95}
sql:SqlDatabase Id=CreateAutoFind6DBSQL ConfirmOverwrite=no
ContinueOnError=no DropOnUninstall=yes
 CreateOnInstall=yes Database=AutoFind6
Server=[AFSQLSERVER] Instance=[AFSQLSERVERINSTANCE]
sql:SqlString Id=DropAFLogin ContinueOnError=yes
ExecuteOnInstall=no ExecuteOnUninstall=yes RollbackOnInstall=yes
SQL=DROP LOGIN [AFDBUSER] Sequence=1 /
sql:SqlString Id=DropReportLogin ContinueOnError=yes
ExecuteOnInstall=no ExecuteOnUninstall=yes RollbackOnInstall=yes
SQL=DROP LOGIN [REPORTDBUSER] Sequence=2 /
sql:SqlString Id=AddLoginSQLAF6 ContinueOnError=no
ExecuteOnInstall=yes Sequence=3
   SQL=CREATE LOGIN [AFDBUSER] WITH
PASSWORD='[AFDBPASSWORD]'; CREATE USER [AFDBUSER] FOR LOGIN [AFDBUSER]; /
sql:SqlString Id=AddRoleSQLAF6 ContinueOnError=no
ExecuteOnInstall=yes Sequence=5 SQL=EXEC sp_addrolemember 'db_owner',
'[AFDBUSER]' /
sql:SqlString Id=AddLoginSQLReport ContinueOnError=no
ExecuteOnInstall=yes Sequence=6
   SQL=CREATE LOGIN [REPORTDBUSER] WITH
PASSWORD='[REPORTDBPASS]'; CREATE USER [REPORTDBUSER] FOR LOGIN
[REPORTDBUSER]; /
?if $(var.SQLEncryption.Configuration) = Debug ?
sql:SqlScript Id=DbInitSql BinaryKey=DBSetup
ContinueOnError=no ExecuteOnInstall=yes Sequence=8 /
?endif ?
/sql:SqlDatabase
ConditionSQLAUTHTYPE ~= SQL/Condition
/Component


Error in the log:
MSI (s) (80:E4) [06:39:36:734]: Executing op:
ActionStart(Name=CreateDatabase,Description=Creating Databases,)
Action 6:39:36: CreateDatabase. Creating Databases
MSI (s) (80:E4) [06:39:36:734]: Executing op:
CustomActionSchedule(Action=CreateDatabase,ActionType=25601,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (80:38) [06:39:36:750]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI1B5.tmp, Entrypoint: CreateDatabase
CreateDatabase:  Error 0x80004005: failed to create to database:
'AutoFind6', error: unknown error

//aj
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] FileShare - Question

2008-01-02 Thread Aaron Shurts
Set the ROOTDRIVE property to C:\ and Move your component under the
TARGETDIR DirectoryId tag.  I am not sure why you would want your setup
package to share the root.  That seems a little dangerous and
counterintuitive.

//aj

On Jan 2, 2008 8:14 AM, Chris [EMAIL PROTECTED] wrote:

 Hi there,
 I probably have a quite simple question:
 How can I set the sharing of my C-drive and name it as Root?

 I tried something like this but it creates the Root-folder:

 Directory Id=TARGETDIR Name=SourceDir
Directory Id=INSTALLDIR
  Directory Id=MyRoot Name=Root
Component Id=FirstFileShare
 Guid=6f051579-2950-42e3-9381-2f538ae1de12
  CreateFolder/
  util:User Id=MyUser Name=user Password=password
 PasswordNeverExpires=yes RemoveOnUninstall=yes UpdateIfExists=yes
 CreateUser=yes/

  util:FileShare Id =ShareRoot Name=Root
util:FileSharePermission GenericAll=yes User=MyUser
 Read=yes/
  /util:FileShare
/Component
  /Directory
/Directory
 /Directory


 Thank's in advance,
 Chris


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Two questions on SelectionTree and Features.

2008-01-02 Thread Aaron Shurts
Brad,
First question:
Set the attributes when you are defining your feature and components.
Example:
  Feature Id=MyFeature Title=My Feature Title *AllowAdvertise=no
InstallDefault=local* Level=1
  Component Id=MyComponent Guid={----0123456789EF}
*Location=local*

Second question:
There is no elegant solution unfortunately.  You could use a custom dialog
that does not employ the SelectionTree control, such as checkboxes, or a
custom action that hooks your feature selection dialogs and watches for
event triggers of the SelectionTree control.  Windows Installer UI is
limited at best and leaves a lot to be desired.

Regards,
//aj

On Jan 2, 2008 1:50 PM, Brad Thompson (WEBSTORE) [EMAIL PROTECTED]
wrote:

  I have two questions. I am using the SelectionTree control to allow
 customization. When I click on the top level of the tree it has the
 following entries:



 Will be installed on local hard drive

 Entire feature will be installed on local hard drive

 -

 Will be installed to run from the network

 Entire feature will be installed to run from the network

 -

 Feature will be installed when required

 -

 Entire feature will be unavailable.



 Our team does not want to support network installs or when required
 installs. Is there a way to remove these from the list?



 *My second question:*



 Is there a way to automatically set a feature to be installed based on
 other features without using SetInstallLevel?



 Brad Thompson.



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] SQL Elements are not recognized in Visual Studio?

2008-01-02 Thread Aaron Shurts
Did you add the references to your extensions in your WiX project?
...and, did you add the schemas to the wxs file?

i.e.
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
 xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;
 xmlns:sql=http://schemas.microsoft.com/wix/SqlExtension;
 xmlns:ui=http://schemas.microsoft.com/wix/UIExtension;

Regards,
//aj

On Jan 2, 2008 3:03 PM, JCWrs [EMAIL PROTECTED] wrote:


 I Installed Votive 3.0 and I started testing out a project in Visual
 Studio.
 When I tried to build the project it did not recognize SQLDatabase and
 User
 as valid tags.  I checked the help file to make sure I had the proper
 version and it shows the definition for both.  Have I missed some
 versionsetting in VS or is there something else I need to do?
 --
 View this message in context:
 http://www.nabble.com/SQL-Elements-are-not-recognized-in-Visual-Studio--tp14587359p14587359.html
 Sent from the wix-users mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Silent Installation

2007-10-16 Thread Aaron Shurts
Guna,
Silent installations are built in to the Windows Installer service.  There
isn't really anything special you have to do to make it work.  Take a look
at the Windows Installer command line switches for more information:
http://support.microsoft.com/kb/227091

You will also want to take a look at the WiX tutorial so you can get a
better idea of how the installer is structured:
http://www.tramontana.co.hu/wix/

//a

On 10/12/07, Guna S [EMAIL PROTECTED] wrote:


 My name is Guna S. Am very new to Wix Installer


 This is regariding to Silent Installation

 My questions are
 1. How to create and add DLL file
 2. For silet instllation if user gives command(for ex xxx.msi/quite), so
 for this how the confiuration file should be
 3. How/where to put condition for silent installation and normal
 installation
 4. Is there any good tool/tutorial for silent installation

 Thanks in advance

 Thanks,
 Guna S
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Some STUPID Limitations in WiX

2007-09-25 Thread Aaron Shurts
I have seen this time and time again.  When someone doesn't understand the
subtle nuances of the Windows Installer service, all of a sudden all the
tools built around it suck or are STUPID.  :-)

On 9/25/07, Justin Rockwood [EMAIL PROTECTED] wrote:

 Hey, Dong, thanks for the laugh! :) While we appreciate feedback on the
 WiX
 toolset, it's typically not a good idea to call it STUPID and then in the
 same sentence ask for help. You're biting the hand that feeds you. Plus if
 you think it's stupid then why would you trust the advice from the people
 that created it? At any rate, good luck with your powerful installer.
 Since we don't really know how to build those (smile), you may want to
 take
 any advice we give with a grain of salt.

 Justin

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Dong Fang
 Xie
 (Excell Data Corporation)
 Sent: Tuesday, September 25, 2007 12:04 PM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Some STUPID Limitations in WiX

 I'm working on a small and simple installer using WiX toolset (the latest
 stable version 2.0.3719.0). To my surprise, it is really very very tough
 !!
 It almost drove me crazy.  I really don't understand why there are so many
 stupid limitations:

 LIMIT 1:
 Since FileSearch, DirectorySearch, RegistrySearch are WiX elements, Why
 there is no ProcessSearch or TaskSearch ?!I need to know whether a
 specific process is running before installation/uninstallation.

 LIMIT 2:
 If all files in a msi package are from different small projects, I can
 build
 a module for each small project, and create a main wxs file to merge all
 modules. It should be a good idea, but how can I use the files from
 different modules ?  There is no way for now. I must control all custom
 actions in the main wxs file, and some custom actions need a FileKey to a
 file in a module. I cannot distribute all cutom actions in different
 modules, if I do so, how can I control the InstallSequence ? Using stupid
 numbers?

 LIMIT 3:
 I defined a dialog which must be shown not only during installation but
 also
 during uninstallation. But how to make it shown during uninstallation
 ?  the
 UILevel will be set to basic UI or no UI automatically by msiexec.exe
 .  How
 can I beg Windows NOT do that for me? I can use command msiexec /qf /x
 msifile, but how can I know my customer can do that each time they want
 to
 uninstall the msi file ?  Is there any way I can define UILevel of
 uninstallation inside msi file ?

 WiX is a very good toolset, but far from perfect !  I bet the developers
 of
 WiX toolset have never built a powerful installer for customers.  I will
 never know the limit if I wasn't assigned the job to build a small and
 simple installer.

 I noticed that there are some extensions in WiX 3.0, but it is still far
 from enough.

 For LIMIT 1, I've built my own dll to detect running processes. But how to
 break LIMIT 2 and LIMIT 3 ?  Can you guys give me some ideas ?

 Thanks in advance


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MSBuild

2007-09-25 Thread Aaron Shurts
Have a look at this MSDN article:
http://msdn.microsoft.com/msdnmag/issues/07/03/WixTricks/

//a

On 9/25/07, Jessi Darling [EMAIL PROTECTED] wrote:

 Could someone please show me an MSBuild file example?

 --
 Jessica Darling
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problem with ConfigureIIs

2007-08-14 Thread Aaron Shurts
I am getting a leaked MSI handle error.  Everything was working fine until I
added an additional website component for SSL.  Here is a snippet of the
installer.
Microsoft (R) Windows Installer Xml Compiler version 3.0.2925.0 -- btw
iis:WebDirProperties
Id=TESTDirProperties
AnonymousAccess=no
BasicAuthentication=yes
DefaultDocuments=Default.asp,Default.htm,Default.aspx
Read=yes
Index=yes
Write=no
Execute=no
Script=yes
WindowsAuthentication=no /
  iis:WebApplication
Id=TESTWebApplication
Name=TEST
AllowSessions=yes
SessionTimeout=20
Buffer=yes
DefaultScript=VBScript
ScriptTimeout=90 /
  iis:WebApplication
Id=TESTWSApplication
Name=TESTWS
AllowSessions=yes
DefaultScript=VBScript
ScriptTimeout=90
SessionTimeout=20 /
  iis:WebApplication
Id=TEST_UtilsApplication
Name=TEST_Utils
AllowSessions=yes
DefaultScript=VBScript
ScriptTimeout=90
SessionTimeout=20 /
  DirectoryRef Id=WEBROOT
Component Id=CreateServerWebsite
Guid=9a752184-1828-4ebc-a882-406ec659b2fd KeyPath=yes
  iis:WebSite Id=TESTWebsite
ConfigureIfExists=no
Directory=WEBROOT
Sequence=1
Description=TEST
ConnectionTimeout=300
AutoStart=yes
StartOnInstall=yes
WebApplication=TESTWebApplication
DirProperties=TESTDirProperties
iis:WebAddress Id=TESTWebAddress Port=[IISPORT] /
iis:WebVirtualDir
Id=TESTWSvDir
Directory=TESTWS
WebApplication=TESTWSApplication
DirProperties=TESTDirProperties
Alias=TESTWS /
iis:WebVirtualDir
  Id=TEST_UtilsvDir
  Directory=TEST_UTILS
  WebApplication=TEST_UtilsApplication
  DirProperties=TESTDirProperties
  Alias=TEST_Utils
  iis:WebVirtualDir
  Id=SharedControlsvDir
  Directory=SHARED
  DirProperties=TESTDirProperties
  Alias=SharedControls /
/iis:WebVirtualDir
  /iis:WebSite
  Condition![CDATA[USESSL  1]]/Condition
/Component

iis:WebDirProperties
  Id=SecureTESTDirProperties
  AnonymousAccess=no
  AccessSSL=yes
  AccessSSLNegotiateCert=yes
  BasicAuthentication=yes
  DefaultDocuments=Default.asp,Default.htm,Default.aspx
  Read=yes
  Index=yes
  Write=no
  Execute=no
  Script=yes
  WindowsAuthentication=no /
Component Id=CreateSecureWebsite
Guid=a04ad24b-fcc2-483a-9830-e3307a693311 KeyPath=yes
  iis:WebSite Id=SecureTESTWebsite
ConfigureIfExists=no
Directory=WEBROOT
Sequence=1
Description=TEST
ConnectionTimeout=300
AutoStart=yes
StartOnInstall=yes
WebApplication=TESTWebApplication
DirProperties=SecureTESTDirProperties
iis:WebAddress Id=SecureTESTWebAddress Port=[IISPORT]
Secure=yes /
iis:WebVirtualDir
Id=SslTESTWSvDir
Directory=TESTWS
WebApplication=TESTWSApplication
DirProperties=TESTDirProperties
Alias=TESTWS /
iis:WebVirtualDir
  Id=SslTEST_UtilsvDir
  Directory=TEST_UTILS
  WebApplication=TEST_UtilsApplication
  DirProperties=TESTDirProperties
  Alias=TEST_Utils
  iis:WebVirtualDir
  Id=SslSharedControlsvDir
  Directory=SHARED
  DirProperties=TESTDirProperties
  Alias=SharedControls /
/iis:WebVirtualDir
  /iis:WebSite
  Condition![CDATA[USESSL=1]]/Condition
/Component

Here is a snippet of the log file:
MSI (s) (D0:EC) [09:03:38:561]: Doing action: InstallCertificates
Action ended 9:03:38: InstallFiles. Return value 1.
MSI (s) (D0:A0) [09:03:38:593]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI9.tmp, Entrypoint: InstallCertificates
Action start 9:03:38: InstallCertificates.
MSI (s) (D0:EC) [09:03:38:764]: Doing action: ConfigureIIs
Action ended 9:03:38: InstallCertificates. Return value 1.
MSI (s) (D0:A0) [09:03:38:780]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSIA.tmp, Entrypoint: ConfigureIIs
MSI (s) (D0!DC) [09:03:38:936]: PROPERTY CHANGE: Adding
StartMetabaseTransaction property. Its value is 'ScaConfigureIIs'.
Action start 9:03:38: ConfigureIIs.
MSI (s) (D0!DC) [09:03:38:952]: Doing action: StartMetabaseTransaction
Action start 9:03:38: StartMetabaseTransaction.
MSI (s) (D0!DC) [09:03:38:952]: PROPERTY CHANGE: Adding
RollbackMetabaseTransaction property. Its value is 'ScaConfigureIIs'.
MSI (s) (D0!DC) [09:03:38:952]: Doing action: RollbackMetabaseTransaction
Action ended 9:03:38: StartMetabaseTransaction. Return value 1.
Action start 9:03:38: RollbackMetabaseTransaction.
MSI (s) (D0!DC) [09:03:38:968]: PROPERTY CHANGE: Adding
CommitMetabaseTransaction property. Its value is 'ScaConfigureIIs'.
MSI (s) (D0!DC) [09:03:38:968]: Doing action: CommitMetabaseTransaction
Action ended 9:03:38: RollbackMetabaseTransaction. Return value 1.
Action start 

[WiX-users] Problem w/ Registry Search?

2007-06-18 Thread Aaron Shurts

Any ideas why this might not be working (using WiX v3)?

Property Id=SQL_PROTOCOL
 RegistrySearch
   Id=TcpIpCheck
   Type=raw
   Root=HKLM
   Key=SOFTWARE\Microsoft\MSSQLServer\Client\SNI9.0
   Name=ProtocolOrder /
/Property

I am not getting anything back from this and I know the key has values:
sm
tcp
np
I am using other registry searches in this product and they are working just
fine.  The key is a REG_MULTI_SZ.

I checked out the resultant MSI in Orca and it looks fine.  The RegLocator
and AppSearch tables are populated properly, but I am not getting any values
back.  I threw threw the following in a custom actions and I am getting an
empty message box:
strTcpIp = UCase(CStr(Session.Property(SQL_PROTOCOL)))
MsgBox strTcpIp

Any input is appreciated.

Regards,
//aj
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem w/ Registry Search?

2007-06-18 Thread Aaron Shurts

AppSearch is pulling up nothing, but later in the log, I see what should be
there:
AppSearch: Property:  SQL_PROTOCOL, Signature: TcpIpCheck
MSI (c) (10:40) [11:54:17:734]: PROPERTY CHANGE: Adding  SQL_PROTOCOL
property. Its value is ''.
...
Property(C): SQL_PROTOCOL = [~]sm[~]tcp[~]np[~]

Maybe I should try sequencing my custom action after CostFinalize.  It's
almost like the property is not being committed quickly enough, but I have
never seen anything like it before.

Regards,
//aj

On 6/18/07, Christopher Painter [EMAIL PROTECTED] wrote:


So what does AppSearch say in a verbose log file?

*Aaron Shurts [EMAIL PROTECTED]* wrote:

Any ideas why this might not be working (using WiX v3)?

Property Id=SQL_PROTOCOL
  RegistrySearch
Id=TcpIpCheck
Type=raw
Root=HKLM
Key=SOFTWARE\Microsoft\MSSQLServer\Client\SNI9.0
Name=ProtocolOrder /
/Property

I am not getting anything back from this and I know the key has values:
sm
tcp
np
I am using other registry searches in this product and they are working
just fine.  The key is a REG_MULTI_SZ.

I checked out the resultant MSI in Orca and it looks fine.  The RegLocator
and AppSearch tables are populated properly, but I am not getting any values
back.  I threw threw the following in a custom actions and I am getting an
empty message box:
strTcpIp = UCase(CStr(Session.Property(SQL_PROTOCOL)))
MsgBox strTcpIp

Any input is appreciated.

Regards,
//aj
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.

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


--
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! 
Travelhttp://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw--%0Ato
 find your fit.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Bootstrap example

2007-06-16 Thread Aaron Shurts

We don't use MSBuild and this is just a subset of the actual functionality
that is in the method we use.  We have a custom build API that incorporates
this code.  The code that I have written is much more robust and allows for
configuration / logging options beyond what the setup.proj offers.  I just
posted this as a starting place for someone who would rather programatically
generate the setup.exe.

Regards,
//aj

On 6/16/07, Schrieken, Rene [EMAIL PROTECTED] wrote:


 I'm not sure why you actually created a console app to do that?

If you put this in a file called setup.proj:

Project xmlns=http://schemas.microsoft.com/developer/msbuild/2003;

ItemGroup
BootstrapperFile Include=SQL.2005.Backwards.Compatibility
ProductNameSQL 2005 Backwards Compatibility/ProductName
/BootstrapperFile
BootstrapperFile Include=Web.Services.Enhancements.2.0.SP2
ProductNameWSE 2.0/ProductName
/BootstrapperFile
/ItemGroup

Target Name=BuildBootstrapper
GenerateBootstrapper
ApplicationFile=MyInstall.msi
ApplicationName=My Product
!-- ApplicationUrl=http://mycomputer --
BootstrapperItems=@(BootstrapperFile)
!-- Path=  not needed if the SDK is installed otherwise copy the
the folders of the Bootstrapper directory to a known (relative) 
location --
ComponentsLocation=Relative




CopyComponents=true
OutputPath=.\output /
/Target

/Project

And then run form the SDK command prompt:

msbuild setup.proj

You should achieve the same. That relieves you of having to compile stuff.

And you can call the wix compile and link tasks also from the setup.proj file






--
*From:* [EMAIL PROTECTED] on behalf of Aaron Shurts
*Sent:* Fri 6/15/2007 19:51
*To:* dave_c
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Bootstrap example

The following example generates a setup.exe using the SDK bootstrapper.
http://www.nabble.com/Sharing-some-bootstrap-information-tf3853598.html#a10917299


Regards,
//aj

On 6/15/07, dave_c [EMAIL PROTECTED] wrote:


 Hi there,

 Does anyone have an example bootstrap program I can get a hold of or can
 they point me in the right direction.

 I've got an MSI that I want/need to install followed by another one and
 then
 I need to run a self extracting executable (although this can probably
 be
 done as a custom action)

 Am I constrained in which language this is written in as well

 Cheers

 --
 View this message in context:
 http://www.nabble.com/Bootstrap-example-tf3929022.html#a11143252
 Sent from the wix-users mailing list archive at Nabble.comhttp://nabble.com/
 .



 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




This e-mail and any attachment is for authorised use by the intended
recipient(s) only. It may contain proprietary material, confidential
information and/or be subject to legal privilege. It should not be copied,
disclosed to, retained or used by, any other party. If you are not an
intended recipient then please promptly delete this e-mail and any
attachment and all copies and inform the sender. Thank you.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Site Unique identifer

2007-06-15 Thread Aaron Shurts

There is no way to set the site ID.  I believe WiX just enumerates the
existing sites and takes the next available number.

Regards,
//aj

On 6/15/07, Krishna Kishore [EMAIL PROTECTED] wrote:


I am Creating Website with Wix ToolSet, the Site identifier is always
starts with 1,



But whenever I create manually the website the site id is very big number.


Do we have any Problem if the website is single digit number

Can we Control Site ID Creation with WIX or atleast some number more then
two digits.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem in uninstalling all the folders with WIX

2007-06-15 Thread Aaron Shurts

Rather than posting your project files, post a verbose log of your
install/uninstall where this behavior is exhibited.

Regards,
//aj

On 6/15/07, Venkatesh Malepati [EMAIL PROTECTED] wrote:


 I am left with these folders.
1) COMPLIB and
2) Data folders and read me files.

I donot know how to solve this puzzle. Any experts here?.
If I install in C:\Program files, it works great. Aany other folder in C
or D drives it does not work. Basically it works in the default path. I am
pulling my hair where the problem is?.Please help anybody. Thanks in
advance.

Venkatesh

-Original Message-
   *From:  * Venkatesh Malepati
   *Sent:  * Friday, June 15, 2007 11:00 AM
   *To:* Venkatesh Malepati; wix-users@lists.sourceforge.net
   *Subject:   * RE: Problem in uninstalling all the folders with
   WIX

 File: teamsmain.wxsFile: teams5.wxs 
   I am attcahing two files for review.Please somebody help me. Sm I
   doing anything wrong here.

   Thanks in advance,

   Venkatesh

   -Original Message-
  *From:  * Venkatesh Malepati
  *Sent:  * Thursday, June 14, 2007 5:06 PM
  *To:* wix-users@lists.sourceforge.net
  *Subject:   * Problem in uninstalling all the folders with
  WIX

  Hi Guys,
  I have problem with uninstalling all the files.When I install
  in default drive and path like c:\Program files, it uninstalls all the
  directories and associated files. When I install in any other drive other
  than this default directory it leaves out some directories. What could be
  the problem?. Anybody has any idea?. Thanks in advance.

  Regards
  Venkatesh



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Bootstrap example

2007-06-15 Thread Aaron Shurts

The following example generates a setup.exe using the SDK bootstrapper.
http://www.nabble.com/Sharing-some-bootstrap-information-tf3853598.html#a10917299

Regards,
//aj

On 6/15/07, dave_c [EMAIL PROTECTED] wrote:



Hi there,

Does anyone have an example bootstrap program I can get a hold of or can
they point me in the right direction.

I've got an MSI that I want/need to install followed by another one and
then
I need to run a self extracting executable (although this can probably be
done as a custom action)

Am I constrained in which language this is written in as well

Cheers

--
View this message in context:
http://www.nabble.com/Bootstrap-example-tf3929022.html#a11143252
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] search based properties

2007-06-13 Thread Aaron Shurts

If you are not pre-populating the properties, you can use the following
conditions:
Condition Message=Must have Microsoft Word 2007 release to install
Clinnext Web Server [WORDFIND]
   WORDFIND
/Condition
Condition Message=Must have Microsoft Word 2007 release to install
Clinnext Web Server [EXCELFIND]
   EXCELFIND
/Condition

If you are pre-populating with say a value of 0, then you could use the
following conditions:
Condition Message=Must have Microsoft Word 2007 release to install
Clinnext Web Server [WORDFIND]
   WORDFIND0
/Condition
Condition Message=Must have Microsoft Word 2007 release to install
Clinnext Web Server [EXCELFIND]
   EXCELFIND0
/Condition

Regards,
//aj

On 6/13/07, Bob Arnson [EMAIL PROTECTED] wrote:


jrcolons wrote:
 Condition Message=Must have Microsoft Word 2007 release to install
 Clinnext Web Server [WORDFIND]WORDFIND=/Condition
 Condition Message=Must have Microsoft Word 2007 release to install
 Clinnext Web Server [EXCELFIND]EXCELFIND=/Condition


Launch conditions are conditions that the machine must meet to install.
So you want the opposite conditions.

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


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] (no subject)

2007-06-11 Thread Aaron Shurts

You'll need to use a bootstrapper.  I posted some code not too long ago that
demonstrates creating a bootstrapper using the setup.exe that comes with the
SDK.  Do a search on nabble for GenerateBootstrapper.  The code is in C# and
very easily modified.

Regards,
//aj

On 6/11/07, Sumit Malhotra (SUMIT MALHOTRA) [EMAIL PROTECTED]
wrote:


 Hi,

I have a question regarding how does WiX handles multiple MSI's. Like, is
it possible to install the Multiple installs from a single MSI using WiX as
code base? So that WiX takes care for all the rollbacks and other cases.
There are lot of products handling these multiple installation cases. Any
idea regarding how to go about this, will be really helpful.



Thanks and Regards

Sumit



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ForceReboot

2007-06-11 Thread Aaron Shurts

Why not set the REBOOT property to 'Always'?  ForceReboot is bad to use in
some scenarios and could end up making some of your users angry.

Regards,
//aj

On 6/11/07, Bob Arnson [EMAIL PROTECTED] wrote:


Stefan Pavlik wrote:
 I am able to schedule the ForceReboot action (e.g. MsiDoAction -
 from immediate custom action) but in this time I do not know whether
 the Reboot will be necessary.


At deferred execution time, the script has already been written so you
can't modify it by adding an action. You need to make the determination
about the reboot in the immediate CA.

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



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Detectng Windows XP with Service Pack 2.

2007-06-08 Thread Aaron Shurts

((VersionNT  501) OR ((VersionNT = 501) AND (ServicePackLevel = 2))) AND
MsiNTProductType = 1

This will check for all workstation level OSes that are XP SP2 or higher.
If you want to allow servers as well, drop the ' AND MsiNTProductType = 1'
from the condition

Regards,
//aj

On 6/8/07, Richard [EMAIL PROTECTED] wrote:



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


 Is there any other property wich will distinguish between the different
Servi
ce Packs.

http://msdn2.microsoft.com/en-US/library/aa370554.aspx
--
The Direct3D Graphics Pipeline -- DirectX 9 draft available for download
  http://www.xmission.com/~legalize/book/download/index.html

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

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wix as a wrapper for NSIS

2007-06-08 Thread Aaron Shurts

How is that a change to your requirement?  I could tell you how to do this,
but I don't feel like advocating what I consider to be a horrible design.
This should get you the information you need, but I guarantee you'll be back
on this mailing list in a short period of time trying to resolve issues or
on a different forum trying to resolve deployment problems.

http://msdn2.microsoft.com/en-us/library/aa368012.aspx

Regards,
//aj

On 6/8/07, carlH [EMAIL PROTECTED] wrote:



Slight change to our requirement here as I can see why the other method
would
be unreliable.

1 - Launch the MSI, this launches our NSIS installer which installs
silently
(I've already got this working).  This also installs our NSIS uninstall
exe.
2 - Running the MSI uninstaller should launch our NSIS uninstaller exe -
this is the bit I'm stuck on

Carl
--
View this message in context:
http://www.nabble.com/wix-as-a-wrapper-for-NSIS-tf3878437.html#a11026568
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Adding files to components

2007-06-07 Thread Aaron Shurts

Take a look at heat.
http://installing.blogspot.com/2006/04/heatexe-making-setup-easier.html

Regards,
//aj

On 6/7/07, Afshin Sepehri [EMAIL PROTECTED] wrote:


 Hi,



I have a question about how to add files to a component. Is that possible
to add all the files in a directory to a component and just exclude a few.
Writing code for all the files one by one seems to be hard.



Thanks,

Afshin

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creation of Virtual Directory within existing Website

2007-06-06 Thread Aaron Shurts

Rob,
I believe so.  The way we install our website is we stop the default site
and add our site in a different ID.  When we uninstall, we restart the
default site and restore the original metabase configuration before the
install of our product.  Wouldn't it make more sense to be able to specify a
site ID for an existing website?  A user could just as easily modify the
IP:Port:Header as they could the description.  For example our site
*usually* installs to site ID 67 when it is available.  So, specifying
either 67 or lm/w3svc/67/ROOT would seem the most reliable as opposed to
description or the ServerBindings property.  I haven't looked at the code
but it would seem you are enum'ing the sites until you find the
ServerBindings you are looking for.  What if I tell you, hey this is the
site ID I want to use...for installs as well, being able to specify the site
ID would be nice.  :-)

Regards,
//aj

On 6/6/07, Rob Mensching [EMAIL PROTECTED] wrote:


 Does this only happen if there are two web sites with the same
IP:Port:Header?



*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Aaron Shurts
*Sent:* Tuesday, June 05, 2007 12:53 PM
*To:* [EMAIL PROTECTED]
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Creation of Virtual Directory within existing
Website



Created a bug:
http://sourceforge.net/tracker/index.php?func=detailaid=1731648group_id=105970atid=642714

[ wix-Bugs-1731648 ] Problem referencing existing website to create vDir

Regards,
//aj

On 6/5/07, *Aaron Shurts*  [EMAIL PROTECTED] wrote:

I have done many experiments trying to get this to work, but keep coming
up with the same problems.  I tried creating a dummy component with the
website info and referencing that, same result.  I tried actually nesting
underneath a component with the website settings and the ConfigureIfExists
flag set to 'no' and still same result.  No matter what I do, the virtual
directory always ends up under the default stopped website, rather than my
started website.  It looks like I might have to whip up a quick VBScript
custom action in the mean time to get this accomplished.  I'll go ahead and
create a bug for this.

Regards,
//aj



On 6/5/07, *Aaron Shurts*  [EMAIL PROTECTED] wrote:

I am having the same problem, so if anyone has a solution, please let us
know what it might be.

Regards,
//aj

On 6/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:



The scenario is that my target machine has two websites as follows:



Default Web Site, IP Address - All Unassigned, Port - 80, Status (STOPPED)

My Website, IP Address - All Unassigned, Port - 80, Status (STARTED)



Therefore they are identical but the default site is stopped (I know that
the default web site should probably be deleted but this is not within my
control).



I am attempting to create a new virtual directory within My Website and
therefore I reference it as follows:



!-- Reference to website --
WebSite Id='MyWebSite' Description='My Website'
  WebAddress Id='MyWebsiteAddr' Port='80' /
/WebSite

The problem I am having is that my virtual is always created within the
default web site. If I change the Port or IP Address of the default web site
then it is created within my website as expected (but this is not something
I can do in production). Therefore the behaviour seems to be that the
website lookup is done using IP Address and Port only (i.e. Description is
ignored), and that the first IIS web site found that matches will be used
(Default Web Site in this case as it is instance 1).



Is there a way to do a more exact match to ensure that my virtual is
always created within the correct website.



As always any feedback would be most appreciated.



One thing I should mention here is that I have only tested this on XP
(using IISAdmin.Net to replicate sites), I have not yet tested on 2003



.




HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, 
Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.





==


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users







-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http

Re: [WiX-users] Creation of Virtual Directory within existing Website

2007-06-06 Thread Aaron Shurts

What about the directory?  That is one of the things I tried to get this
working, but the directory doesn't seem to be taken in to account.  The site
ID is easily enough obtainable from the metabase properties.  You wouldn't
necessarily have to hard-code it.  The only reason we default to 67 is to
make the lives our our support team a little easier.  We can give them
scripts and other test tools that assume the site is 67 and only have to
change it on the rare instance where it is not.

Regards,
//aj

On 6/6/07, Rob Mensching [EMAIL PROTECTED] wrote:


 You are correct, the Metabase Id is the ultimate thing that defines a web
site.  Unfortunately, that identifier is not stable from machine to machine
(or necessarily from install to install).  You cannot safely declare that
your WebSite will always install at any Metabase Id #.  ServerBindings are
supposed to be the one-to-one mapping to the Metabase Id.



*From:* Aaron Shurts [mailto:[EMAIL PROTECTED]
*Sent:* Wednesday, June 06, 2007 8:02 AM
*To:* Rob Mensching
*Cc:* [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Creation of Virtual Directory within existing
Website



Rob,
I believe so.  The way we install our website is we stop the default site
and add our site in a different ID.  When we uninstall, we restart the
default site and restore the original metabase configuration before the
install of our product.  Wouldn't it make more sense to be able to specify a
site ID for an existing website?  A user could just as easily modify the
IP:Port:Header as they could the description.  For example our site
*usually* installs to site ID 67 when it is available.  So, specifying
either 67 or lm/w3svc/67/ROOT would seem the most reliable as opposed to
description or the ServerBindings property.  I haven't looked at the code
but it would seem you are enum'ing the sites until you find the
ServerBindings you are looking for.  What if I tell you, hey this is the
site ID I want to use...for installs as well, being able to specify the site
ID would be nice.  :-)

Regards,
//aj

On 6/6/07, *Rob Mensching* [EMAIL PROTECTED] wrote:

Does this only happen if there are two web sites with the same
IP:Port:Header?



*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Aaron Shurts
*Sent:* Tuesday, June 05, 2007 12:53 PM
*To:* [EMAIL PROTECTED]
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Creation of Virtual Directory within existing
Website



Created a bug:
http://sourceforge.net/tracker/index.php?func=detailaid=1731648group_id=105970atid=642714

[ wix-Bugs-1731648 ] Problem referencing existing website to create vDir

Regards,
//aj

On 6/5/07, *Aaron Shurts*  [EMAIL PROTECTED] wrote:

I have done many experiments trying to get this to work, but keep coming
up with the same problems.  I tried creating a dummy component with the
website info and referencing that, same result.  I tried actually nesting
underneath a component with the website settings and the ConfigureIfExists
flag set to 'no' and still same result.  No matter what I do, the virtual
directory always ends up under the default stopped website, rather than my
started website.  It looks like I might have to whip up a quick VBScript
custom action in the mean time to get this accomplished.  I'll go ahead and
create a bug for this.

Regards,
//aj



On 6/5/07, *Aaron Shurts*  [EMAIL PROTECTED] wrote:

I am having the same problem, so if anyone has a solution, please let us
know what it might be.

Regards,
//aj

On 6/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:



The scenario is that my target machine has two websites as follows:



Default Web Site, IP Address - All Unassigned, Port - 80, Status (STOPPED)

My Website, IP Address - All Unassigned, Port - 80, Status (STARTED)



Therefore they are identical but the default site is stopped (I know that
the default web site should probably be deleted but this is not within my
control).



I am attempting to create a new virtual directory within My Website and
therefore I reference it as follows:



!-- Reference to website --
WebSite Id='MyWebSite' Description='My Website'
  WebAddress Id='MyWebsiteAddr' Port='80' /
/WebSite

The problem I am having is that my virtual is always created within the
default web site. If I change the Port or IP Address of the default web site
then it is created within my website as expected (but this is not something
I can do in production). Therefore the behaviour seems to be that the
website lookup is done using IP Address and Port only (i.e. Description is
ignored), and that the first IIS web site found that matches will be used
(Default Web Site in this case as it is instance 1).



Is there a way to do a more exact match to ensure that my virtual is
always created within the correct website.



As always any feedback would be most appreciated.



One thing I should mention here is that I have only tested this on XP
(using IISAdmin.Net to replicate

Re: [WiX-users] INSTALLDIR Parameter to CustomAction

2007-06-06 Thread Aaron Shurts

Call this as a custom action just after CostFinalize in the immediate
sequence:
sub ConvertSlash()
   dim strInstallDir, strModifiedDir
   strInstallDir = Session.Property(INSTALLDIR)
   strModifiedDir = Replace(strInstallDir, \, /)
   Session.Property(SLASH_DIR) = strModifiedDir
end sub

In your custom action, reference the newly created property [SLASH_DIR], or
whatever you would like to call it.  INSTALLDIR is left intact so that
Windows Installer will play nicely with it and you have a new property to
work with in your custom actions.

Regards,
//aj

On 6/5/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


I've run into a problem that sounds fairly simple to resolve, however,
I've been spinning my wheels on it for a while.

I've created a CustomAction that requires the install path parameter.
However, the string does not come across correctly in my arguments of
the exe because of the \.  I need to set it to /, but my wxs will
not recognize the path.

I've tried all of the following:

C:\Program Files\MyPath\ -- produces incorrect string in exe (C:\Program
Files\MyPath)
C:\\Program Files\\MyPath\\ -- produces incorrect string in exe
(C:\Program Files\MyPath)
C:/Program Files/MyPath/ -- produces error when running MyInstall.msi
(Could not access network location C:/Program Files/MyPath.)
[C:\Program Files\MyPath\] -- produces error when running MyInstall.msi
(Could not access network location [C:\Program Files\MyPath\].)


Property Id=INSTALLDIRC:\Program Files\MyPath\/Property

Binary Id=configupdater
SourceFile=c:\temp\my_csharp_executable.exe /

CustomAction
  Id=MyAction
  ExeCommand=[mybinary] quot;[INSTALLDIR]quot;
  BinaryKey=mybinary Return=check Execute=immediate
  /

Any help is greatly appreciated.

Regards,
~mark

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Phatom installation of msi if no feature in selected during custom installation

2007-06-06 Thread Aaron Shurts

Add an error custom action at the beginning of the deferred execution
sequence which is conditioned to check for something like (NOT Installed)
AND NOT ADDLOCAL or ADDLOCAL = .  This will ensure that at least one of
the features is selected to be installed.

Regards,
//aj

On 6/6/07, Anil Prasad [EMAIL PROTECTED] wrote:


 Hi,

We use WiX to package our binaries. One strange issue we are seeing is
during custom installation. If I don't select any feature, and proceed to
install, I see dummy installation entry in Add Remove programs. Does any one
knows how to detect this in WiX and prevent it?



Thanks a lot,

Anil

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wix as a wrapper for NSIS

2007-06-06 Thread Aaron Shurts

My career used to center around systems management and when Sun FINALLY
released an MSI for the JRE installer, the world rejoiced.  ...until we
found out they has just wrapped their junker of an install in an MSI.  Then,
we cursed their names.  If your client is asking for an MSI, they more than
likely not asking for a wrapper.

Regards,
//aj

On 6/6/07, Richard J Foster [EMAIL PROTECTED] wrote:


Carl,

It may be important to find out *why* the client wants an MSI version.
My guess would be because they are using (or want to use) some kind of
system management software (e.g. Microsoft's SMS), and it handles MSI
files with less effort than other installation types. (Worst case
scenario, they may even be forced to repackage your installation
themselves to use it with their system management tool.)

NSIS, being script based, can do things that an MSI can't (like perform
as a bootstrapper and handle prerequisites).

You may find that, depending on the reason why the customer wants what
they do, that using NSIS as a wrapper/bootstrapper around the WiX
generated MSI file is a better choice.

Regards,
Richard




* C O N F I D E N T I A L I T Y N O T I C E *
---
The content of this e-mail is intended solely for the use of the
individual or entity to whom it is addressed. If you have received this
communication in error, be aware that forwarding it, copying it, or in any
way disclosing its content to any other person, is strictly prohibited. Peek
Traffic Corporation is neither liable for the contents, nor for the proper,
complete and timely transmission of (the information contained in) this
communication. If you have received this communication in error, please
notify the author by replying to this e-mail immediately and delete the
material from any computer.



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Password in the msi logs

2007-06-06 Thread Aaron Shurts

Add the property name to MsiHiddenProperties property.  This is a semi-colon
delimited list of properties whose values you do not want written to the
log.

http://msdn2.microsoft.com/en-us/library/aa370308.aspx

Regards,
//aj

On 6/6/07, Don Tasanasanta [EMAIL PROTECTED] wrote:


 In my install UI I ask for a password and store it in a property. If
someone runs the install with logging turned on that property is found in
several places in the log along with the unprotected password. Is there any
way to prevent this?

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wix as a wrapper for NSIS

2007-06-06 Thread Aaron Shurts

If it only accepts MSIs, they are probably deploying software via GPOs and
AD.  You really should provide them with a true MSI if you don't want a
support nightmare.

Regards,
//aj

On 6/6/07, carlH [EMAIL PROTECTED] wrote:



The said that they need it to be an MSI as they have some kind of software
management system that only handles MSIs. I don't have any more details
than
that.
Is it possible to force the MSI to not create the uninstall entry?  I
guess
that would be sufficient, it probably wouldn't even matter if it didn't
clean up after itself 100%, but having 2 entries in the Add/Remove
programs
is unacceptable.
Carl
--
View this message in context:
http://www.nabble.com/wix-as-a-wrapper-for-NSIS-tf3878437.html#a10995022
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] wix as a wrapper for NSIS

2007-06-06 Thread Aaron Shurts

Of course it's possible, but it's not suggested at all and I doubt you will
find anyone on this list that would condone or endorse it.

Regards,
//aj

On 6/6/07, carlH [EMAIL PROTECTED] wrote:



I'll go back to them and ask for some more details.  In the mean time,
does
anyone actually know if what I'm trying to achieve is possible?
Carl
--
View this message in context:
http://www.nabble.com/wix-as-a-wrapper-for-NSIS-tf3878437.html#a10996131
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creation of Virtual Directory within existing Website

2007-06-05 Thread Aaron Shurts

I am having the same problem, so if anyone has a solution, please let us
know what it might be.

Regards,
//aj

On 6/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:



The scenario is that my target machine has two websites as follows:

Default Web Site, IP Address - All Unassigned, Port - 80, Status (STOPPED)
My Website, IP Address - All Unassigned, Port - 80, Status (STARTED)

Therefore they are identical but the default site is stopped (I know that
the default web site should probably be deleted but this is not within my
control).

I am attempting to create a new virtual directory within My Website and
therefore I reference it as follows:

!-- Reference to website --
WebSite Id='MyWebSite' Description='My Website'
  WebAddress Id='MyWebsiteAddr' Port='80' /
/WebSite
The problem I am having is that my virtual is always created within the
default web site. If I change the Port or IP Address of the default web site
then it is created within my website as expected (but this is not something
I can do in production). Therefore the behaviour seems to be that the
website lookup is done using IP Address and Port only (i.e. Description is
ignored), and that the first IIS web site found that matches will be used
(Default Web Site in this case as it is instance 1).

Is there a way to do a more exact match to ensure that my virtual is
always created within the correct website.

As always any feedback would be most appreciated.

One thing I should mention here is that I have only tested this on XP
(using IISAdmin.Net to replicate sites), I have not yet tested on 2003


.


HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, 
Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.
==


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creation of Virtual Directory within existing Website

2007-06-05 Thread Aaron Shurts

I have done many experiments trying to get this to work, but keep coming up
with the same problems.  I tried creating a dummy component with the website
info and referencing that, same result.  I tried actually nesting underneath
a component with the website settings and the ConfigureIfExists flag set to
'no' and still same result.  No matter what I do, the virtual directory
always ends up under the default stopped website, rather than my started
website.  It looks like I might have to whip up a quick VBScript custom
action in the mean time to get this accomplished.  I'll go ahead and create
a bug for this.

Regards,
//aj

On 6/5/07, Aaron Shurts [EMAIL PROTECTED] wrote:


I am having the same problem, so if anyone has a solution, please let us
know what it might be.

Regards,
//aj

On 6/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:


 The scenario is that my target machine has two websites as follows:

 Default Web Site, IP Address - All Unassigned, Port - 80, Status
 (STOPPED)
 My Website, IP Address - All Unassigned, Port - 80, Status (STARTED)

 Therefore they are identical but the default site is stopped (I know
 that the default web site should probably be deleted but this is not within
 my control).

 I am attempting to create a new virtual directory within My Website and
 therefore I reference it as follows:

 !-- Reference to website --
 WebSite Id='MyWebSite' Description='My Website'
   WebAddress Id='MyWebsiteAddr' Port='80' /
 /WebSite
 The problem I am having is that my virtual is always created within the
 default web site. If I change the Port or IP Address of the default web site
 then it is created within my website as expected (but this is not something
 I can do in production). Therefore the behaviour seems to be that the
 website lookup is done using IP Address and Port only (i.e. Description
 is ignored), and that the first IIS web site found that matches will be used
 (Default Web Site in this case as it is instance 1).

 Is there a way to do a more exact match to ensure that my virtual is
 always created within the correct website.

 As always any feedback would be most appreciated.

 One thing I should mention here is that I have only tested this on XP
 (using IISAdmin.Net to replicate sites), I have not yet tested on 2003


 .
 


 HBOS plc, Registered in Scotland No. SC218813. Registered Office: The Mound, 
Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.

 ==



 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creation of Virtual Directory within existing Website

2007-06-05 Thread Aaron Shurts

Created a bug:
http://sourceforge.net/tracker/index.php?func=detailaid=1731648group_id=105970atid=642714
[ wix-Bugs-1731648 ] Problem referencing existing website to create vDir

Regards,
//aj

On 6/5/07, Aaron Shurts [EMAIL PROTECTED] wrote:


I have done many experiments trying to get this to work, but keep coming
up with the same problems.  I tried creating a dummy component with the
website info and referencing that, same result.  I tried actually nesting
underneath a component with the website settings and the ConfigureIfExists
flag set to 'no' and still same result.  No matter what I do, the virtual
directory always ends up under the default stopped website, rather than my
started website.  It looks like I might have to whip up a quick VBScript
custom action in the mean time to get this accomplished.  I'll go ahead and
create a bug for this.

Regards,
//aj

On 6/5/07, Aaron Shurts [EMAIL PROTECTED] wrote:

 I am having the same problem, so if anyone has a solution, please let us
 know what it might be.

 Regards,
 //aj

 On 6/4/07,  [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 
  The scenario is that my target machine has two websites as follows:
 
  Default Web Site, IP Address - All Unassigned, Port - 80, Status
  (STOPPED)
  My Website, IP Address - All Unassigned, Port - 80, Status (STARTED)
 
  Therefore they are identical but the default site is stopped (I know
  that the default web site should probably be deleted but this is not within
  my control).
 
  I am attempting to create a new virtual directory within My Website
  and therefore I reference it as follows:
 
  !-- Reference to website --
  WebSite Id='MyWebSite' Description='My Website'
WebAddress Id='MyWebsiteAddr' Port='80' /
  /WebSite
  The problem I am having is that my virtual is always created within
  the default web site. If I change the Port or IP Address of the default web
  site then it is created within my website as expected (but this is not
  something I can do in production). Therefore the behaviour seems to be that
  the website lookup is done using IP Address and Port only (i.e.
  Description is ignored), and that the first IIS web site found that matches
  will be used (Default Web Site in this case as it is instance 1).
 
  Is there a way to do a more exact match to ensure that my virtual is
  always created within the correct website.
 
  As always any feedback would be most appreciated.
 
  One thing I should mention here is that I have only tested this on XP
  (using IISAdmin.Net to replicate sites), I have not yet tested on 2003
 
 
  .
  

 
  HBOS plc, Registered in Scotland No. SC218813. Registered Office: The 
Mound, Edinburgh EH1 1YZ. HBOS plc is a holding company, subsidiaries of which are 
authorised and regulated by the Financial Services Authority.
 
 
  
==
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to install files, run an action, then delete the files??

2007-06-01 Thread Aaron Shurts
WiX can in fact do all those things you just mentioned, if not
natively than through custom actions.

Regards,
//aj

On 6/1/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 Hey Guys,

 I have spoken with my boss and he has given me the rationale for what we are
 doing:

 Basically when we took over our current company, there was no versioning on
 any of the software releases.  We are not in a position to be able to know
 what version is currently installed without reading a few XML files, running
 a few SQL Scripts and inspecting the answers.  Based on these results we
 then have a decison tree of what to do in order to get the target machine's
 version to be upgraded correctly.

  My boss chose Nant as Wix can't do any of the things I have just mentioned.
  However if there are any alternative routes you would recommend it would
 really help?  Obviously we want to choose an architecturally efficient
 solution.

  Please let me know your thoughts,

  -Mike



  -Original Message-
  From: Matthew Janulewicz
  To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
  CC: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
  Sent: Thu, 31 May 2007 8.21pm
  Subject: RE: [WiX-users] How to install files, run an action,then delete
 the files??




 I'm still not sure I understand what Nant can do in this context that the
 .msi itself can't do. Plus, the msi will give you some semblance of upgrade
 tracking and all the cool stuff the Windows Installer API adds to the soup.


 -Matt



  

 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf
 Of [EMAIL PROTECTED]
  Sent: Thursday, May 31, 2007 12:12 PM
  To: [EMAIL PROTECTED]
  Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
  Subject: Re: [WiX-users] How to install files, run an action,then delete
 the files??


 Yes - the product is a hotfix MSI.



 All the hard work of moving files, copyin files, etc is done by Nant - we
 just want to use WiX as the main GUI.



 My C# is pretty solid.  Do you have any examples or URLs that show what you
 are suggesting?



 Cheers,



 -Mike


  -Original Message-
  From: Aaron Shurts
  To: [EMAIL PROTECTED]
  CC: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
  Sent: Thu, 31 May 2007 7.01pm
  Subject: Re: [WiX-users] How to install files, run an action, then delete
 the files??

 Can you tell us exactly what you want this product to do? Is it
  actually leaving anything behind or is it only being used to run
  actions? How is your C#? You could write a wrapper instead of using
  a batch script that essentially accomplishes the same thing if you
  want a nice interface.

  Regards,
  //aj

  On 5/31/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   My boss doesn't want to use a batch file as he wants it all to be done
   through an 'MSI' file to look slicker - so I suppose I have to ask - is
   there really no way to delete temporary files in WIX?
  
   Is there not a way you can create a file (in much the same way you would
   create a regular file inside a directory) but mark it as 'temporary' so
 it
   is then deleted when the MSI is run? That would be cool. Obviously my
 case
   is exceptional but I can see people wanting to drop temp fiels and then
   remove them.
  
   Thoughts?
  
   Cheers guys - I really appreciate your promprt replies.
  
   -Mike
  
  
   -Original Message-
   From: Aaron Shurts
   To: Rob Mensching
   CC: [EMAIL PROTECTED] ; wix-users@lists.sourceforge.net
   Sent: Thu, 31 May 2007 6.32pm
   Subject: Re: [WiX-users] How to install files, run an action, then delete
   the files??
  
  
   You definitely don't want to use an MSI for that. A simple batch file
   should get the job done.
  
   Regards,
   //aj
  
   On 5/31/07, Rob Mensching [EMAIL PROTECTED] wrote:
   
   
   
   
[please keep wix-users on the thread so people know the answer]
   
   
   
That isn't an install. It is *almost* an install and an uninstall with
 a
bunch of work tossed in the middle. What it really sounds like you have
   is
a batch file:
   
   
   
xcopy /chezy \\source\location C:\target\location\
   
pushd C:\target\location
   
nant
   
popd
   
rd /s/q C:\target\location
   
   
   
   
   
   
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 31, 2007 10:23 AM
To: Rob Mensching
Subject: Re: [WiX-users] How to install files, run an action, then
 delete
the files??
   
   
   
   
Hi Rob,
   
   
   
   
   
Yes that's right.
   
   
   
   
   
I know it sounds weird. Basically my boss wants me to drop Nant onto
 the
system and teh custom action executes Nant which takes care of a lot of
stuff, and then at the end he wants Nant and its associated files to be
deleted.
   
   
   
   
   
Is this possible?
   
   
   
   
   
Thanks for your reply,
   
   
   
   
   
-Mike
   
   
-Original Message-
From: Rob Mensching

[WiX-users] Sharing some bootstrap information

2007-06-01 Thread Aaron Shurts

Leather is the best material...  Just kidding.  :-)

I have added a project to one of my solutions that generates a bootstrap to
preinstall required pre-requisites.  I thought I would share this with all
of you:
using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.Build.Tasks.Deployment.ManifestUtilities;
using Microsoft.Build.Tasks.Deployment.Bootstrapper;
using Microsoft.Build.Tasks;
using Microsoft.Build.Framework;
using Microsoft.Build.Utilities;

namespace GenerateBootstrap
{
   class GenerateBootstrap
   {
   static void Main(string[] args)
   {
   GenerateBootstrapper gbs = new GenerateBootstrapper();
   TaskItem SqlBcRuntime;
   TaskItem WseRuntime;
   string PFiles = Environment.GetFolderPath(
Environment.SpecialFolder.ProgramFiles).ToString();

   try
   {
   gbs.ApplicationName = My Product;
   gbs.ApplicationFile = @MyInstall.msi;
   SqlBcRuntime = new TaskItem(@
SQL.2005.Backwards.Compatibility);
   WseRuntime = new TaskItem(@
Web.Services.Enhancements.2.0.SP2);
   gbs.BootstrapperItems = new ITaskItem[] { SqlBcRuntime,
WseRuntime };
   gbs.Path = PFiles + @\Microsoft Visual Studio
8\SDK\v2.0\Bootstrapper;
   gbs.ComponentsLocation =
ComponentsLocation.Relative.ToString();
   gbs.CopyComponents = true;
   gbs.OutputPath = @.\output;
   gbs.Execute();
   }

   catch (Exception ex)
   {
   Console.WriteLine(ex.Message);
   }
   }
   }
}


The above code will generate a bootstrap package with a reference to the
required dependencies and my product MSI.  The two dependencies I am using
were packages I created using the Bootstrapper Manifest Generator available
here:
http://www.codeplex.com/bmg

I call this compiled executable as a post-build task to create the
bootstrap.  If there are any questions, let me know.  Hopefully, someone
else will find this useful

Regards,
//aj
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread Aaron Shurts
You definitely don't want to use an MSI for that.  A simple batch file
should get the job done.

Regards,
//aj

On 5/31/07, Rob Mensching [EMAIL PROTECTED] wrote:




 [please keep wix-users on the thread so people know the answer]



 That isn't an install.  It is *almost* an install and an uninstall with a
 bunch of work tossed in the middle.  What it really sounds like you have is
 a batch file:



 xcopy /chezy \\source\location C:\target\location\

 pushd C:\target\location

 nant

 popd

 rd /s/q C:\target\location






 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
  Sent: Thursday, May 31, 2007 10:23 AM
  To: Rob Mensching
  Subject: Re: [WiX-users] How to install files, run an action, then delete
 the files??




 Hi Rob,





 Yes that's right.





 I know it sounds weird.  Basically my boss wants me to drop Nant onto the
 system and teh custom action executes Nant which takes care of a lot of
 stuff, and then at the end he wants Nant and its associated files to be
 deleted.





 Is this possible?





 Thanks for your reply,





 -Mike


  -Original Message-
  From: Rob Mensching
  To: mikebartlett ; wix-users@lists.sourceforge.net
  Sent: Thu, 31 May 2007 6.18pm
  Subject: RE: [WiX-users] How to install files, run an action, then delete
 the files??
 Uhh, I must be misunderstanding something.  Do you really want to install
 something, run a CustomAction then delete everything you installed?

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED]
 On Behalf Of mikebartlett
 Sent: Thursday, May 31, 2007 9:52 AM
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] How to install files, run an action, then delete the
 files??


 Hi Guys,

 I am dropping Nant and a series of related files onto the target machine and
 then executing Nant using a custom action (all works fine).  My problem is
 that I need to clean all the files off afterwards.  Is there a clean way to
 do this without me having to resort to a custom action that executed a
 program which deletes all the files?

 I tried  but alas this is not legal.

 Please help.

 -Mike Bartlett
 --
 View this message in context:
 http://www.nabble.com/How-to-install-files%2C-run-an-action%2C-then-delete-the-files---tf3847657.html#a10897723
 Sent from the wix-users mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


  


 Get a FREE AOL Email account with 2GB of storage. Plus, share and store
 photos and experience exclusively recorded live music Sessions from your
 favourite artists. Click Here for more information.
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to install files, run an action, then delete the files??

2007-05-31 Thread Aaron Shurts
Can you tell us exactly what you want this product to do?  Is it
actually leaving anything behind or is it only being used to run
actions?  How is your C#?  You could write a wrapper instead of using
a batch script that essentially accomplishes the same thing if you
want a nice interface.

Regards,
//aj

On 5/31/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 My boss doesn't want to use a batch file as he wants it all to be done
 through an 'MSI' file to look slicker - so I suppose I have to ask - is
 there really no way to delete temporary files in WIX?

  Is there not a way you can create a file (in much the same way you would
 create a regular file inside a directory) but mark it as 'temporary' so it
 is then deleted when the MSI is run?  That would be cool.  Obviously my case
 is exceptional but I can see people wanting to drop temp fiels and then
 remove them.

  Thoughts?

  Cheers guys - I really appreciate your promprt replies.

  -Mike


  -Original Message-
  From: Aaron Shurts
  To: Rob Mensching
  CC: [EMAIL PROTECTED] ; wix-users@lists.sourceforge.net
  Sent: Thu, 31 May 2007 6.32pm
  Subject: Re: [WiX-users] How to install files, run an action, then delete
 the files??


 You definitely don't want to use an MSI for that. A simple batch file
  should get the job done.

  Regards,
  //aj

  On 5/31/07, Rob Mensching [EMAIL PROTECTED] wrote:
  
  
  
  
   [please keep wix-users on the thread so people know the answer]
  
  
  
   That isn't an install. It is *almost* an install and an uninstall with a
   bunch of work tossed in the middle. What it really sounds like you have
 is
   a batch file:
  
  
  
   xcopy /chezy \\source\location C:\target\location\
  
   pushd C:\target\location
  
   nant
  
   popd
  
   rd /s/q C:\target\location
  
  
  
  
  
  
   From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
   Sent: Thursday, May 31, 2007 10:23 AM
   To: Rob Mensching
   Subject: Re: [WiX-users] How to install files, run an action, then delete
   the files??
  
  
  
  
   Hi Rob,
  
  
  
  
  
   Yes that's right.
  
  
  
  
  
   I know it sounds weird. Basically my boss wants me to drop Nant onto the
   system and teh custom action executes Nant which takes care of a lot of
   stuff, and then at the end he wants Nant and its associated files to be
   deleted.
  
  
  
  
  
   Is this possible?
  
  
  
  
  
   Thanks for your reply,
  
  
  
  
  
   -Mike
  
  
   -Original Message-
   From: Rob Mensching
   To: mikebartlett ; wix-users@lists.sourceforge.net
   Sent: Thu, 31 May 2007 6.18pm
   Subject: RE: [WiX-users] How to install files, run an action, then delete
   the files??
   Uhh, I must be misunderstanding something. Do you really want to install
   something, run a CustomAction then delete everything you installed?
  
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]
   On Behalf Of mikebartlett
   Sent: Thursday, May 31, 2007 9:52 AM
   To: wix-users@lists.sourceforge.net
   Subject: [WiX-users] How to install files, run an action, then delete the
   files??
  
  
   Hi Guys,
  
   I am dropping Nant and a series of related files onto the target machine
 and
   then executing Nant using a custom action (all works fine). My problem is
   that I need to clean all the files off afterwards. Is there a clean way
 to
   do this without me having to resort to a custom action that executed a
   program which deletes all the files?
  
   I tried but alas this is not legal.
  
   Please help.
  
   -Mike Bartlett
   --
   View this message in context:
  
 http://www.nabble.com/How-to-install-files%2C-run-an-action%2C-then-delete-the-files---tf3847657.html#a10897723
   Sent from the wix-users mailing list archive at Nabble.com.
  
  
  
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   WiX-users mailing list
   WiX-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wix-users
  
  
   
  
  
   Get a FREE AOL Email account with 2GB of storage. Plus, share and store
   photos and experience exclusively recorded live music Sessions from your
   favourite artists. Click Here for more information.
  
 -
   This SF.net email is sponsored by DB2 Express
   Download DB2 Express C - the FREE version of DB2 express and take
   control of your XML. No limits. Just data. Click to get it now.
   http://sourceforge.net/powerbar/db2/
   ___
   WiX-users mailing list
   WiX-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wix-users

Re: [WiX-users] Error while trying to build with Crystal Reports XIr2 -Any ideas ?

2007-05-31 Thread Aaron Shurts
OT, but I love that word...catastrophically.  When functions in my
code fail, I generally don't relate them to cataclysmic events.  :-)

Can you post some snippets of the module so we can have a look, namely
how the components are organized?

Regards,
//aj

On 5/31/07, Mike Dimmick [EMAIL PROTECTED] wrote:
 The documentation for ImsmMerge2::Merge wasn't exactly helpful
 (http://msdn2.microsoft.com/en-us/library/aa369275.aspx):

 Return Value
 The Merge function returns the following values.
 E_FAIL The merge failed catastrophically. This indicates an operational
 error, and is not the normal error return for a failed merge.

 Check that the path to the MSI and the path to the MSM are fairly short?
 What does smoke say about the MSM? Can you open it with Orca?

 If you have an on-access virus scanner, try disabling it temporarily or
 asking it not to scan on writing the file?

 --
 Mike Dimmick

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of DexterSinister
 Sent: 31 May 2007 21:59
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Error while trying to build with Crystal Reports XIr2
 -Any ideas ?


 I'm building an updated version of an installation package [only the Crystal
 Reports merge modules
 have changed at this point ...] and I'm getting the following error:

 light.exe : error LGHT0001 : Error HRESULT E_FAIL has been returned from a
 call to a COM component.

 Exception Type: System.Runtime.InteropServices.COMException

 Stack Trace:
at Microsoft.Tools.WindowsInstallerXml.IMsmMerge2.Merge(String feature,
 String directory)
at Microsoft.Tools.WindowsInstallerXml.Binder.MergeModules(String
 databasePath, Output output)
at Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output output)
at Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[] args)


 Any thoughts on how to figure this out  fix it ... ?

 Thanks in advance,

 -dmm
 --
 View this message in context:
 http://www.nabble.com/Error-while-trying-to-build-with-Crystal-Reports-XIr2-
 --Any-ideas---tf3848848.html#a10901909
 Sent from the wix-users mailing list archive at Nabble.com.


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] v3 Simple Custom Action?

2007-05-30 Thread Aaron Shurts
Have you had a look at the ShellExecute custom action?  From the manual:
ShellExecute CustomAction

The WixShellExec custom action in wixca (part of WixUtilExtension)
lets you  open document or URL targets via the Windows shell. A common
use is to launch  readme files or URLs using their registered default
applications based on their  extension. Note that WixShellExecute can
only be used as an immediate custom  action as it launches an
application without waiting for it to close.  WixShellExec reads its
target from the WixShellExecTarget property, formats it,  and then
calls ShellExecute with the formatted value. It uses the default verb,
 which is usually open. For more information, see ShellExecute
Function.

Here's how you could use WixShellExecute to launch a readme file based
on its  File/@Id attribute value using WixUI's support for adding a
checkbox to the  final dialog: CustomAction Id=LaunchReadme
BinaryKey=WixCA DllEntry=WixShellExec Execute=immediate
Return=check Impersonate=yes /
Property Id=WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT Value=Open readme /
Property Id=WixShellExecTarget Value=[#readme] /
UI
UIRef Id=WixUI_Minimal /
Publish Dialog=ExitDialog Control=Finish Event=DoAction
Value=LaunchReadme Order=1NOT Installed/Publish
/UI

If you want to run more than one command line in the immediate
sequence then  you need to schedule WixShellExecute multiple times and
set the  WixShellExecuteTarget property (using a type 51 custom
action) right before you  want each of them executed.

Regards,
//aj

On 5/30/07, S C [EMAIL PROTECTED] wrote:

 Pulling my hair out on this one... Can anyone show a simple set of snippets 
 that would allow a custom action (launching the default web browser to go to 
 'http://localhost/test/page.html') to run after successful installation? I 
 thought this would be straightforward, but for some reason it's just not.

  Help?

 
Create the ultimate e-mail address book. Import your contacts to
Windows Live Hotmail. Try it!
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] link error

2007-05-30 Thread Aaron Shurts
...sorry, hit send too quickly.  For sourcing external files properly,
make sure you familiarize yourself with the directory table:
http://msdn2.microsoft.com/En-US/library/aa368295.aspx

Rob has an excellent write-up on his blog as well.  I am too lazy to
go get the URL right now, but just do a search on his blog.  :-P

Regards,
//aj

On 5/30/07, Aaron Shurts [EMAIL PROTECTED] wrote:
 Are you trying to stuff 50GB in to one cab?

 Regards,
 //aj

 On 5/30/07, Ravit Shapira [EMAIL PROTECTED] wrote:
 
 
 
 
  1. I'm using version: 2.0.4701.0
 
 
 
  2. I did start my work with having the files outside the cab because I
  suspected that cabinet cannot hold large amount of data as I have. However,
  when I tried to save my files outside the cab and having them arranged in
  different folders, I passed the link stage but during runtime I got an error
  that says that it can't find the files. If I save the files in the same
  folder where the msi file is located the installation works with no error,
  however, I have to save the files inside folder, since I have different
  files that share the same name and I cannot put them all together in one
  folder.
 
 
 
  Thanks a lot for your feedback!
 
 
 
  Ravit
 
 
 
   
 
 
  From: Rob Mensching
   Sent: Wednesday, May 30, 2007 10:44 AM
   To: Ravit Shapira; wix-users@lists.sourceforge.net
   Cc: Rob Chambers
   Subject: RE: link error
 
 
 
 
 
  What version of the WiX toolset are you using?
 
 
 
  WiX shouldn't crash, but you should know that a cabinet file can't really
  hold more than 2 GB of data.
 
 
 
 
 
  From: Ravit Shapira
   Sent: Wednesday, May 30, 2007 2:49 AM
   To: wix-users@lists.sourceforge.net; Rob Mensching
   Cc: Rob Chambers
   Subject: link error
 
 
 
   Hi,
 
 
 
  I'm trying to create a setup that installs ~50GByte of files data, while all
  the files are in the cab and I get the following link error:
 
 
 
  light.exe : error LGHT0001 : Attempted to read or write protected memory.
  This is often an indication that other memory is corrupt.
 
 
 
  Exception Type: System.AccessViolationException
 
 
 
  Stack Trace:
 
 at
  Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFinish
  (IntPtr contextHandle) at
  Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Close()
 
 at
  Microsoft.Tools.WindowsInstallerXml.Binder.CreateCabinet(String
  cabinetDir, String cabinetName, CompressionLevel level, ArrayList files,
  ImportStreamCollection importStreams, ArrayList fileTransfers)  at
  Microsoft.Tools.WindowsInstallerXml.Binder.ProcessMediaInformation(StringdatabasePath,
  Output output, ArrayList fileTransfers)   at
  Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output
  output) at
  Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[]
  args)
 
 
 
 
 
  Do you have any idea why and how I can resolve this problem?
  Does splitting my install into several smaller cabs, is the only way to
  solve this error?
  What about keeping these files outside the cab - is it possible to do that
  when all the files are organized in different folders during rumtime? I
  succeeded to create such a setup but during runtime I get an error that it
  doesn't find the files. If I put the files side by side where the msi is
  located the setup works with no runtime error. However, I can not put all
  the files in the same folder together with the msi, since I have many files
  with similar names. How can I configure my setup to look up for the files in
  folders during runtime when the files are not part of the cab (I know how to
  pass the link stage, when the files are located in different folders. My
  problem is with runtime)?
 
 
 
  Thanks,
 
  Ravit
 
 
 
 
  -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] link error

2007-05-30 Thread Aaron Shurts
Are you trying to stuff 50GB in to one cab?

Regards,
//aj

On 5/30/07, Ravit Shapira [EMAIL PROTECTED] wrote:




 1. I'm using version: 2.0.4701.0



 2. I did start my work with having the files outside the cab because I
 suspected that cabinet cannot hold large amount of data as I have. However,
 when I tried to save my files outside the cab and having them arranged in
 different folders, I passed the link stage but during runtime I got an error
 that says that it can't find the files. If I save the files in the same
 folder where the msi file is located the installation works with no error,
 however, I have to save the files inside folder, since I have different
 files that share the same name and I cannot put them all together in one
 folder.



 Thanks a lot for your feedback!



 Ravit



  


 From: Rob Mensching
  Sent: Wednesday, May 30, 2007 10:44 AM
  To: Ravit Shapira; wix-users@lists.sourceforge.net
  Cc: Rob Chambers
  Subject: RE: link error





 What version of the WiX toolset are you using?



 WiX shouldn't crash, but you should know that a cabinet file can't really
 hold more than 2 GB of data.





 From: Ravit Shapira
  Sent: Wednesday, May 30, 2007 2:49 AM
  To: wix-users@lists.sourceforge.net; Rob Mensching
  Cc: Rob Chambers
  Subject: link error



  Hi,



 I'm trying to create a setup that installs ~50GByte of files data, while all
 the files are in the cab and I get the following link error:



 light.exe : error LGHT0001 : Attempted to read or write protected memory.
 This is often an indication that other memory is corrupt.



 Exception Type: System.AccessViolationException



 Stack Trace:

at
 Microsoft.Tools.WindowsInstallerXml.Cab.Interop.CabInterop.CreateCabFinish
 (IntPtr contextHandle) at
 Microsoft.Tools.WindowsInstallerXml.Cab.WixCreateCab.Close()

at
 Microsoft.Tools.WindowsInstallerXml.Binder.CreateCabinet(String
 cabinetDir, String cabinetName, CompressionLevel level, ArrayList files,
 ImportStreamCollection importStreams, ArrayList fileTransfers)  at
 Microsoft.Tools.WindowsInstallerXml.Binder.ProcessMediaInformation(StringdatabasePath,
 Output output, ArrayList fileTransfers)   at
 Microsoft.Tools.WindowsInstallerXml.Binder.Bind(Output
 output) at
 Microsoft.Tools.WindowsInstallerXml.Tools.Light.Run(String[]
 args)





 Do you have any idea why and how I can resolve this problem?
 Does splitting my install into several smaller cabs, is the only way to
 solve this error?
 What about keeping these files outside the cab - is it possible to do that
 when all the files are organized in different folders during rumtime? I
 succeeded to create such a setup but during runtime I get an error that it
 doesn't find the files. If I put the files side by side where the msi is
 located the setup works with no runtime error. However, I can not put all
 the files in the same folder together with the msi, since I have many files
 with similar names. How can I configure my setup to look up for the files in
 folders during runtime when the files are not part of the cab (I know how to
 pass the link stage, when the files are located in different folders. My
 problem is with runtime)?



 Thanks,

 Ravit




 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Disabling features in the CustomizeDlg based on UIinteraction...

2007-05-29 Thread Aaron Shurts

I use this very successfully actually and have not had any problems with
it.  My feature declaration looks like this:
Feature Id=MyFeature Title=My Application Feature Display=hidden
Level=1 ConfigurableDirectory=INSTALLDIR AllowAdvertise=no
  ComponentRef Id=MyInstallComponent /
  Condition Level=1![CDATA[MY_NEEDED_PROPERTY]]/Condition
  Condition Level=0![CDATA[NOT MY_NEEDED_PROPERTY]]/Condition
/Feature

The Condition tag sets the feature to 1 or 0 based on the presence of
[MY_NEEDED_PROPERTY].  I use this in several different installs and it works
great.  For instance I have an install where the client and server
components are in the same install and you can't install both on the same
box.  That is where this example comes from as a matter of fact.  You could
go even further to place conditions on the individual components that check
for the install actions of particular features to ensure the desired
installation behavior.

See the following for more information:
http://msdn2.microsoft.com/en-us/library/aa368014.aspx
http://msdn2.microsoft.com/en-us/library/aa368012.aspx

Regards,
//aj

On 5/29/07, Pally Sandher [EMAIL PROTECTED] wrote:


 I had a similar situation last week  recieved a grand total of 1
replies. I've come to the conclusion that using Condition to set the Level
of a Feature doesn't work (at all, as in it's a bug).
I tried to use it to set the Feature Level to either 1001 or 1 (1001 would
exclude it from any install as my complete install has SetInstallLevel of
1000). I also tried the 1/0 approach for enable/disable as you have but no
matter what I tried it never works as like you I found it is never evaluated
during the running of the installer.

I had to use a Condition under a Component (which do appear to be
evaluated at install time) as all I wanted to do was make a single .ini
change based on a users choice. I don't think this will be sufficient for
what you're trying to do however.

A chap by the name of Don Tasanasanta suggested the following:


Have you tried using the commands:



Publish Event=Remove Value=feature nameProperty=true
/Publish

Publish Event=AddLocal Value=feature nameProperty=false
/Publish



The remove will disable a feature and the addlocal will enable a feature
when used with a control.

If you use your CustomAction to set a Property to true or false you
could something similar in the above code to enable/disable features before
a user chooses the type of install (as in the control which publishes your
equivalent of the SetupTypeDlg in WiXUI_Mondo).

I found something I thought might be useful called FeatureRequestState on
MSDN at http://msdn2.microsoft.com/en-us/library/aa371662.aspx but since
I'd solved the issue I was having I didn't investigate how to implement it
(if possible) in WiX. I think the above code would do a similar if not the
same thing however.

Cheers (and good luck),

 http://www.iesve.com/

*Palbinder Sandher
Software Deployment and
IT Administrator *

T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501
http://www.iesve.com

**Design, Simulate + Innovate with the Virtual Environment**

Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow
G20 0SP

Email Disclaimer http://www.iesve.com/disclaimer.html










 --
*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Lewis Henderson
*Sent:* 29 May 2007 17:20
*To:* wix-users@lists.sourceforge.net
*Subject:* [WiX-users] Disabling features in the CustomizeDlg based on
UIinteraction...

 Hi All,



I'm still trying to port from InstallShield to wix, and here's the problem
I'm running into:  The user enters an authorization key, which is checked
for validity in a CA.  The CA also determines which features are available
based on this key, and I want to disable the features that aren't available
so they don't show up in the CustomizeDlg, which is invoked shortly after
the key is entered.  My CA is currently setting property values for each
feature to 0 or 1 and checked via Condition clauses on the Feature
declarations.  However, the conditions only appear to be evaluated at
compile file, not run time.



Can someone please either tell me how to make these conditions evaluate
after the CA is run, or point me to the right MSI routine call(s) to reset
the feature level to zero in my CA?  Thanks.



Lewis

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



Re: [WiX-users] Connecting many files to a single component

2007-05-29 Thread Aaron Shurts

You can do it, but not in the way you describe.

Component Id=MyComponent Guid=12345678----ABCDEF00
  File Id=FirstFile Name=foo.bar Keypath=yes
Source=C:\sample\foo.bar /
  File Id=SecondFile Name=foo2.bar Source=C:\sample\foo2.bar /
  File Id=ThirdFile Name=foo3.bar Source=C:\sample\foo3.bar /
  File Id=FourthFile Name=foo4.bar Source=C:\sample\foo4.bar /
  ...
/Component

This will group several files into one component, but you can not use a
wildcard reference on a directory.  Heat works *okay*, but I don't like the
output so I usually end up changing it around a bit.  The -gg option won't
show up in the command line help for heat, but you may want to use it on a
first-time basis to generate the GUIDs for you when creating the initial
references to your files.

Regards,
//aj

On 5/29/07, hariom [EMAIL PROTECTED] wrote:



Hi All,

I am a newbie to WIX, but I am using Installshield. Now I need to port my
installers to WIX. In Installshield while doing Dynamic File Linking
option
I will be getting a option like, I can select only required files from
that
directory. That means for example I can select only *.aspx files OR *.dll
from particular directory. Is that this feature is available in WIX also?

Let me put my question in this way also, can I connect multiple files to a
single compoent?

File Id='web.config' Name='web.config' DiskId='1'
Source='C:\sample\*.aspx'
/ If I am trying to use this light.exe is throwing error.

Please help me and thanks in advance :)
--
View this message in context:
http://www.nabble.com/Connecting-many-files-to-a-single-component-tf3834116.html#a10854708
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Disabling features in the CustomizeDlg based on UI interaction...

2007-05-29 Thread Aaron Shurts

You may be able to build your ADDLOCAL property from checkboxes instead of
using the Feature Selection dialog.  This would allow you to enable or
disable the checkboxes based on property values.

The problem you are having is a sequencing problem.  The feature conditions
have already been evaluated by the time your custom action runs.  Thusly,
manipulating what the user can and cannot select is a difficult task.

You are running in to what happens to be one of the biggest complaints about
Windows Installer, the UI.  To really have full control over it, you'll need
to write your own UI.

...which is not as difficult or lengthy as it might sound.  There are a
plethora of topics in the SDK that cover how to do this, see the following
topic for example:
http://msdn2.microsoft.com/en-us/library/aa369544.aspx

Regards,
//aj

On 5/29/07, Lewis Henderson [EMAIL PROTECTED] wrote:


Hi All,

Thanks for the reply, but that doesn't do it for me.  If I use this
code, all of the features are disabled since none of the property values
are set initially.  As a reminder, I set property values in a CA called
from a UI before the CustomizeDlg is called.  Since I can't seem to
Feature conditions to evaluate at the time of the CustomizeDlg call, is
there some MSI function I can call from C in my UI that can set the
Feature Level in the database?

Lewis

-Original Message-
Date: Tue, 29 May 2007 11:01:13 -0700
From: Aaron Shurts [EMAIL PROTECTED]
Subject: Re: [WiX-users] Disabling features in the CustomizeDlg based
   on  UIinteraction...
To: Pally Sandher [EMAIL PROTECTED]
Cc: Lewis Henderson [EMAIL PROTECTED],
   wix-users@lists.sourceforge.net
Message-ID:
   [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

I use this very successfully actually and have not had any problems
with
it.  My feature declaration looks like this:
Feature Id=MyFeature Title=My Application Feature Display=hidden
Level=1 ConfigurableDirectory=INSTALLDIR AllowAdvertise=no
   ComponentRef Id=MyInstallComponent /
   Condition Level=1![CDATA[MY_NEEDED_PROPERTY]]/Condition
   Condition Level=0![CDATA[NOT MY_NEEDED_PROPERTY]]/Condition
/Feature

The Condition tag sets the feature to 1 or 0 based on the presence of
[MY_NEEDED_PROPERTY].  I use this in several different installs and it
works
great.  For instance I have an install where the client and server
components are in the same install and you can't install both on the
same
box.  That is where this example comes from as a matter of fact.  You
could
go even further to place conditions on the individual components that
check
for the install actions of particular features to ensure the desired
installation behavior.

See the following for more information:
http://msdn2.microsoft.com/en-us/library/aa368014.aspx
http://msdn2.microsoft.com/en-us/library/aa368012.aspx

Regards,
//aj


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Can someone provide some direction on using the NAnt tasks to build for WiX v3?

2007-05-29 Thread Aaron Shurts

I am mainly concerned with how I reference multiple extensions.  Is it like
the following?

candle
  ...
  extensions=${Wix_path} name=WixNetFxExtension.dll
;WixIIsExtension.dll;WixSqlExtension.dll;WixUIExtension.dll;WixUtilExtension.dll
  ...
/candle

Is this even supported?  You know all those questions.  Thanks for the
input.

Regards,
//aj
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with SQL custom actions.

2007-05-23 Thread Aaron Shurts

Rob,
I opened the bug and assigned to you:
[ 1724535 ] SQL Custom actions are referencing a deprecated entry point

//aj

On 5/23/07, Rob Mensching [EMAIL PROTECTED] wrote:


 Indeed.  The integration was big and it looks like I missed this in my
spot testing.  Can someone open a bug on this and make sure it is assigned
to me.  I'll fix it tomorrow night for Friday's release.



*From:* Mike Dimmick [mailto:[EMAIL PROTECTED]
*Sent:* Tuesday, May 22, 2007 4:14 PM
*To:* 'Mike Dimmick'; Rob Mensching; 'Aaron Shurts'; 'Bob Arnson'
*Cc:* wix-users@lists.sourceforge.net
*Subject:* RE: [WiX-users] Problem with SQL custom actions.



Actually, it looks like you changed the name of the entry point to
InstallSqlData and added an UninstallSqlData, but did not change
src\ext\SqlExtension\wixlib\SqlExtension.wxs. You did change
src\ca\serverca\scawixlib\sca.wxs, but I don't think that file is used any
more in WiX v3.



Sorry, guys, looks like WiX 3.0.2921.0 isn't going to work for anyone who
needs the SQL features, unless you modify SqlExtension.wxs and build WiX
yourself.



--

Mike Dimmick


 --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Mike Dimmick
*Sent:* 23 May 2007 00:06
*To:* 'Rob Mensching'; 'Aaron Shurts'; 'Bob Arnson'
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Problem with SQL custom actions.



Something got broken in the build process: ConfigureSql is not exported
from the CA DLL contained in WixSqlExtension.dll.



--

Mike Dimmick


 --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Rob Mensching
*Sent:* 22 May 2007 18:48
*To:* Aaron Shurts; Bob Arnson
*Cc:* Mike Dimmick; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Problem with SQL custom actions.



That was a huge integration last week.  It is possible that you've found a
bug in the integration (or even scarier a bug that wasn't fixed in WiX v2
either).  Is it possible to share the .wxs and SQL script?  The last bugs
we've fixed have all been edge cases where the SQL Script had to be set just
so.  Difficult to review.



*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Aaron Shurts
*Sent:* Tuesday, May 22, 2007 9:55 AM
*To:* Bob Arnson
*Cc:* Mike Dimmick; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Problem with SQL custom actions.



Maybe I am grasping at straws trying to get this v3 to work, but the
latest weekly release (3.0.2921.0) doesn't even get in to the custom
action DLL.  Now I am getting this:
MSI (s) (FC:3C) [09:35:15:234]: Doing action: ConfigureSql
Action 9:35:15: ConfigureSql. Configuring SQL Server
Action start 9:35:15: ConfigureSql.
MSI (s) (FC:E4) [09:35:15:250]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI10D.tmp, Entrypoint: ConfigureSql
MSI (s) (FC:3C) [09:35:15:312]: Note: 1: 1723 2: ConfigureSql 3:
ConfigureSql 4: C:\WINDOWS\Installer\MSI10D.tmp
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp
MSI (s) (FC:3C) [09:35:16:531]: Product: Enterprise Reporting Server --
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp

Action ended 9:35:16: ConfigureSql. Return value 3.

Any thoughts / suggestions?  The DLL is actually in the binary table, so
it's not a matter of the DLL missing.
Regards,
//aj

On 5/21/07, *Bob Arnson* [EMAIL PROTECTED] wrote:

Aaron Shurts wrote:
 I decided to go with v3 because I didn't feel like re-writing all the
 deprecated tags when v3 is released.  I think we have a fix for it in
 the meantime, but it sure would be nice if the fixes were propagated
 in to the v3 code branch.

Check the latest weekly release:

 RobMen: Reverse integrate WiX v2 CustomAction fixes.

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



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with SQL custom actions.

2007-05-22 Thread Aaron Shurts

Maybe I am grasping at straws trying to get this v3 to work, but the latest
weekly release (3.0.2921.0) doesn't even get in to the custom action DLL.
Now I am getting this:
MSI (s) (FC:3C) [09:35:15:234]: Doing action: ConfigureSql
Action 9:35:15: ConfigureSql. Configuring SQL Server
Action start 9:35:15: ConfigureSql.
MSI (s) (FC:E4) [09:35:15:250]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI10D.tmp, Entrypoint: ConfigureSql
MSI (s) (FC:3C) [09:35:15:312]: Note: 1: 1723 2: ConfigureSql 3:
ConfigureSql 4: C:\WINDOWS\Installer\MSI10D.tmp
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp
MSI (s) (FC:3C) [09:35:16:531]: Product: Enterprise Reporting Server --
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp

Action ended 9:35:16: ConfigureSql. Return value 3.

Any thoughts / suggestions?  The DLL is actually in the binary table, so
it's not a matter of the DLL missing.
Regards,
//aj

On 5/21/07, Bob Arnson [EMAIL PROTECTED] wrote:


Aaron Shurts wrote:
 I decided to go with v3 because I didn't feel like re-writing all the
 deprecated tags when v3 is released.  I think we have a fix for it in
 the meantime, but it sure would be nice if the fixes were propagated
 in to the v3 code branch.

Check the latest weekly release:

 RobMen: Reverse integrate WiX v2 CustomAction fixes.

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



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with SQL custom actions.

2007-05-22 Thread Aaron Shurts

This is a snippet of the include script that is called from the main product
file:
Binary Id=Sql_ServerInstall
SourceFile=Components\Data\ERS\Database\ERSServer.sql /

!--Execute SQL Scripts--
 sql:SqlDatabase Id=LocalDbServer Server=[SQLSERVER] Database=master
/
 !--Server--
 DirectoryRef Id=INSTALLDIR
   Component Id=SqlErsServerInstall
Guid=da6e0c89-2cfd-4bf4-92ae-40c8568bfd83 KeyPath=yes
 sql:SqlScript Id=InstallBaseScript
   SqlDb=LocalDbServer
   BinaryKey=Sql_ServerInstall
   ContinueOnError=no
   ExecuteOnInstall=yes
   Sequence=1 /
 Condition![CDATA[NOT ERS_VERSION AND NOT
PLUS_VERSION]]/Condition
   /Component
 /DirectoryRef

The attached SQL script is an obfuscated snippet of the SQL script we call
which is a functioning script and I still get the failure described.  If I
can provide any other information let me know, but due to the nature of the
product, I can't send you the full on scripts and files without an NDA.

Regards,
//aj

On 5/22/07, Rob Mensching [EMAIL PROTECTED] wrote:


 That was a huge integration last week.  It is possible that you've found
a bug in the integration (or even scarier a bug that wasn't fixed in WiX v2
either).  Is it possible to share the .wxs and SQL script?  The last bugs
we've fixed have all been edge cases where the SQL Script had to be set just
so.  Difficult to review.



*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Aaron Shurts
*Sent:* Tuesday, May 22, 2007 9:55 AM
*To:* Bob Arnson
*Cc:* Mike Dimmick; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Problem with SQL custom actions.



Maybe I am grasping at straws trying to get this v3 to work, but the
latest weekly release (3.0.2921.0) doesn't even get in to the custom
action DLL.  Now I am getting this:
MSI (s) (FC:3C) [09:35:15:234]: Doing action: ConfigureSql
Action 9:35:15: ConfigureSql. Configuring SQL Server
Action start 9:35:15: ConfigureSql.
MSI (s) (FC:E4) [09:35:15:250]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI10D.tmp, Entrypoint: ConfigureSql
MSI (s) (FC:3C) [09:35:15:312]: Note: 1: 1723 2: ConfigureSql 3:
ConfigureSql 4: C:\WINDOWS\Installer\MSI10D.tmp
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp
MSI (s) (FC:3C) [09:35:16:531]: Product: Enterprise Reporting Server --
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp

Action ended 9:35:16: ConfigureSql. Return value 3.

Any thoughts / suggestions?  The DLL is actually in the binary table, so
it's not a matter of the DLL missing.
Regards,
//aj

On 5/21/07, *Bob Arnson* [EMAIL PROTECTED] wrote:

Aaron Shurts wrote:
 I decided to go with v3 because I didn't feel like re-writing all the
 deprecated tags when v3 is released.  I think we have a fix for it in
 the meantime, but it sure would be nice if the fixes were propagated
 in to the v3 code branch.

Check the latest weekly release:

 RobMen: Reverse integrate WiX v2 CustomAction fixes.

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





ERSServer.sql
Description: Binary data
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with SQL custom actions.

2007-05-22 Thread Aaron Shurts

This is actually good news.  I thought I was doing something crazy wrong.
:-)

On a side note, if I want to build this myself, every time I try to open the
solution, I get all kinds of errors that the project files are not valid
project files.  Is there something I am missing?

Regards,
//aj

On 5/22/07, Mike Dimmick [EMAIL PROTECTED] wrote:


 Actually, it looks like you changed the name of the entry point to
InstallSqlData and added an UninstallSqlData, but did not change
src\ext\SqlExtension\wixlib\SqlExtension.wxs. You did change
src\ca\serverca\scawixlib\sca.wxs, but I don't think that file is used any
more in WiX v3.



Sorry, guys, looks like WiX 3.0.2921.0 isn't going to work for anyone who
needs the SQL features, unless you modify SqlExtension.wxs and build WiX
yourself.



--

Mike Dimmick


 --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Mike Dimmick
*Sent:* 23 May 2007 00:06
*To:* 'Rob Mensching'; 'Aaron Shurts'; 'Bob Arnson'
*Cc:* wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Problem with SQL custom actions.



Something got broken in the build process: ConfigureSql is not exported
from the CA DLL contained in WixSqlExtension.dll.



--

Mike Dimmick


 --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Rob Mensching
*Sent:* 22 May 2007 18:48
*To:* Aaron Shurts; Bob Arnson
*Cc:* Mike Dimmick; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Problem with SQL custom actions.



That was a huge integration last week.  It is possible that you've found a
bug in the integration (or even scarier a bug that wasn't fixed in WiX v2
either).  Is it possible to share the .wxs and SQL script?  The last bugs
we've fixed have all been edge cases where the SQL Script had to be set just
so.  Difficult to review.



*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Aaron Shurts
*Sent:* Tuesday, May 22, 2007 9:55 AM
*To:* Bob Arnson
*Cc:* Mike Dimmick; wix-users@lists.sourceforge.net
*Subject:* Re: [WiX-users] Problem with SQL custom actions.



Maybe I am grasping at straws trying to get this v3 to work, but the
latest weekly release (3.0.2921.0) doesn't even get in to the custom
action DLL.  Now I am getting this:
MSI (s) (FC:3C) [09:35:15:234]: Doing action: ConfigureSql
Action 9:35:15: ConfigureSql. Configuring SQL Server
Action start 9:35:15: ConfigureSql.
MSI (s) (FC:E4) [09:35:15:250]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI10D.tmp, Entrypoint: ConfigureSql
MSI (s) (FC:3C) [09:35:15:312]: Note: 1: 1723 2: ConfigureSql 3:
ConfigureSql 4: C:\WINDOWS\Installer\MSI10D.tmp
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp
MSI (s) (FC:3C) [09:35:16:531]: Product: Enterprise Reporting Server --
Error 1723.There is a problem with this Windows Installer package. A DLL
required for this install to complete could not be run. Contact your support
personnel or package vendor.  Action ConfigureSql, entry: ConfigureSql,
library: C:\WINDOWS\Installer\MSI10D.tmp

Action ended 9:35:16: ConfigureSql. Return value 3.

Any thoughts / suggestions?  The DLL is actually in the binary table, so
it's not a matter of the DLL missing.
Regards,
//aj

On 5/21/07, *Bob Arnson* [EMAIL PROTECTED] wrote:

Aaron Shurts wrote:
 I decided to go with v3 because I didn't feel like re-writing all the
 deprecated tags when v3 is released.  I think we have a fix for it in
 the meantime, but it sure would be nice if the fixes were propagated
 in to the v3 code branch.

Check the latest weekly release:

 RobMen: Reverse integrate WiX v2 CustomAction fixes.

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



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Am I using a property and condition correctly

2007-05-22 Thread Aaron Shurts

Ignore those extra spaces, I don't know where they came from.  :-P
Publish Property=ISWEBBOX Value=TRUE1/Publish

//aj

On 5/22/07, Aaron Shurts [EMAIL PROTECTED] wrote:


The condition on your publish property event appears to be the problem.
If you always want this event to trigger than this text:
Publish Property= ISWEBBOX Value=TRUE TRUE/Publish
should read like this:
 Publish Property = ISWEBBOX Value= TRUE1/ Publish

When you have just TRUE in there.  The installer isn't really checking
against anything so that condition will always evaluate to false.  1 means
run this all the time.

Regards,
//aj

On 5/22/07, Mike Menaker [EMAIL PROTECTED] wrote:

  Hi,

 I'm not sure what I'm doing wrong.



 When one feature is selected it will go to a certain dialog, in this
 dialog I will always set a property to true. And later I will check this
 property in a component.



 Here is what I have in the dialog:

  Control Id = Next Type= PushButton X =236 Y =243 Width
 =56 Height=17 Default=yes Disabled= no Text= $(loc.WixUINext)

Publish Property = ISWEBBOX Value= TRUETRUE/ Publish

Publish Event = NewDialog Value=
 [WixUI_WEBConfigToReadyToInstall_Next]/Publish 

 / Control



 And in the component:

  Component Id =' Comp1' Guid='
 345c09f9-f760-4700-89da-12f1a1cbf08c' KeyPath =yes DiskId=1 

  Condition![CDATA[ (ISWEBBOX = 'FALSE')]]/Condition


 … (I cut out the stuff here, doesn't matter)

 / Component



  Component Id =' Comp2' Guid='
 0BBCE421-BC25-46cc-8A86-3F9EAEF4A839'

Condition![CDATA[ (ISWEBBOX = 'TRUE')]]/Condition
 

CreateFolder /

 … (I cut out the stuff here, doesn't matter)

 /Component 

 Any help would be much appreciated!



 Thanks,

 Mike


 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Customizing dialogs

2007-05-22 Thread Aaron Shurts

I always create my own based off of the Mondo file, but I would assume you
should be able to use the DialogRef tag to overwrite/alter the elements that
you wish.  Someone correct me if I am wrong.

Regards,
//aj

On 5/22/07, Kevin Fischer [EMAIL PROTECTED] wrote:


I'm currently using the WixUI_InstallDir dialog set for my install UI.

I need to make several minor changes to the stock dialogs including:
1) removing specific icons from dialogs
2) using different text for a few of the controls
3) removing controls and changing their behavior

I know I can change text (#2) by using a new localization file.

Are the other items possible without copying the entire UI source code
into my project?  I was unable to figure out how to do #1 or #2 without
doing that.

I know about inserting/removing dialogs into the sequence, but I would end
up defining replacements for most of the core dialogs if I did that.

Thanks,
Kevin



--
Change is good. See what's different about Windows Live Hotmail. Check it
out!http://www.windowslive-hotmail.com/learnmore/default.html?locale=en-usocid=RMT_TAGLM_HMWL_reten_changegood_0507

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problem with SQL custom actions.

2007-05-21 Thread Aaron Shurts

Hey all,
I am having a problem with SQL custom actions.  This is what I am getting in
the log:
MSI (s) (9C:C0) [10:10:21:781]: Doing action: ConfigureSql
Action 10:10:21: ConfigureSql. Configuring SQL Server
Action start 10:10:21: ConfigureSql.
MSI (s) (9C:98) [10:10:21:796]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSIF9.tmp, Entrypoint: ConfigureSql
ConfigureSql:  Error 0x80070057: Failed to allocate WCHAR string of size
'640923'
ConfigureSql:  Error 0x80070057: failed to read SqlScripts table
Action ended 10:10:21: ConfigureSql. Return value 3.

This is a snippet of my project file:
Include xmlns=http://schemas.microsoft.com/wix/2006/wi;
xmlns:sql=http://schemas.microsoft.com/wix/SqlExtension;
xmlns:iis=http://schemas.microsoft.com/wix/IIsExtension;
xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;

Binary Id=Sql_ServerInstall
SourceFile=Components\Data\ERS\Database\ERSServer.sql /
!--Execute SQL Scripts--
 sql:SqlDatabase Id=LocalDbServer Server=[SQLSERVER] Database=master
/
 !--Server--
 DirectoryRef Id=INSTALLDIR
   Component Id=SqlErsServerInstall
Guid=da6e0c89-2cfd-4bf4-92ae-40c8568bfd83 KeyPath=no
 sql:SqlScript Id=InstallBaseScript
   SqlDb=LocalDbServer
   BinaryKey=Sql_ServerInstall
   ContinueOnError=no
   ExecuteOnInstall=yes /
 Condition![CDATA[NOT ERS_VERSION]]/Condition
   /Component
 /DirectoryRef

A search on Google did not bring up any useful information.  My target
machine is Server 2003 SP2 Standard and Enterprise with SQL Express /
Enterprise SP2.  The result is the same on both machines.
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with SQL custom actions.

2007-05-21 Thread Aaron Shurts

Thanks for the reply Mike.  I am using version 3.0.2911.0.  A colleague of
mine pointed out what the problem might be on the bug tracker, but
apparently the fix hasn't been pushed up to v3 yet.
http://sourceforge.net/tracker/index.php?func=detailaid=1653864group_id=105970atid=642714

I decided to go with v3 because I didn't feel like re-writing all the
deprecated tags when v3 is released.  I think we have a fix for it in the
meantime, but it sure would be nice if the fixes were propagated in to the
v3 code branch.

btw...that is an l*v log, not much happening there.  :-)

//aj

On 5/21/07, Mike Dimmick [EMAIL PROTECTED] wrote:


 What exact version of the WiX toolset are you using? E.g. what does the
light.exe banner say?



Is your script in ANSI or Unicode text?



640KB is a fairly large script, but there should be plenty of virtual
address space in the custom action worker process to allocate that much
memory, unless there's a phenomenally small amount of space left in the page
file. Error code 0x80070057 maps to ERROR_INVALID_PARAMETER, The parameter
is incorrect, which isn't a normal error code for a memory allocation
failure.



You may get more data that's useful for debugging by turning on verbose
logging (msiexec /l*v).



--

Mike Dimmick


 --

*From:* [EMAIL PROTECTED] [mailto:
[EMAIL PROTECTED] *On Behalf Of *Aaron Shurts
*Sent:* 21 May 2007 19:43
*To:* wix-users@lists.sourceforge.net
*Subject:* [WiX-users] Problem with SQL custom actions.



Hey all,
I am having a problem with SQL custom actions.  This is what I am getting
in the log:
MSI (s) (9C:C0) [10:10:21:781]: Doing action: ConfigureSql
Action 10:10:21: ConfigureSql. Configuring SQL Server
Action start 10:10:21: ConfigureSql.
MSI (s) (9C:98) [10:10:21:796]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSIF9.tmp, Entrypoint: ConfigureSql
ConfigureSql:  Error 0x80070057: Failed to allocate WCHAR string of size
'640923'
ConfigureSql:  Error 0x80070057: failed to read SqlScripts table
Action ended 10:10:21: ConfigureSql. Return value 3.

This is a snippet of my project file:
Include xmlns= http://schemas.microsoft.com/wix/2006/wi;
 xmlns:sql=http://schemas.microsoft.com/wix/SqlExtension;
 xmlns:iis= http://schemas.microsoft.com/wix/IIsExtension;
 xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;

Binary Id=Sql_ServerInstall
SourceFile=Components\Data\ERS\Database\ERSServer.sql /
!--Execute SQL Scripts--
  sql:SqlDatabase Id=LocalDbServer Server=[SQLSERVER]
Database=master /
  !--Server--
  DirectoryRef Id=INSTALLDIR
Component Id=SqlErsServerInstall
Guid=da6e0c89-2cfd-4bf4-92ae-40c8568bfd83 KeyPath=no
  sql:SqlScript Id=InstallBaseScript
SqlDb=LocalDbServer
BinaryKey=Sql_ServerInstall
ContinueOnError=no
ExecuteOnInstall=yes /
  Condition![CDATA[NOT ERS_VERSION]]/Condition
/Component
  /DirectoryRef

A search on Google did not bring up any useful information.  My target
machine is Server 2003 SP2 Standard and Enterprise with SQL Express /
Enterprise SP2.  The result is the same on both machines.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How do you copy a folder along with its files and subdirectories.

2007-05-21 Thread Aaron Shurts

Can you clarify your question?  Are you asking how to reference a directory
and all its contents at build time for compilation in to your MSI or are you
asking how to copy the contents of a directory on the target machine at
install time?

Regards,
//aj

On 5/21/07, Sreenivasa Rao Ramisetty (Satyam Computer Services) 
[EMAIL PROTECTED] wrote:


 Hi,



Can anyone provide me a simple way of copying a folder and its contents
including its subdirectories in wix. Do I need to use CreateFolder and
Copyfile for each file and directory?



Thanks

Sreenivas.

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users