Re: [WiX-users] Installing multiple MSI

2009-04-28 Thread Markus Ewald
On 27.04.2009 18:24, Raja, Moiz (Moiz) wrote:
 Hi All,

 When I install my program I present checkbox to install an optional
 feature. If the user selects that checkbox then I need to install
 another MSI. I understand that a bootstrapper is required to do this
 type of installation. Any suggestions on 3rdparty bootstrappers that may
 be available that I can use for this purpose or do I need to write the
 bootstrapper myself.

 If anyone has ideas on how I can achieve my goal without using a
 bootstrapper are also welcome.

I have done this without a Bootstrapper. Check out 
http://www.codeplex.com/xnainstaller, it is a simple .msi file that will 
extract another .msi during install and install it as well. Complete 
source code to the Custom Action used for that can be downloaded as well.

The limitation of only one Windows Installer working at the same time 
(through a global semaphore) relates to the deferred part of the 
installation process. As long as the wizard GUI is displayed, the 
semaphore has not been entered and other installers can be executed.

So I simply used an immediate mode Custom Action that extracts the other 
.msi and installs it. If that install fails, the installer can be 
aborted using a negative return from the Custom Action and if it 
succeeds, the installer will let the user continue and install the 
actual product.


 Thanks,
 -Moiz
-Markus-

--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] all users and administrator installation

2009-04-28 Thread Tency Kuruvilla
hi..
  anybody can provide me the sample code for all users and administrator 
installation.
 also is et the background and banner images for the installer.but it's 
dimensions are not working properly according to the help file.
how to create shortcut in desktop with the application icon.i tried it.but it's 
conflicting with the startmenu shortcut.
 thanks and regards
tency
--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] database drop during uninstallation

2009-04-28 Thread Mark Sinnathamby
Hi,
In my Wix installation, I've got a couple of executables, some windows services 
and a database. For creating the database, I use a custom dialog which gets the 
username, password and database name into properties, and these properties are 
used during the database component installation. But when I try to uninstall, 
with the 'DropOnUninstall' option set to yes, I receive an sql server error. I 
believe this is due to the fact that the DB credentials collected during 
installation is not persisted anywhere. Where can I save the credentials in 
order to use them for dropping the database during uninstallation?
Thanks,
Mark.

--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] run from source feature /component

2009-04-28 Thread sam desilva
I've got a setup with 2 features,  and option is  run from source
and corresponding component also set Run from source.

Component Id=Component_one Guid =ABA305CB-4C75-4a64-9963-115C2B1E82D8
DiskId=1  Location=source

File Id=textfileid Name=ReadMe.txt  DiskId=1
Source=E:\Drive E\JANUARY01012009\220109\Meeting
Sample\WixProjectFive\Files\ReadMe.txt Vital=yes
/File


Feature Id=ProductFeature_one Title=WixProjectFive_FeatureOne Level=1
InstallDefault=source 
  ComponentRef Id=Component_one/

 /Feature

to run it from the source the files are actually installed locally.

So two questions:

1. How can I make a feature offer the option to run from source (or prevent
a feature from doing so)?

2. Why does it still install the feature locally? Is it because the default
destination is INSTALLDIR? Do I need to set the destination to some other
property which is set to INSTALLDIR initially? If I do that then how do I
keep the other propery in synch with INSTALLDIR when the user actually does
want to install locally?
please help with example...
--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Turn off licence in UI

2009-04-28 Thread Mike Scott
I tried this but couldn't get it to work.

I understand everything up to:

Then just include you new WixUI_Mondo.wxs in your project ...

I suppose I don't understand enough about using fragments.

I assume I have to pass the custom UI .wxs file to candle and then its
.wixobj file to light, but when I do get:

error LGHT0094 : Unresolved reference to symbol
'WixUI:WixUI_InstallDirNoLicense' in section 'Product:{5A0E9340-D3E6-
1960-4EDF-9113801AB533}'.

Though both object files are on the command line the linker doesn't seem
to be able to connect the UIRef with the fragment defining it.

I've tried googling and reading the tutorial and I'm confused. 

Can anyone help?


-Original Message-
From: Brian Bakkebo [mailto:bbakk...@gmail.com] 
Sent: 23 April 2009 14:56
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Turn off licence in UI

I think this is pretty good for a how to by Neil  Sleighthom..
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html

Med vennlig hilsen /Regards
Brian




2009/4/23 Mike Scott mike.sc...@bbc.co.uk

 Sorry if this has been asked before, but is there a way not to display

 the licence agreement when using WixUI?

 http://www.bbc.co.uk/
 This e-mail (and any attachments) is confidential and may contain 
 personal views which are not the views of the BBC unless specifically
stated.
 If you have received it in error, please delete it from your system.
 Do not use, copy or disclose the information in any way nor act in 
 reliance on it and notify the sender immediately.
 Please note that the BBC monitors e-mails sent or received.
 Further communication will signify your consent to this.


 --
  Stay on top of everything new and different, both inside and 
 around Java (TM) technology - register by April 22, and save $200 on 
 the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
 300 plus technical and hands-on sessions. Register today.
 Use priority code J9JMT32. http://p.sf.net/sfu/p 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Stay on top of everything new and different, both inside and around Java
(TM) technology - register by April 22, and save $200 on the JavaOne
(SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Feature condition

2009-04-28 Thread MYFLEX

I have multiple feature in my installer. based on a registry key values, i
want to show the levels of the feature. like selected for installation and
uninstallation. how to set the feature level at dynamically based on the
registry values? I want to write a vbscript custom action. Please tell me
how can i set the feature level in vbscript.
-- 
View this message in context: 
http://n2.nabble.com/Feature-condition-tp2732920p2732920.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wrong Assembly version in MsiAssemblyName table after

2009-04-28 Thread Bob Arnson
Dov Kleinman wrote:
 Well, I've tried both 3.0.5217.0 and 3.0.5224.0. Still the same.
 Any idea?
   

It appears to be by design, based on this comment in the code:

// there is a bug in fusion that requires the assembly's version attribute
// to be equal to or longer than the fileVersion in length when its 
present;
// the workaround is to prepend zeroes to the last version number in the 
assembly version

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



--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Turn off licence in UI

2009-04-28 Thread Bob Arnson
Mike Scott wrote:
 error LGHT0094 : Unresolved reference to symbol
 'WixUI:WixUI_InstallDirNoLicense' in section 'Product:{5A0E9340-D3E6-
 1960-4EDF-9113801AB533}'.
   

How are you defining your set fragment? (Are you using WiX v2 for this? 
Neil's instructions apply to v3.)

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



--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] uninstalling certificates

2009-04-28 Thread Bob Arnson
Kalev Lember wrote:
 I am having some trouble uninstalling certificates using IIsExtension.
   

There have been a lot of certificate bug fixes recently; which version 
of WiX are you using?

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



--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] database drop during uninstallation

2009-04-28 Thread Bob Arnson
Mark Sinnathamby wrote:
 Where can I save the credentials in order to use them for dropping the 
 database during uninstallation?
   

You need to use DPAPI or some other secure storage approach.

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



--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wrong Assembly version in MsiAssemblyName table after

2009-04-28 Thread Dov Kleinman
Bob Arnson wrote:

Sounds familiar -- try upgrading to the RC2 release for a fix.


Well, I've tried both 3.0.5217.0 and 3.0.5224.0. Still the same.
Any idea?

Thanks,
Dov




--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] uninstalling certificates

2009-04-28 Thread Kalev Lember
Hello,

I am having some trouble uninstalling certificates using IIsExtension.
On one machine the certificates seem to install and uninstall fine, but
on another Windows XP machine UninstallCertificates action fails. I
guess it might be related to the fact that on the machine where
uninstall fails, I already had those certificates in certificate store
before installing this MSI.

Am I doing something wrong here that makes uninstall sometimes fail or
is it a wix bug?


The wxs file looks like this:
Component Id=ESTEID_SK
Guid=E5F232A1-A6CD-449B-B3BD-3DA7111DAC65 KeyPath=yes
iis:Certificate Id=ESTEID_SK
 Name=ESTEID_SK
 Request=no
 StoreLocation=localMachine
 StoreName=ca
 Overwrite=yes
 BinaryKey=ESTEID_SK
 /
/Component

... and more similar component tags

/DirectoryRef
...
Binary Id=ESTEID_SK_2007
SourceFile=$(var.CertSourceDir)\ESTEID-SK 2007.PEM.cer /
... more binary tags
/Fragment


And here's a snippet from uninstall log captured using msiexec /x /l*vx:

=== Verbose logging started: 28.04.2009  12:42:23  Build type: SHIP
UNICODE 3.01.4001.5512 
snip

Some of the certificates seem to uninstall fine:

Action start 12:42:50: DeleteMachineCertificate.
MSI (s) (FC!E4) [12:42:50:916]: Closing MSIHANDLE (13) of type 790531
for thread 3300
MSI (s) (FC!E4) [12:42:50:916]: Creating MSIHANDLE (17) of type 790531
for thread 3300
MSI (s) (FC!E4) [12:42:50:932]: Creating MSIHANDLE (18) of type 790531
for thread 3300
MSI (s) (FC!E4) [12:42:50:932]: Closing MSIHANDLE (18) of type 790531
for thread 3300
MSI (s) (FC!E4) [12:42:50:932]: PROPERTY CHANGE: Modifying
RollbackDeleteMachineCertificate property. Its current value is
'ESTEID_SK_2007€CA€2€]5bomCYv-f{GUC!wbL4;LejM4pAFS2w8-Wy9_e[%g:lzEdY10,:R7/SQ[WQ)Ig/+,xbztIwT0x3,8lZ(l*[|!EZe.+8T%q4K[E|%6Fa7(;@KjBu33kL(,KtI-z'ZH-Y2uI21R,MXQzu4~CLz%/]K|!Wu6eM8(ChB+?WL,yc5R4CS,o4Gg]N506_6)M:!*7Kvpk5DJkn4?EFs4t|uy%2yGy%t;G;;x~DE/2VEI%JDJx9Tg+XH1GlwH1|T[H)(%3K(GcZHE?6.MPB?9)2VEI%9Ka4;_[cV?7OlN4FMLCCPyQT)Z6!@;3JAhBKkaQ4B0[qQ0}?9):R7/SQ[WQ)-_e[%YJ5Q!?4YqQd?clQo2Y3vEkQE3E:~Ubx{9qhcdj[NP|NT.iAgXWUC6~Gq5ghiW2;!j...@uu~'q0k(tg7HK57Uu:sf2']-n3cn.7f...@re{c*.}h}i!sgwo.9sn[ji^wfey)g}4!2/ij...@wwu;c...@]:x...@]d{vg'+Vva7l%[,)CkU71|U1td1^)gCCWnkO'^-nGZ8,xOMHSA,m(SrK6+5Rp5^peB'6(B;0.4ew:UX;y/2/O?vK*!Z~M[4xnGfVfU.J1||;+W_kooonFJO?iq*!U9/-H-;gmYvSx'4vmJhB~D,nvBAYg;ihqm%Eq0VS40oEjOP~%io7k?:D4c!*1CC!qf!^4-ixq*N5CL.:1L{{lB(~%)@r{!itYW)N5CL.61L{{2X{_!3nQN5N5CL.RE!Q4KRBP[DL_.SF5KLM.H'34iTKy3Ek2TH:kyjLLas/Ja66:4CX9x3EltW4PMLCC,+-g,X{(Z+C4h|;?ETKb]pWY9A-0jK;?'8g%l[|!WNlA%I5-3?X1%9Ut6jCQFiONZBU^P[w7nX4pAFS2w8-Wy9_e[%^~klQMi2:0TUr1sIpe|e'(T34qj%,|jUD.{_ZiR/rF|MDVRu?7s/O:e
MSI (s) (FC!E4) [12:42:50:932]: Creating MSIHANDLE (19) of type 790531
for thread 3300
Action ended 12:42:50: DeleteMachineCertificate. Return value 1.
MSI (s) (FC!E4) [12:42:50:947]: Closing MSIHANDLE (19) of type 790531
for thread 3300
MSI (s) (FC!E4) [12:42:50:947]: Doing action:
RollbackDeleteMachineCertificate
MSI (s) (FC!E4) [12:42:50:947]: Note: 1: 2205 2:  3: ActionText
Action start 12:42:50: RollbackDeleteMachineCertificate.
MSI (s) (FC!E4) [12:42:50:994]: PROPERTY CHANGE: Modifying
DeleteMachineCertificate property. Its current value is
'ESTEID_SK_2007€CA€2'. Its new value: 'ESTEID_SK€CA€2'.
MSI (s) (FC!E4) [12:42:50:994]: Creating MSIHANDLE (20) of type 790531
for thread 3300
Action ended 12:42:50: RollbackDeleteMachineCertificate. Return value 1.
MSI (s) (FC!E4) [12:42:51:010]: Closing MSIHANDLE (20) of type 790531
for thread 3300
MSI (s) (FC!E4) [12:42:51:010]: Doing action: DeleteMachineCertificate
MSI (s) (FC!E4) [12:42:51:010]: Note: 1: 2205 2:  3: ActionText


But this one fails:

Action start 12:42:51: DeleteMachineCertificate.
MSI (s) (FC!E4) [12:42:51:057]: Closing MSIHANDLE (17) of type 790531
for thread 3300
MSI (s) (FC!E4) [12:42:51:057]: Creating MSIHANDLE (21) of type 790531
for thread 3300
MSI (s) (FC!E4) [12:42:51:057]: Creating MSIHANDLE (22) of type 790531
for thread 3300
MSI (s) (FC!E4) [12:42:51:057]: Closing MSIHANDLE (22) of type 790531
for thread 3300
MSI (s) (FC:50) [12:42:51:135]: Leaked MSIHANDLE (21) of type 790531 for
thread 3300
MSI (s) (FC:50) [12:42:51:135]: Closing MSIHANDLE (21) of type 790531
for thread 3300
MSI (s) (FC:50) [12:42:51:135]: Leaked MSIHANDLE (4) of type 790540 for
thread 3300
MSI (s) (FC:50) [12:42:51:135]: Closing MSIHANDLE (4) of type 790540 for
thread 3300
MSI (s) (FC:50) [12:42:51:135]: Leaked MSIHANDLE (2) of type 790541 for
thread 3300
MSI (s) (FC:50) [12:42:51:135]: Closing MSIHANDLE (2) of type 790541 for
thread 3300
MSI (s) (FC:50) [12:42:51:135]: Note: 1: 2769 2: UninstallCertificates 3: 3
MSI (s) (FC:50) [12:42:51:135]: Note: 1: 2205 2:  3: Error
MSI (s) (FC:50) [12:42:51:135]: Note: 1: 

[WiX-users] Version comparision

2009-04-28 Thread Hukumchand Shah
Hi All,

I am comparing two versions strings in wix.
like in below code where INSTALLED_PRODUCTVERSION = previous installed
version and CURRENTVERSION = current version of the product.

Condition Message=Error
msg![CDATA[INSTALLED_PRODUCTVERSIONCURRENTVERSION]] OR
![CDATA[INSTALLED_PRODUCTVERSION=CURRENTVERSION]]/Condition

But it works fine from 5.0.0 to 5.0.9 but when if
INSTALLED_PRODUCTVERSION = 5.0.9 and
CURRENTVERSION  = 5.0.10
then it says 5.0.9 is greater than 5.0.10

I want to compare version same like number not like string.
Can anyone help me out here?

Thanks,
Hukum
--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Turn off licence in UI

2009-04-28 Thread Mike Scott
I'm using wix3.0.5217.0-binaries with a modified version of
WixUI_InstallDir.wxs from wix3.0.5217.0-sources which I've saved as
WixUI_InstallDirNoLicense.wxs.

---
MyApp-1.0.wxs looks like this:

?xml version=1.0 encoding=utf-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
Product Name=MyApp Id=5A0E9340-D3E6-1960-4EDF-9113801AB533
Version=1.0 Manufacturer=BBC Language=1033
UpgradeCode=F10D419E-03EB-EE79-6203-B1F4E6C6EAE9
Package Id=* Description=Windows Installer package
Compressed=yes/
Property Id=ALLUSERS Value=1/
Property Id=WIXUI_INSTALLDIR Value=MYAPP_RENAMED1/
Media Id=1 EmbedCab=yes Cabinet=Cabinet1.cab/
Directory Id=TARGETDIR Name=SourceDir
Directory Id=MYAPP_RENAMED1 Name=MyApp-Renamed
FileSource=D:\TEMP\NEWSi-WiX-Tool\MyApp
Component Id=MyApp1
Guid=59DA4F1B-C120-1C6E-4C01-03002B46902F
File Id=ReadMe.txt1 Name=ReadMe.txt DiskId=1
KeyPath=yes/
/Component
/Directory
/Directory
Feature Id=Feature1 Level=1
ComponentRef Id=MyApp1/
/Feature
Upgrade Id=F10D419E-03EB-EE79-6203-B1F4E6C6EAE9
UpgradeVersion IncludeMinimum=yes Minimum=0.0.0
Property=BBCNEWS/
/Upgrade
InstallExecuteSequence
RemoveExistingProducts After=InstallFinalize/
/InstallExecuteSequence
UIRef Id=WixUI_InstallDirNoLicense/
/Product
/Wix

---

I'm linking like this:

D:\Temp\NEWSi-WiX-Toolcandle.exe MyApp-1.0.wxs
WixUI_InstallDirNoLicense.wxs
Microsoft (R) Windows Installer Xml Compiler version 3.0.5217.0
Copyright (C) Microsoft Corporation. All rights reserved.

MyApp-1.0.wxs
WixUI_InstallDirNoLicense.wxs

D:\Temp\NEWSi-WiX-Toollight.exe -ext WixUIExtension -cultures:en-us
MyApp-1.0.wixobj WixUI_InstallDirNoLicense.wixobj -out MyApp-1.0.msi
Microsoft (R) Windows Installer Xml Linker version 3.0.5217.0
Copyright (C) Microsoft Corporation. All rights reserved.

D:\Temp\NEWSi-WiX-Tool\MyApp-1.0.wxs(24) : error LGHT0094 : Unresolved
reference to symbol 'WixUI:WixUI_InstallDirNoLicense' in section
'Product:{5A0E9340-D3E6-1960-4EDF-9113801AB533}'.

---

WixUI_InstallDirNoLicense.wxs looks like this:

?xml version=1.0 encoding=UTF-8?

!--
Copyright (c) Microsoft Corporation.  All rights reserved.

The use and distribution terms for this software are covered by the
Common Public License 1.0 (http://opensource.org/licenses/cpl.php)
which can be found in the file CPL.TXT at the root of this
distribution.
By using this software in any fashion, you are agreeing to be bound
by
the terms of this license.

You must not remove this notice, or any other, from this software.
--
!--
First-time install dialog sequence:  Maintenance dialog sequence:
 - WixUI_WelcomeDlg - WixUI_MaintenanceWelcomeDlg
 - WixUI_LicenseAgreementDlg- WixUI_MaintenanceTypeDlg
 - WixUI_InstallDirDlg- WixUI_InstallDirDlg
   - WixUI_VerifyReadyDlg - WixUI_VerifyReadyDlg
   - WixUI_DiskCostDlg
--

Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
Fragment
UI Id=WixUI_InstallDirNoLicence
TextStyle Id=WixUI_Font_Normal FaceName=Tahoma Size=8
/
TextStyle Id=WixUI_Font_Bigger FaceName=Tahoma
Size=12 /
TextStyle Id=WixUI_Font_Title FaceName=Tahoma Size=9
Bold=yes /

Property Id=DefaultUIFont Value=WixUI_Font_Normal /
Property Id=WixUI_Mode Value=InstallDir /

DialogRef Id=BrowseDlg /
DialogRef Id=DiskCostDlg /
DialogRef Id=ErrorDlg /
DialogRef Id=FatalError /
DialogRef Id=FilesInUse /
DialogRef Id=MsiRMFilesInUse /
DialogRef Id=PrepareDlg /
DialogRef Id=ProgressDlg /
DialogRef Id=ResumeDlg /
DialogRef Id=UserExit /

Publish Dialog=BrowseDlg Control=OK Event=DoAction
Value=WixUIValidatePath Order=31/Publish
Publish Dialog=BrowseDlg Control=OK Event=SpawnDialog
Value=InvalidDirDlg
Order=4![CDATA[WIXUI_INSTALLDIR_VALID1]]/Publish

Publish Dialog=ExitDialog Control=Finish
Event=EndDialog Value=Return Order=9991/Publish

Publish Dialog=WelcomeDlg Control=Next
Event=NewDialog Value=InstallDirDlg1/Publish

Publish Dialog=InstallDirDlg Control=Back
Event=NewDialog Value=WelcomeDlg1/Publish
Publish Dialog=InstallDirDlg Control=Next
Event=SetTargetPath Value=[WIXUI_INSTALLDIR] Order=11/Publish
Publish Dialog=InstallDirDlg Control=Next
Event=DoAction Value=WixUIValidatePath Order=21/Publish
Publish Dialog=InstallDirDlg Control=Next
Event=SpawnDialog Value=InvalidDirDlg

[WiX-users] Wix - Install dll that needs to be used by the setup process ?

2009-04-28 Thread Connatic

Hi i have a Wix project which is mainly working fine however i have a
problem.

How do i get Wix to Install  register a dll so that it can be used by the
msi in the setup process ?

The full problem;

I have a custom action which calls a vb script file, this vb script file
calls a dll with a FindWindow API in it. 

The VB Script and FindWindow code basically are there to create a Browse
function (and set it modal of the calling app, so it doesn't appear behind
it) that allows you to browse Network Places as this is for a server install
path (as the one in Wix doesn't work for network places).

Any help on this would be appreciated

Thanks



-- 
View this message in context: 
http://n2.nabble.com/Wix---Install-dll-that-needs-to-be-used-by-the-setup-process---tp278p278.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Turn off licence in UI

2009-04-28 Thread Bob Arnson
Mike Scott wrote:
 UIRef Id=WixUI_InstallDirNoLicense/
   
...
 UI Id=WixUI_InstallDirNoLicence
   

You should standardize on proper American spelling.g

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


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Version comparision

2009-04-28 Thread Bob Arnson
Hukumchand Shah wrote:
 I am comparing two versions strings in wix.
   

MSI doesn't support that. Instead, use features like MinVersion of 
Upgrade/UpgradeVersion to find only the versions you're interested in.

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


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Turn off licence in UI

2009-04-28 Thread Mike Scott
LOL

I genuflect in admiration.


-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: 28 April 2009 14:14
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Turn off licence in UI

Mike Scott wrote:
 UIRef Id=WixUI_InstallDirNoLicense/
   
...
 UI Id=WixUI_InstallDirNoLicence
   

You should standardize on proper American spelling.g

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



--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

http://www.bbc.co.uk/
This e-mail (and any attachments) is confidential and may contain personal 
views which are not the views of the BBC unless specifically stated.
If you have received it in error, please delete it from your system.
Do not use, copy or disclose the information in any way nor act in reliance on 
it and notify the sender immediately.
Please note that the BBC monitors e-mails sent or received.
Further communication will signify your consent to this.


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] uninstalling certificates

2009-04-28 Thread Kalev Lember
Bob Arnson wrote:
 Kalev Lember wrote:
   
 I am having some trouble uninstalling certificates using IIsExtension.
   
 

 There have been a lot of certificate bug fixes recently; which version 
 of WiX are you using?

The issue still occurs with latest weekly release (3.0.5224).

-- 
Best regards,
Kalev Lember

--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] database drop during uninstallation

2009-04-28 Thread greenaj

The problems:
 
  1) You need collect database SQL login creditentials.
  2) The uninstall from Add/Remove programs (ARP) displays no gui.

The solution I used was to disable the uninstall from ARP, only allowing 
modify.  From modify, there is a Uninstall or Remove All choice.  When 
the user selects Uninstall, collect the credentials and drop the data.

This is not the pretties solution.  But it seems that this is the only way to 
address this problem

Regards,
greenaj

 Mark Sinnathamby mr...@eurocenter.lk wrote: 
 Hi,
 In my Wix installation, I've got a couple of executables, some windows 
 services and a database. For creating the database, I use a custom dialog 
 which gets the username, password and database name into properties, and 
 these properties are used during the database component installation. But 
 when I try to uninstall, with the 'DropOnUninstall' option set to yes, I 
 receive an sql server error. I believe this is due to the fact that the DB 
 credentials collected during installation is not persisted anywhere. Where 
 can I save the credentials in order to use them for dropping the database 
 during uninstallation?
 Thanks,
 Mark.
 
 --
 Register Now  Save for Velocity, the Web Performance  Operations 
 Conference from O'Reilly Media. Velocity features a full day of 
 expert-led, hands-on workshops and two days of sessions from industry 
 leaders in dedicated Performance  Operations tracks. Use code vel09scf 
 and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to disable/bypass FilesInUse dialog

2009-04-28 Thread Jan Bilek
Hello and thanks for your support.

I've managed to get rid off the FilesInUse (i've created own UI and 
defined the FilesInUse dialog with appropriate attributes), but the same 
method doesn't work for MsiRMFilesInUse dialog, which is being displayed 
during the uninstallation without UI.
When i try to define my own version of MsiRMFilesInUse like i've done 
for FilesInUse, then i receive an error message saying than the 
MsiRMFilesInUse dialog is already defined (error LGHT0130: The primary 
key 'MsiRMFilesInUse' is duplicated in table 'Dialog'.). I had commented 
all references to this dialog, but it didn't help.
Do u have tips how to make it done?

Regards,
Jan

Bob Arnson wrote:
 Karthik Krishnan wrote:
   
 It is buried/implied in the documentation, but there is a simpler way. Just
 change the sequencing of the windows. 
 

 That is not a reliable method. See 
 https://sourceforge.net/tracker/?func=detailatid=642714aid=2780533group_id=105970.

   


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to add an extra xmlns

2009-04-28 Thread Brian Kretzler
I'm using a preprocessing ?include? in a wxs file to pull in a wxi file.  
This wxi file contains XmlFile elements which requires using an additional 
xmlns.  i.e.

Include ...
xmlns:util=http://schemas.microsoft.com/wix/UtilExtension
util:XmlFile ...

It turns out that the wxs file also has to have the xmlns:util added to it.  I 
can't find any way to do this using the XML Serialization in 
Microsoft.Tools.WindowsInstallerXml (other than writing my own version of 
Wix.OutputXml).  I tried creating an ISchemaElement that basically did this in 
its OutputXml:

writer.WriteAttributeString(xmlns, util, null, 
http://schemas.microsoft.com/wix/UtilExtension;);

But when I try to use Wix.AddChild I get a runtime failure (seems to not be 
valid for the schema).

Anyone have any clue how to go about adding this namespace into my wxs file?


---
This email message is for the sole use of the intended recipient(s) and may 
contain
confidential information.  Any unauthorized review, use, disclosure or 
distribution
is prohibited.  If you are not the intended recipient, please contact the 
sender by
reply email and destroy all copies of the original message.
---
--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Major Upgrade: some files are randomly not installed

2009-04-28 Thread little.forest
Hi Phil,

Thank you for your reply.

I did try RemoveExistingProducts after InstallInitialize. It didn't work. I 
mean, old product was removed, but some files were not installed - because of 
version things.

What we need is really simple - we just need the down-grade working. We 
surely would like to increase the file version number for each release as long 
as down-grade working. The reason for that is, as what I posted in previous 
thread:
some times we may put an older but working build in our provisioning server 
to urge the user to Downgrade the current but not working build.
 
All we need is, this down-grade happens silently without any user 
involvement. 

The problem now is, say, we have two builds: Build1 and Build2. From 
Build1-Build2, it's okay. But from Build2-Build1, we'll get a broken build 
because the file versions. I know we can add a dialog box to stop the users 
doing this - ask them to uninstall the existing build and install another 
build. But we would not like the users to manually install/uninstall the 
builds. So our question is, if we do Major Upgrade and the existing build(in 
this case, it's Build2) is uninstalled entirely, then why bother doing file 
comparison? Why don't just install Build1 anyways in this case? Sure, the files 
in Build1 are not compatible with those in Build2. But all files in Build1 are 
compatible each other. If they can be installed just like a normal stand-alone 
installation, then things will be just fine. I'm just wondering why this is not 
supported.

I agree with you, Version Lying is not a good idea. But I might guess the 
reason why they do this.

Anyways, it's not that a big deal to know that down-grade isn't fully 
supported. The important thing is that we know this fact. We'll change our code 
accordingly. We'll either keep the file versions are the same all the time, or 
increase file versions but don't support down-grade anymore. 

Thanks again,
/Brian




From: Wilson, Phil phil.wil...@wonderware.com
To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Sent: Monday, April 27, 2009 5:18:34 PM
Subject: Re: [WiX-users] Major Upgrade: some files are randomly not installed

Going back to the big picture here, if you have your RemoveExistingProducts 
towards the end of the upgrade then the upgrade will use file update rules to 
decide what to replace.  The upgrade is on top of the existing files, so you 
need to increment file versions to get files updated. 
If you want your upgrade to always remove the old files then sequence 
RemoveExistingProducts early, such as immediately after InstallInitialize.

Version lying is not a good idea, so WiX perhaps decided not to provide it.  
The issue is that the version of the file on disk will never match the version 
in the actual file, so the install is broken, and I don't believe you can 
predict what things like a repair will do in every situation. 

Phil Wilson 



  __
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.
--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] On Team Build and WiX, and why it hates me.

2009-04-28 Thread Christopher Karper
fuslogvw says binding was successful.

Any ideas?

On Sat, Apr 25, 2009 at 11:32 AM, Bob Arnson b...@joyofsetup.com wrote:

 Christopher Karper wrote:
  5.) I build the Installer project using the WixExtension...  I get a
 candle
  error candle.exe(0,0): error CNDL0144: The extension
  '..\..\..\Install\WixExtension\WixExtension\bin\Release\WixExtension.dll'
  could not be loaded.
 

 Use fuslogvw to see why binding failed. If it is a strong-name problem,
 you might need to use sn.exe to add skip-verfication entries like the
 WiX build does.

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




 --
 Crystal Reports #45; New Free Runtime and 30 Day Trial
 Check out the new simplified licensign option that enables unlimited
 royalty#45;free distribution of the report engine for externally facing
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] On Team Build and WiX, and why it hates me.

2009-04-28 Thread Jason Ginchereau
Here's an idea: check the public-key-token of the assembly reference from your 
extension to wix.dll. If you're building the extension against wix.dll with one 
key but then trying to run it with wix.dll with a different key, the assembly 
loading may succeed but the types won't resolve as the same.

-Original Message-
From: Christopher Karper [mailto:christopher.kar...@gmail.com] 
Sent: Tuesday, April 28, 2009 11:56 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] On Team Build and WiX, and why it hates me.

fuslogvw says binding was successful.

Any ideas?

On Sat, Apr 25, 2009 at 11:32 AM, Bob Arnson b...@joyofsetup.com wrote:

 Christopher Karper wrote:
  5.) I build the Installer project using the WixExtension...  I get a
 candle
  error candle.exe(0,0): error CNDL0144: The extension
  '..\..\..\Install\WixExtension\WixExtension\bin\Release\WixExtension.dll'
  could not be loaded.
 

 Use fuslogvw to see why binding failed. If it is a strong-name problem,
 you might need to use sn.exe to add skip-verfication entries like the
 WiX build does.

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




 --
 Crystal Reports #45; New Free Runtime and 30 Day Trial
 Check out the new simplified licensign option that enables unlimited
 royalty#45;free distribution of the report engine for externally facing
 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Major Upgrade: some files are randomly not installed

2009-04-28 Thread Wilson, Phil
Assuming I understand what you're trying to do with the downgrade, sequencing 
RemoveExistingProducts early in one of the documented places (such as after 
InstallInitialize and before any script actions) will accomplish a downgrade.  
That sequencing results in an uninstall of the existing product followed by an 
install of the incoming product. This will downgrade if your Upgrade table 
allows it.  If you have files that are shared with other products they won't be 
uninstalled however. 

Phil Wilson 

-Original Message-
From: little.forest [mailto:little.for...@ymail.com] 
Sent: Tuesday, April 28, 2009 11:16 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Major Upgrade: some files are randomly not installed

Hi Phil,

Thank you for your reply.

I did try RemoveExistingProducts after InstallInitialize. It didn't work. I 
mean, old product was removed, but some files were not installed - because of 
version things.

What we need is really simple - we just need the down-grade working. We 
surely would like to increase the file version number for each release as long 
as down-grade working. The reason for that is, as what I posted in previous 
thread:
some times we may put an older but working build in our provisioning server 
to urge the user to Downgrade the current but not working build.
 
All we need is, this down-grade happens silently without any user 
involvement. 

The problem now is, say, we have two builds: Build1 and Build2. From 
Build1-Build2, it's okay. But from Build2-Build1, we'll get a broken build 
because the file versions. I know we can add a dialog box to stop the users 
doing this - ask them to uninstall the existing build and install another 
build. But we would not like the users to manually install/uninstall the 
builds. So our question is, if we do Major Upgrade and the existing build(in 
this case, it's Build2) is uninstalled entirely, then why bother doing file 
comparison? Why don't just install Build1 anyways in this case? Sure, the files 
in Build1 are not compatible with those in Build2. But all files in Build1 are 
compatible each other. If they can be installed just like a normal stand-alone 
installation, then things will be just fine. I'm just wondering why this is not 
supported.

I agree with you, Version Lying is not a good idea. But I might guess the 
reason why they do this.

Anyways, it's not that a big deal to know that down-grade isn't fully 
supported. The important thing is that we know this fact. We'll change our code 
accordingly. We'll either keep the file versions are the same all the time, or 
increase file versions but don't support down-grade anymore. 

Thanks again,
/Brian




From: Wilson, Phil phil.wil...@wonderware.com
To: General discussion for Windows Installer XML toolset. 
wix-users@lists.sourceforge.net
Sent: Monday, April 27, 2009 5:18:34 PM
Subject: Re: [WiX-users] Major Upgrade: some files are randomly not installed

Going back to the big picture here, if you have your RemoveExistingProducts 
towards the end of the upgrade then the upgrade will use file update rules to 
decide what to replace.  The upgrade is on top of the existing files, so you 
need to increment file versions to get files updated. 
If you want your upgrade to always remove the old files then sequence 
RemoveExistingProducts early, such as immediately after InstallInitialize.

Version lying is not a good idea, so WiX perhaps decided not to provide it.  
The issue is that the version of the file on disk will never match the version 
in the actual file, so the install is broken, and I don't believe you can 
predict what things like a repair will do in every situation. 

Phil Wilson 



  __
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your 
favourite sites. Download it now
http://ca.toolbar.yahoo.com.
--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf

[WiX-users] WiX compiler extension and WiX Lib...

2009-04-28 Thread John Nannenga
Howdy folks;

I'm building a WiX compiler extension.  I've over-ridden 
WixExtension::GetLibrary to return my custom built WiX Lib.

My WiX Lib has the following in it:
Fragment
Binary Id=blah SourceFile=C:\Blah.dll/
/Fragment

When I build an MSI that references my compiler extension, I get the error:
Cannot find the table definitions for the 'Binary' table.  
This is likely due to a typing error or missing extension.  Please ensure all 
the necessary extensions are supplied on the command line with the -ext 
parameter

If I remove Binary Id... and just have an empty fragment in my WiX lib, 
everything builds just fine.  I've been looking at the extensions provided in 
the WiX source, but can't find anything obvious (to me) that is different.

Any thoughts as to what I might be doing wrong or how to debug this?

--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] On Team Build and WiX, and why it hates me.

2009-04-28 Thread Christopher Karper
This is incredibly unstable.

So, this morning, I ran the candle command line shown from votive's output
window myself in a CL window..   And it worked.
So, I restarted VS2008, and rebuilt the project, and that was working too!
So, I tried heading to the build server, and getting fuslogvw to work there,
and trying to run the candle command line directly...  It didn't work there,
but the fuslogvw said it loaded properly.

So, I just reran the candle command line locally, to compare the fuslogvw
outputs, most directly to check the assembly info of the wix dll...   and
it's not working locally again.
WTF.This is all against a static version of my extension.  That file has
not changed at all since April 21st.
Why would it work earlier today, but not work now?   I'm using the same cut
 pasted command line.

Chris

P.S. Thank you guys for the help, I do appreciate it...  I'm *really*
frustrated with what should be a simple task, and it's driving me up a wall
here, so the help is the only thing keeping my computer from going out the
window today.

On Tue, Apr 28, 2009 at 3:01 PM, Jason Ginchereau jason...@microsoft.comwrote:

 Here's an idea: check the public-key-token of the assembly reference from
 your extension to wix.dll. If you're building the extension against wix.dll
 with one key but then trying to run it with wix.dll with a different key,
 the assembly loading may succeed but the types won't resolve as the same.

 -Original Message-
 From: Christopher Karper [mailto:christopher.kar...@gmail.com]
 Sent: Tuesday, April 28, 2009 11:56 AM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] On Team Build and WiX, and why it hates me.

 fuslogvw says binding was successful.

 Any ideas?

 On Sat, Apr 25, 2009 at 11:32 AM, Bob Arnson b...@joyofsetup.com wrote:

  Christopher Karper wrote:
   5.) I build the Installer project using the WixExtension...  I get a
  candle
   error candle.exe(0,0): error CNDL0144: The extension
  
 '..\..\..\Install\WixExtension\WixExtension\bin\Release\WixExtension.dll'
   could not be loaded.
  
 
  Use fuslogvw to see why binding failed. If it is a strong-name problem,
  you might need to use sn.exe to add skip-verfication entries like the
  WiX build does.
 
  --
  sig://boB
  http://joyofsetup.com/
 
 
 
 
 
 --
  Crystal Reports #45; New Free Runtime and 30 Day Trial
  Check out the new simplified licensign option that enables unlimited
  royalty#45;free distribution of the report engine for externally facing
  server and web deployment.
  http://p.sf.net/sfu/businessobjects
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 

 --
 Register Now  Save for Velocity, the Web Performance  Operations
 Conference from O'Reilly Media. Velocity features a full day of
 expert-led, hands-on workshops and two days of sessions from industry
 leaders in dedicated Performance  Operations tracks. Use code vel09scf
 and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



 --
 Register Now  Save for Velocity, the Web Performance  Operations
 Conference from O'Reilly Media. Velocity features a full day of
 expert-led, hands-on workshops and two days of sessions from industry
 leaders in dedicated Performance  Operations tracks. Use code vel09scf
 and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Heat 3.0.4923 vs 3.0.5217 vb6 dll output

2009-04-28 Thread Roy Abou Assaly

I have filed the following bug: 
https://sourceforge.net/tracker/?func=detailatid=642714aid=2783049group_id=105970
and included test cases and the binary where you can reproduce how light is
broken on the COM VB6 WiX output from Heat from version 3.0.4923 to
3.0.5224.

Please let me know if I can be of any help at all.


Roy Abou Assaly wrote:
 
 Sorry.  I'll explain the situation.  I sort of cried wolf in the
 beginning since I used an XSLT to massage my XML after Heat produced the
 XML.  At that point Candle wouldn't compile.  That was my mistake as
 confirmed by Brian and yourself.  I fixed that error.  When it came to
 running Light to produce my merge module, these were my findings:
 
 In 3.0.4923 (my current build setup)
 
 1. Run Heat : OK ($heat dir d:\foo -svb6 -sfrag -suid -gg -our
 PrismShell.wxs)
 2. Run Candle: ERROR:  
 [exec] D:\Builds\PRISM XP\Build 11.51.\Bin\PrismShell.wxs(180)
 : error CNDL0010 : The Class/@Server attribute was not found; it is
 required.
 
 Fixed by running a custom XSLT that added the Class/@Server attribute.
 
 3. Run Light:  OK (PrismShell.msm produced and later incorporated into an
 MSI).
 
 In 3.0.5217 and in 3.0.5224 (I'm trying to upgrade to the latest version
 of WiX)
 
 1. Run Heat: OK ($heat dir d:\foo -svb6 -sfrag -suid -gg -our
 PrismShell.wxs)
 2. Run Candle: OK
 3. Run Light:  Error:
 
  [exec] Microsoft (R) Windows Installer Xml Linker version 3.0.5217.0
  [exec] Copyright (C) Microsoft Corporation. All rights reserved.
  [exec]
  [exec] Updating file information.
  [exec] Creating cabinet files.
  [exec] Creating cabinet
 'C:\Users\assalr\AppData\Local\Temp\fkjhmoud\#MergeModule.CABinet'.
  [exec] Generating database.
  [exec] D:\Builds\PRISM XP\Build 11.51.\Bin\PrismShell.wxs(19) :
 error LGHT0130 : The primary key
 'reg0387C011F3F8A22BDFC14B72466D9C9A.C7AC8538_65ED_4C2B_AE16_6291871D0918'
 is duplicated in table 'Registry'.  Please remove one of the entries or
 rename a part of the primary key to avoid the collision.
 
 The WiX XML that is generating the above error looks like the same that
 you had generated before:
 
 Component Id=DisplayFridayListUI.dll
 Guid={821C19F9-E65C-48D5-BF11-07F593D7839B}
   File Id=DisplayFridayListUI.dll KeyPath=yes
 Source=SourceDir\DisplayFridayListUI.dll
   TypeLib Id={3515D627-3FA0-490F-9330-02A73023E0C0}
 Description=DisplayFridayListUI HelpDirectory=PRISMMsi Language=0
 MajorVersion=1 MinorVersion=0
   Class Id={9AF8DE3E-3FFB-4F1C-AA59-3DBAB1725BB9}
 Context=InprocServer32
 Description=DisplayFridayListUI.CDisplayFridayList
 ThreadingModel=apartment Version=1.0 Programmable=yes
   ProgId 
 Id=DisplayFridayListUI.CDisplayFridayList
 Description=DisplayFridayListUI.CDisplayFridayList /
   /Class
   Interface Id={2D3FD2B6-AF78-4DFD-A5C9-7CE97BC4A594}
 Name=CDisplayFridayList
 ProxyStubClassId={00020424---C000-0046}
 ProxyStubClassId32={00020424---C000-0046} /
   /TypeLib
   /File
   RegistryValue Root=HKCR
 Key=CLSID\{9AF8DE3E-3FFB-4F1C-AA59-3DBAB1725BB9}\Implemented
 Categories\{40FC6ED5-2438-11CF-A3DB-080036F12502} Value= Type=string
 Action=write /
   RegistryValue Root=HKCR
 Key=Interface\{2D3FD2B6-AF78-4DFD-A5C9-7CE97BC4A594}\ProxyStubClsid
 Value={00020424---C000-0046} Type=string
 Action=write /
   RegistryValue Root=HKCR
 Key=Interface\{2D3FD2B6-AF78-4DFD-A5C9-7CE97BC4A594}\ProxyStubClsid32
 Value={00020424---C000-0046} Type=string
 Action=write /
   RegistryValue Root=HKCR
 Key=Interface\{2D3FD2B6-AF78-4DFD-A5C9-7CE97BC4A594}
 Value=_CDisplayFridayList Type=string Action=write /
 /Component
 
 Yes, it compiles, but it's not linking with Light.
 
 This is where I am right now.  Please note that the XML that Heat produces
 in 3.0.4923 is much, much bigger than in 3.0.5217 and 3.0.5224.  Let me
 know if you need me to send you a binary (DisplayFridayListUI.dll) that
 can reproduce this.
 
 If I can't resolve this issue, I'm afraid I will have to stick with
 3.0.4923 as 3.0.5224 has a break that I can't work around.
 
 If anything is unclear, let me know.  Thanks again,
 
 Roy
 
 
 Neil Sleightholm wrote:
 
 I am not sure I understand what you are asking, could you explain?
 
 Neil
 
 -Original Message-
 From: Roy Abou Assaly [mailto:royass...@gmail.com] 
 Sent: 24 April 2009 16:02
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] Heat 3.0.4923 vs 3.0.5217 vb6 dll output
 
 
 Can anyone run light 3.0.5217 on this to confirm this?  The merge module
 simple won't build and that Interface element is indeed needed.
 
 Thanks again.
 
 
 Roy Abou Assaly wrote:
 
 Oh, and one more:
 
 00020420---C000-0046
 
 After that, I was able to build my merge module and link them and
 create
 my MSI which contains 129 vb6 com DLLs and various OCXs.  

Re: [WiX-users] Reference custom directory

2009-04-28 Thread dkijc

Hi Brian,

Thanks alot for the suggestion, however, I think you misunderstood my
question. Or I probably mislead you haha. 

Here is the dilemma. Our company has a server application and my teams'
product will be residing in the same machine. My application talks to the
server to send a playlist that is generated by our application. We (the app)
however get the thumbnails (images that is rendered by another product) from
the server. So basically, you can think of our application as a playlist
generating app but in order to generate the playlist we need the thumbnails
for each item and we fetch the thumbnails from our server.

Our application is a web application so we can deploy it anywhere the user
wants it to. Now, when we created this application, we did not know our
application was going to be deployed on the same machine as the server.
Because of this we were fetching the thumbnails from the server thru a HTTP
request and the server sent the requested thumbnails to our application.
Since, our app is going to be residing in the same machine now, however,
instead of requesting the thumbnails through an HTTP request I was wondering
if I could actually read into a directory where the thumbnails lie in the
server. 

So, what I want to achieve was ask the user if they want to fetch from
server or from the local disk. The reason for even asking (even the 'server'
actually directs the local machine since our app is residing in the server
machine) is because the thumbnails are not always in the same directory and
we have to know where the thumbnails are stored at.

I hope that clears up what I need to do.. haha

Thanks a bunch!! god bless.

-Dk


Brian Bakkebo wrote:
 
 Hi dkijc,
 I think you can do this, but a little unclear about the storing of icons
 somewhere else? Are you actually installing a program also or just icons?
 
 For storing the icons part you have a question in the installer I assume
 and
 it asks to download latest icons or choose a directory?  If user answers
 yes, then go to web and download icons to a folder.  The question is
 wouldnt
 you want to do this after they define the INSTALLDIR in the install?  Then
 you can use this dialog set and modify it:(WixUI_InstallDir does not allow
 the user to choose what features to install, but it adds a dialog to let
 the
 user choose a directory where the product will be installed.)
 
 Therefore you can download the icons right to the install directory and
 reference them there.  If this all sounds ok, then if you already have the
 INSTALLDIR Variable assuming it is set up as the last node directory and
 will look something like this in your .wxs  Directory Id=INSTALLDIR
 Name=YourProgramName.  Then you can reference it as a shortcut for
 example as such:
 Shortcut Id=ApplicationStartMenuShortcut Name=YourProgramNam
 Description=YourProgramNam Target=[INSTALLDIR]YourProgramName.exe
 WorkingDirectory=INSTALLDIR.  Or using it for other things, etc.
 
 Since I am not quite sure about what you want to accomplish it is hard to
 say, but I think this is sort of what you want.
 
 
 
 
 Med vennlig hilsen /Regards
 Brian
 
 
 
 
 2009/4/23 dkijc wwjdat2...@yahoo.com
 

 Hi Pally,

 Thank you so much for your response! That gives me hope haha.
 I was actually reading the blog by Neil and had a question.
 I understand I can get the directory to be set but that's an installation
 directory.
 Can I create a custom directory OR can I actually use the INSTALLDIR (or
 whatever it is called)
 and when the installation is run can I trick the installer so instead of
 using the directory for installation folder actually snatch that
 directory
 to be stored in a variable within our code so our application knows where
 to
 look for the thumbnails?

 We can fetched the thumbnails over the web just fine but now our
 application
 is deployed in the same machine where we fetch the thumbnails so instead
 of
 going through a loop with http request we can easily look for thumbnails
 in
 the local machine. The reason for asking the path for the folder is
 because
 thumbnails are not always stored in the same folder, as that is a
 preference
 that a user can set.

 The problem I was having was when I created a custom dialog (using
 orca)that
 asks whether the use wants our application to fetch the thumbnail over
 the
 web or just from their local machine. Opening a browse dialog works fine
 but
 every time I chose a folder and press 'ok' I'd get '2707' (target not
 specified). And wasn't sure exactly what was causing the problem. I'm
 assuming it probably has to do with custom action and was wondering if
 WiX
 had a better way of going about it.

 So my question  still remains, is it possible to create a custom ID or
 variable to store the directory (which is not meant for installation but
 only purpose is to pass down the directory path into our code).

 I really hope that made sense... haha

 thanks, again!


 1. The web stuff I'm not sure about. It's likely possible using 

[WiX-users] Localizing setup dialog titles

2009-04-28 Thread Sudripta Nandy (Sarangsoft Corporation)
Will there be any problem if I try to localize the dialog title in my setup? I 
want to pick the string from the wxl file. In the wix documentation I see that 
the 'Title' attribute for the 'Dialog' element is not marked as localizable.


Thanks.
Sudripta.
--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Reference custom directory

2009-04-28 Thread Brian Bakkebo
Hi Dk, ok trying to break this down for you.

1. You want to install the web app to a server based on a directory they
select, etc.
With this you could use the installdir to accomplish through wix.
2. In the installer, you want to ask the question to download the
thumbnails, next right.
I know you can build this in with wix using windows installer ui controls.
What I am not sure of is if you can create a variable here based on a
directory selection by the user?
Someone else here can probably answer this.  I think that you can, but I
havent had this need before.
3. Then you want to copy files(icons) from the user selected directory to
the installdir?
This could be done in a number of different ways as well.

Now I think I have what you want, the problem is what is the best way to do
it.
I dont know how much time you have for this project or how professional it
needs to be, so there are many factors here.
If I didnt care of the look, I would call a custom action and call a nice
little app that asks the question and
copies the files over.  Simple and done. But if you want it to look good and
use wix to the fullest then you
are going to need to understand wixui stuff really good.  I would look there
as well just to see what is the possibilities.

Perhaps someone else here can answer if you can create variables and
directory selection in custom wix ui and perhaps they can point you in the
right direction there.

Good luck

Brian

2009/4/28 dkijc wwjdat2...@yahoo.com


 Hi Brian,

 Thanks alot for the suggestion, however, I think you misunderstood my
 question. Or I probably mislead you haha.

 Here is the dilemma. Our company has a server application and my teams'
 product will be residing in the same machine. My application talks to the
 server to send a playlist that is generated by our application. We (the
 app)
 however get the thumbnails (images that is rendered by another product)
 from
 the server. So basically, you can think of our application as a playlist
 generating app but in order to generate the playlist we need the thumbnails
 for each item and we fetch the thumbnails from our server.

 Our application is a web application so we can deploy it anywhere the user
 wants it to. Now, when we created this application, we did not know our
 application was going to be deployed on the same machine as the server.
 Because of this we were fetching the thumbnails from the server thru a HTTP
 request and the server sent the requested thumbnails to our application.
 Since, our app is going to be residing in the same machine now, however,
 instead of requesting the thumbnails through an HTTP request I was
 wondering
 if I could actually read into a directory where the thumbnails lie in the
 server.

 So, what I want to achieve was ask the user if they want to fetch from
 server or from the local disk. The reason for even asking (even the
 'server'
 actually directs the local machine since our app is residing in the server
 machine) is because the thumbnails are not always in the same directory and
 we have to know where the thumbnails are stored at.

 I hope that clears up what I need to do.. haha

 Thanks a bunch!! god bless.

 -Dk


 Brian Bakkebo wrote:
 
  Hi dkijc,
  I think you can do this, but a little unclear about the storing of icons
  somewhere else? Are you actually installing a program also or just icons?
 
  For storing the icons part you have a question in the installer I assume
  and
  it asks to download latest icons or choose a directory?  If user answers
  yes, then go to web and download icons to a folder.  The question is
  wouldnt
  you want to do this after they define the INSTALLDIR in the install?
  Then
  you can use this dialog set and modify it:(WixUI_InstallDir does not
 allow
  the user to choose what features to install, but it adds a dialog to let
  the
  user choose a directory where the product will be installed.)
 
  Therefore you can download the icons right to the install directory and
  reference them there.  If this all sounds ok, then if you already have
 the
  INSTALLDIR Variable assuming it is set up as the last node directory and
  will look something like this in your .wxs  Directory Id=INSTALLDIR
  Name=YourProgramName.  Then you can reference it as a shortcut for
  example as such:
  Shortcut Id=ApplicationStartMenuShortcut Name=YourProgramNam
  Description=YourProgramNam Target=[INSTALLDIR]YourProgramName.exe
  WorkingDirectory=INSTALLDIR.  Or using it for other things, etc.
 
  Since I am not quite sure about what you want to accomplish it is hard to
  say, but I think this is sort of what you want.
 
 
 
 
  Med vennlig hilsen /Regards
  Brian
 
 
 
 
  2009/4/23 dkijc wwjdat2...@yahoo.com
 
 
  Hi Pally,
 
  Thank you so much for your response! That gives me hope haha.
  I was actually reading the blog by Neil and had a question.
  I understand I can get the directory to be set but that's an
 installation
  directory.
  Can I create a custom directory OR can I 

Re: [WiX-users] Reference custom directory

2009-04-28 Thread dkijc

Hi Brian,

I forgot to mention that my app is hosted on iis so it's a web project 
installer hence I do not need to specify a installdir. Also the thumbnails are 
fetched from my app dynamically upon users request so all our app needs to know 
is the path to the folder where they store the thumbnails. So I do am not 
trying a to ask the user where to save the thumbnails but where our app can 
retrieve the thumbnails that are already in the machine. Does that make sense?? 

Thank you so much.. I really appreciate it! 

God bless you! (_'  ){


On Apr 28, 2009, at 6:11 PM, Brian Bakkebo (via Nabble) 
ml-user+210058-810336...@n2.nabble.com wrote:

Hi Dk, ok trying to break this down for you. 

1. You want to install the web app to a server based on a directory they 
select, etc. 
With this you could use the installdir to accomplish through wix. 
2. In the installer, you want to ask the question to download the 
thumbnails, next right. 
I know you can build this in with wix using windows installer ui controls. 
What I am not sure of is if you can create a variable here based on a 
directory selection by the user? 
Someone else here can probably answer this.  I think that you can, but I 
havent had this need before. 
3. Then you want to copy files(icons) from the user selected directory to 
the installdir? 
This could be done in a number of different ways as well. 

Now I think I have what you want, the problem is what is the best way to do 
it. 
I dont know how much time you have for this project or how professional it 
needs to be, so there are many factors here. 
If I didnt care of the look, I would call a custom action and call a nice 
little app that asks the question and 
copies the files over.  Simple and done. But if you want it to look good and 
use wix to the fullest then you 
are going to need to understand wixui stuff really good.  I would look there 
as well just to see what is the possibilities. 

Perhaps someone else here can answer if you can create variables and 
directory selection in custom wix ui and perhaps they can point you in the 
right direction there. 

Good luck 

Brian 

2009/4/28 dkijc wwjdat2...@... 

 
 Hi Brian, 
 
 Thanks alot for the suggestion, however, I think you misunderstood my 
 question. Or I probably mislead you haha. 
 
 Here is the dilemma. Our company has a server application and my teams' 
 product will be residing in the same machine. My application talks to the 
 server to send a playlist that is generated by our application. We (the 
 app) 
 however get the thumbnails (images that is rendered by another product) 
 from 
 the server. So basically, you can think of our application as a playlist 
 generating app but in order to generate the playlist we need the thumbnails 
 for each item and we fetch the thumbnails from our server. 
 
 Our application is a web application so we can deploy it anywhere the user 
 wants it to. Now, when we created this application, we did not know our 
 application was going to be deployed on the same machine as the server. 
 Because of this we were fetching the thumbnails from the server thru a HTTP 
 request and the server sent the requested thumbnails to our application. 
 Since, our app is going to be residing in the same machine now, however, 
 instead of requesting the thumbnails through an HTTP request I was 
 wondering 
 if I could actually read into a directory where the thumbnails lie in the 
 server. 
 
 So, what I want to achieve was ask the user if they want to fetch from 
 server or from the local disk. The reason for even asking (even the 
 'server' 
 actually directs the local machine since our app is residing in the server 
 machine) is because the thumbnails are not always in the same directory and 
 we have to know where the thumbnails are stored at. 
 
 I hope that clears up what I need to do.. haha 
 
 Thanks a bunch!! god bless. 
 
 -Dk 
 
 
 Brian Bakkebo wrote: 
  
  Hi dkijc, 
  I think you can do this, but a little unclear about the storing of icons 
  somewhere else? Are you actually installing a program also or just icons? 
  
  For storing the icons part you have a question in the installer I assume 
  and 
  it asks to download latest icons or choose a directory?  If user answers 
  yes, then go to web and download icons to a folder.  The question is 
  wouldnt 
  you want to do this after they define the INSTALLDIR in the install? 
  Then 
  you can use this dialog set and modify it:(WixUI_InstallDir does not 
 allow 
  the user to choose what features to install, but it adds a dialog to let 
  the 
  user choose a directory where the product will be installed.) 
  
  Therefore you can download the icons right to the install directory and 
  reference them there.  If this all sounds ok, then if you already have 
 the 
  INSTALLDIR Variable assuming it is set up as the last node directory and 
  will look something like this in your .wxs  Directory Id=INSTALLDIR 
  Name=YourProgramName.  Then you can 

Re: [WiX-users] WiX compiler extension and WiX Lib...

2009-04-28 Thread John Nannenga
Found my issue and resolved it...

Cheers...



From: John Nannenga [john.nanne...@microsoft.com]
Sent: Tuesday, April 28, 2009 2:18 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] WiX compiler extension and WiX Lib...

Howdy folks;

I'm building a WiX compiler extension.  I've over-ridden 
WixExtension::GetLibrary to return my custom built WiX Lib.

My WiX Lib has the following in it:
Fragment
Binary Id=blah SourceFile=C:\Blah.dll/
/Fragment

When I build an MSI that references my compiler extension, I get the error:
Cannot find the table definitions for the 'Binary' table.  
This is likely due to a typing error or missing extension.  Please ensure all 
the necessary extensions are supplied on the command line with the -ext 
parameter

If I remove Binary Id... and just have an empty fragment in my WiX lib, 
everything builds just fine.  I've been looking at the extensions provided in 
the WiX source, but can't find anything obvious (to me) that is different.

Any thoughts as to what I might be doing wrong or how to debug this?

--
Register Now  Save for Velocity, the Web Performance  Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance  Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Feature condition

2009-04-28 Thread John Nannenga
Reference this:
 http://msdn.microsoft.com/en-us/library/aa371662(VS.85).aspx

and probably this... INSTALLLEVEL:
 http://msdn.microsoft.com/en-us/library/aa369536(VS.85).aspx

Standard disclaimer for authoring VBScript custom actions /


From: MYFLEX [shrinuen...@gmail.com]
Sent: Tuesday, April 28, 2009 6:57 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users]  Feature condition

I have multiple feature in my installer. based on a registry key values, i
want to show the levels of the feature. like selected for installation and
uninstallation. how to set the feature level at dynamically based on the
registry values? I want to write a vbscript custom action. Please tell me
how can i set the feature level in vbscript.
--
View this message in context: 
http://n2.nabble.com/Feature-condition-tp2732920p2732920.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Register Now  Save for Velocity, the Web Performance  Operations
Conference from O'Reilly Media. Velocity features a full day of
expert-led, hands-on workshops and two days of sessions from industry
leaders in dedicated Performance  Operations tracks. Use code vel09scf
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WiX compiler extension and WiX Lib...

2009-04-28 Thread Bob Arnson
John Nannenga wrote:
 Found my issue and resolved it...
   

What was the root cause?

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



--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] uninstalling certificates

2009-04-28 Thread Bob Arnson
Kalev Lember wrote:
 The issue still occurs with latest weekly release (3.0.5224).
   

Please file a bug with repro steps, authoring, and verbose logs so we 
can investigate.

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



--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to disable/bypass FilesInUse dialog

2009-04-28 Thread Bob Arnson
Jan Bilek wrote:
 When i try to define my own version of MsiRMFilesInUse like i've done 
 for FilesInUse, then i receive an error message saying than the 
 MsiRMFilesInUse dialog is already defined (error LGHT0130: The primary 
 key 'MsiRMFilesInUse' is duplicated in table 'Dialog'.). I had commented 
 all references to this dialog, but it didn't help.
   

The same approach works for both FilesInUse and MsiRMFilesInUse so I 
can't offer any suggestions without more detail about what you did and 
how you did it.

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



--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] On Team Build and WiX, and why it hates me.

2009-04-28 Thread Bob Arnson
Christopher Karper wrote:
 '..\..\..\Install\WixExtension\WixExtension\bin\Release\WixExtension.dll'
 
 could not be loaded.
 

Are you supplying an AssemblyDefaultFabricatorExtension attribute? Which 
version of WiX are you using? I don't see where you could get that 
message (without additional detail) for an extension except when loading 
a fabricator extension.

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



--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] On Team Build and WiX, and why it hates me.

2009-04-28 Thread Christopher Karper
It's just a normal WixExtension.   I have a compiler and decompiler
extension in the project.   All it does is turn some xml elements into table
entries, etc.

Here's what makes it tough for me to track down, whenever I try running this
through candle in the debugger, it works fine.   If I step through, it
*always* passes the load just fine.
This problem is absolutely enraging.

I will send you an archive of the entire solution, so you can see if I'm
doing anything stupendously stupid.

I believe I am using version 3.0.4917.0...   I know it's a little old now,
but I have trouble getting new software on the build server, so it's more
expedient to keep the older edition.   This problem persisted through
several different versions.

On Tue, Apr 28, 2009 at 8:55 PM, Bob Arnson b...@joyofsetup.com wrote:

 Christopher Karper wrote:
 
 '..\..\..\Install\WixExtension\WixExtension\bin\Release\WixExtension.dll'
 
  could not be loaded.
 

 Are you supplying an AssemblyDefaultFabricatorExtension attribute? Which
 version of WiX are you using? I don't see where you could get that
 message (without additional detail) for an extension except when loading
 a fabricator extension.

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




 --
 Register Now  Save for Velocity, the Web Performance  Operations
 Conference from O'Reilly Media. Velocity features a full day of
 expert-led, hands-on workshops and two days of sessions from industry
 leaders in dedicated Performance  Operations tracks. Use code vel09scf
 and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] feature component state source /local

2009-04-28 Thread sam desilva
what does it mean by feature component state
how this state stored in registry.?
what is the meaning of run-from-source or run-from-local
it you give any wix example .with mentioning installation steps would be
good;
--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users