[WiX-users] ODBC Data source

2007-07-05 Thread Rhys Goodwin

Hi,

I'd like to create a very simple MSI that installs (configures) a system SQL
DSN. I found this snippet in the mailing list archives which seems to work
ok but I think there should be a lot more properties that could be
configured. I can't seem to find a full WIX syntax reference. I looked at
the schema on the WIX website but I couldn't find Server property as used
below in the snippet.

The below snippet works ok in that it adds the data source with the
specified parameters but it configures the datasource to use SQL
authentication rather than NT.

I would have thought it would be possible to specify all the possible
options for creating a datasource. i.e. all the options you get when you go.
StartControl PanelAdministrative ToolsODBC Data SourcesAdd select
driver, server name, description, authentication mode, username, password,
database, etc etc and whole bunch of other options.

Hope this makes sense.

Cheers,
Rhys


Wix xmlns=http://schemas.microsoft.com/wix/2003/01/wi;
http://schemas.microsoft.com/wix/2003/01/wi%22;

Product Id=E9CB077F-7E94-491A-9111-69F72D09B354
 UpgradeCode=365A4ECE-9620-4780-BCF8-4FE885A09466
Name=Fecas ODBC Connection Language=1033 Version=
1.0
 Manufacturer=My Co
Package Id=2E2EA049-BE49-4C59-AB15-0697C0090A1F
Description=Creates System DSN for FECAS on SERVER

Comments=Creates System DSN for FECAS on SERVER
 Manufacturer=My Co InstallerVersion=200
 Compressed=yes /

Media Id=1 Cabinet=Data1.cab EmbedCab=yes /
Directory Id=TARGETDIR Name=SourceDir
Directory Id=ProgramFilesFolder Name=progfils

   LongName=ProgramFilesDir
Component Id=MainComponent Guid= DiskId=1
ODBCDataSource Id=
odbc.fecas Name=fecas
 Registration=machine
DriverName=SQL Server 
Property Id=Server Value=SERVER /

Property Id=Database Value=fecas /
Property Id=Description
  Value=[EMAIL PROTECTED] 

/ODBCDataSource
/Component
/Directory
/Directory
Feature Id=MainFeature Title=TheODBCDSN Level=1

ComponentRef Id=MainComponent /
/Feature
/Product
/Wix
-
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] Disallow uninstall if file in use

2007-07-05 Thread Man, Shirley
Thanks, Bob.
 
 The MSI standard is to let the uninstall proceed and require a
reboot. 
That means I will need to set some property to force a reboot then? The
default behavior doesn't prompt user about the reboot.
 
TIA!



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, July 04, 2007 8:02 PM
To: Man, Shirley
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Disallow uninstall if file in use


Man, Shirley wrote: 

Is there a way to disallow uninstall (i.e., by throwing an error
message) if any of the installed files is in use? Any property I can
check in Condition/?
 
The default behavior allows users to choose Ignore and proceed
with the uninstall process.


There's no built-in method to detect when files might be in use. The MSI
standard is to let the uninstall proceed and require a reboot. Refusing
to uninstall is considered more rude than requiring a reboot,
presumably. You'd have to use a custom action to do otherwise.

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


[WiX-users] DisableRegistryReflection

2007-07-05 Thread rohan bhattacharjee
Hello,

I am using WiX 2.0 and I want to add this attribute 
DisableRegistryReflection=yes to one of my Components (that populates 
registry keys to the x64 hive using Win64=yes).

I'm currently building the WiX on XP 32-bit ... but this MSI will eventually 
run on X64 Vista.

When I compile (candle), it repors me the error - 
3d:\foo\bar.wxi(306) : error CNDL0004 : The Component element contains an 
unexpected attribute 'DisableRegistryReflection'.

Any idea why this is not working ??
Rohan


  

Shape Yahoo! in your own image.  Join our Network Research Panel today!   
http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 



-
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] Sharing data between custom actions

2007-07-05 Thread Arnold Layne

Hi all,

I have several (managed) custom actions which are in different dlls. I would
like to share some data strutures between them. What is the best practice to
do this?

tx,
-al
-
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] Error Access is denied when using light version 3.0.2925.0

2007-07-05 Thread Mokrani Abdeslam

I'am trying to link some wixobj and wxl files with the light tool (version
3.0.2925.0) under vista 64.
The current directory (where light is executed and where the resulting msi
should be written) is Full control for Everyone.
Light exits with the error message below, no msi file is generated.

Updating file information.
light.exe : error LGHT0216 : An unexpected Win32 exception with error code
0x5 occurred: Access is denied
-
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] [Off-Topic] Moderation

2007-07-05 Thread Tony Hoyle
Bob Arnson wrote:

 A way with less work would be to allow only members to send to the list. 
 But that means people have to sign up first -- that might be more 
 annoying...
 
I have this with a simple script that emails nonmembers for 
confirmation, so a member gets to post immidiately, a nonmember gets 
'the 'are you a real person?' email and if they reply positively can 
post from then on.  It seems to have solved the spam on my lists 
completely without any drop off in post count.

I don't think sourceforge supports anything like this though.

A web forum is a bad idea.. I'd probably just forget about posting as 
it's a hassle having to different sites rather than just open my email 
client every hour or so.  I could live with a newsgroup (Microsoft have 
support newsgroups I believe already).

Tony


-
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] Previous Install Folder and Update

2007-07-05 Thread Anton Filippov

Thanks for answer, Bob.

How I can set some variables for uninstall. I have one error in custom
action and default uninstallation always finished with error (custom action
don't return ERROR_SUCCESS value to install and installer interpret this as
error). But if I set some property and uninstall - all correct.
Can I do this?
I've found line in log file:
RemoveExistingProducts: Application: {OLD INSTALL GUID}, Command line:
UPGRADINGPRODUCTCODE={GUID}  CLIENTUILEVEL=0 REMOVE=ALL
Can I change this?

Anton



On 7/4/07, Bob Arnson [EMAIL PROTECTED] wrote:


Anton Filippov wrote:
 1. How to determine install folder for previous installation (when
 I do major update)?

Write it to the registry and use a RegistrySearch to locate it.

 2. When I intstall major update in same folder as previuos version -
 after setup process intaller do RemoveExitingProduct and delete new
 files. How I can avoid this? Or I should install in other directory
only?

You can schedule the RemoveExistingProducts action in several different
places. See its MSI SDK topic for details.

--
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] Installing dotnet framework along with your MSI package

2007-07-05 Thread John Hall
I've been looking at bootstrappers recently, and I settled on
dotNetInstaller, an open source program at
http://www.devage.com/Wiki/ViewArticle.aspx?name=dotnetinstaller.
 
It will install as many prerequisites as you need. It is well written
and easy to modify (despite most of the comments being in Italian!), and
so if you need to customise it further, it is relatively
straightforward.
 
Cheers,
John



  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pierson
Lee (Volt)
Sent: 03 July 2007 01:20
To: sanjay bhaskar; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Installing dotnet framework along with
your MSI package



That's the same thing I'm doing. You have to use a bootstrapper.
If you're using VS 2005, you can use the setup project and it will allow
you to check for .net framework .

 

The other way you can do it (which I did, but am having a heck
of a time) is to call the .net Framework redistributable at the end
using a custom action , but it has to be set after InstallFinalize so
that your wix windows installer instance ends when your dotnetfx.exe is
called. I did it this way and it works, although I don't know the
consequences of this beyond installing the framework AFTER your
application.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of sanjay
bhaskar
Sent: Monday, July 02, 2007 4:52 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Installing dotnet framework along with your
MSI package

 

How to include dotnet framework redistributable package
(dotnetfx.exe) as a part of your own installation package (MSI) such
that the dotnet framework gets installed during your installation
process(Like through customActions). the error i get is that another
installation is already in progress. How to get out of this problem and
install the dotnetfx.
 
Thanks


  _  


Make every IM count. Download Windows Live Messenger and join
the i'm Initiative now. It's free.   Make it count!
http://im.live.com/messenger/im/home/?source=TAGWL_June07 

-
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] [Off-Topic] Moderation

2007-07-05 Thread Rob Hamflett
There's already a newsgroup.  The mailing list is mirrored in the 
gmane.comp.windows.devel.wix.user 
newsgroup on news.gmane.org.  There used to be an SSH version at some point, 
but it started giving 
me connection problems at one point, and I changed down to the normal one.  I 
can't remember what 
the details were.  Probably snew.gmane.org.

I've asked a couple of times for the newsgroup to be mentioned on the website.

Rob

Tony Hoyle wrote:
 Bob Arnson wrote:
 
 A way with less work would be to allow only members to send to the list. 
 But that means people have to sign up first -- that might be more 
 annoying...

 I have this with a simple script that emails nonmembers for 
 confirmation, so a member gets to post immidiately, a nonmember gets 
 'the 'are you a real person?' email and if they reply positively can 
 post from then on.  It seems to have solved the spam on my lists 
 completely without any drop off in post count.
 
 I don't think sourceforge supports anything like this though.
 
 A web forum is a bad idea.. I'd probably just forget about posting as 
 it's a hassle having to different sites rather than just open my email 
 client every hour or so.  I could live with a newsgroup (Microsoft have 
 support newsgroups I believe already).
 
 Tony
 
 
 -
 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/


-
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] File Search that returns a folder path

2007-07-05 Thread martin lavelle
This simple example returns the folder path of notepad.exe to the
property NOTEPAD_FOLDER (If it finds it).
 
Appsearch Table
Property   | Signature   

NOTEPAD_FOLDER  | NotepadFolderSignature
 
DrLocator Table
Signature   | Parent| Path | Depth
---
NotepadFolderSignature| NotepadFileSignature
NotepadFileSignature| || 5
 
Signature Table
Signature   | FileName

NotepadFileSignature|notepad.exe
 
 
Bob Arnson wrote:If you have current MSI rows that work, you should post them; 
that might help.
Martin Lavelle wrote:I'm trying to author a file search that returns the folder 
path of a file search. In other words, I don't want the file name on the end of 
the path.My Property / DirectorySearch / FileSearch attempts just won't create 
the right table entries, will someone show me how to do this 
please.Incidentally, I've tried using Dark.exe to reveal the WiX syntax, but 
without success.
 
_
See what you’re getting into…before you go there.
http://newlivehotmail.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


[WiX-users] InstallExecuteSequence

2007-07-05 Thread Balakrishna.BK
Hi,
   I am newbie to msi technology and I have the following question in 
InstallExecutesequence.
   
  I am editing my existing msi file using orca and want to swap sequence 
numbers of appsearch and launchcondion
   
  actual
  Appsearch = 400 as sequence number and
  Launchcondition = 117
   
  I added a new entry in Reglocator, apsearch and launchcondition and swapped 
the sequence numbers.
  So, after modifying my new entry is
  Appsearch= 117
  launchcondition = 400
   
  When i save and launch this msi, i still get launch condition executed 1st in 
the sequence and installation fails inspite of have regkey in the system
   
  Do I need to change this sequence number in each of the language specific msi 
(extract mst, apply, change, and create msi)..? or modifying the final one is 
sufficient
   
  Thanks,
  Bala.

 Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download 
Now! http://messenger.yahoo.com/download.php-
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] InstallExecuteSequence

2007-07-05 Thread fiordean dacian
You migh check with Orca that InstallExecuteSequence has the actions in the 
order you want them.

Why don't you use After and Before attributes instead of Sequence?

Dacian



- Original Message 
From: Balakrishna.BK [EMAIL PROTECTED]
To: wix-users@lists.sourceforge.net
Sent: Thursday, July 5, 2007 1:05:28 PM
Subject: [WiX-users] InstallExecuteSequence

Hi,
   I am newbie to msi technology and I have the following question in 
InstallExecutesequence.
   
  I am editing my existing msi file using orca and want to swap sequence 
numbers of appsearch and launchcondion
   
  actual
  Appsearch = 400 as sequence number and
  Launchcondition = 117
   
  I added a new entry in Reglocator, apsearch and launchcondition and swapped 
the sequence numbers.
  So, after modifying my new entry is
  Appsearch= 117
  launchcondition = 400
   
  When i save and launch this msi, i still get launch condition executed 1st in 
the sequence and installation fails inspite of have regkey in the system
   
  Do I need to change this sequence number in each of the language
 specific msi (extract mst, apply, change, and create msi)..? or modifying the 
final one is sufficient
   
  Thanks,
  Bala.
 Send free SMS to your Friends on Mobile from your Yahoo! Messenger. Download 
Now! http://messenger.yahoo.com/download.php
-
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 the Yahoo! toolbar and be alerted to new email wherever you're surfing.
http://new.toolbar.yahoo.com/toolbar/features/mail/index.php-
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] InstallExecuteSequence

2007-07-05 Thread Balakrishna.BK
Hi Dacian,
   
  I modified InstallExecuteSequence table in the order I wanted it to be, but 
still during installation it doesnt follow the order.  I believe I am missing 
something basic.  Also remember that this is a multi-language msi.
   
   As I already told, I am modifying the existing msi using orca.  
unfortunately I dont have any wxs files or the environment to generate msi.
   
  Bala.
   
  Message: 4
Date: Thu, 5 Jul 2007 04:11:31 -0700 (PDT)
From: fiordean dacian 
Subject: Re: [WiX-users] InstallExecuteSequence
To: Balakrishna.BK ,
wix-users@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

You migh check with Orca that InstallExecuteSequence has the actions in the 
order you want them.

Why don't you use After and Before attributes instead of Sequence?

Dacian



- Original Message 
From: Balakrishna.BK 
To: wix-users@lists.sourceforge.net
Sent: Thursday, July 5, 2007 1:05:28 PM
Subject: [WiX-users] InstallExecuteSequence

Hi,
I am newbie to msi technology and I have the following question in 
InstallExecutesequence.

I am editing my existing msi file using orca and want to swap sequence numbers 
of appsearch and launchcondion

actual
Appsearch = 400 as sequence number and
Launchcondition = 117

I added a new entry in Reglocator, apsearch and launchcondition and swapped the 
sequence numbers.
So, after modifying my new entry is
Appsearch = 117
launchcondition = 400

When i save and launch this msi, i still get launch condition executed 1st in 
the sequence and installation fails inspite of have regkey in the system

Do I need to change this sequence number in each of the language
specific msi (extract mst, apply, change, and create msi)..? or modifying the 
final one is sufficient

Thanks,
Bala.

   


-
 Here’s a new way to find what you're looking for - Yahoo! Answers -
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 Uninstall ( or problem with properties...)

2007-07-05 Thread md5hans

Hi!

I'm developing an application that creates a WIX-script depending on user
input. I have run in to a problem, I need to supply some paths (input
variables) to the msi-package when its executed. I have tried to do this
with the properties PACKAGE_PATH and CATEGORY_PATH, I also want to control
if a Feature is to be installed or not (that part is out commented for the
time being). The installation works fine (it uses the submitted paths) but
when I want to uninstall I get an error:

Could not access network location 0

If I check the Light log I have two warnings:
warning LGHT1076 : ICE48: Directory 'PACKAGE_PATH' appears to be hardcoded
in the property table.
warning LGHT1076 : ICE48: Directory 'CATEGORY_PATH' appears to be hardcoded
in the property table.

I'm I using properties the wrong way?

/Hans

?xml version=1.0 encoding=utf-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;
  Product Id=394a8930-63a0-4785-ae25-dfee5ff8394b Name=A XXX Package
Language=1033 Version=1.0.0 Manufacturer=X
UpgradeCode=b7d5c8ed-60fe-4cab-83f7-4844f0a8cbc2
Package Description=This is a description Comments=This is a
comment. InstallerVersion=200 Compressed=yes /
Property Id=PACKAGE_PATH0/Property
Property Id=PACKAGE_XML0/Property
Property Id=CATEGORY_PATH0/Property
Media Id=1 Cabinet=Product.cab EmbedCab=yes /
Feature Id=ImageFilesFeature Title=Image Files Level=1
  ComponentRef Id=Component1 /
  ComponentRef Id=Component2 /
  ComponentRef Id=Component3 /
  ComponentRef Id=Component4 /
/Feature
!--Feature Id=CategoryFilesFeature Title=Category Files Level=1
  Condition Level=0![CDATA[CATEGORY_PATH = 0]] /Condition
/Feature--
Directory Id=TARGETDIR Name=SourceDir
  Directory Id=PACKAGE_PATH
Directory Id=Directory1 Name=MyCategory
  Component Guid=664a2c11-585c-4b40-b908-5f8468b93887
Id=Component1
File Id=File1 Name=MyCategory.p Source=MyCategory.p
DiskId=1 /
  /Component
/Directory
Component Guid=8767f917-44e9-4bc6-9905-0a4924895a49
Id=Component2
  File Id=File2 Name=XMyCategory.xml Source=XMyCategory.xml
DiskId=1 /
/Component
  /Directory
  Directory Id=CATEGORY_PATH
Directory Id=Directory2 Name=MyCategory
  Directory Id=Directory3 Name=RT90_2_5gonW
Component Guid=3726f3c1-56a0-4dba-89d1-0aad49add001
Id=Component3
  File Id=File3 Name=23j0f.ecw Source=C:\Documents and
Settings\haol\Desktop\test\23j0f.ecw DiskId=1 /
  File Id=File4 Name=23j0g.ecw Source=C:\Documents and
Settings\haol\Desktop\test\23j0g.ecw DiskId=1 /
/Component
  /Directory
/Directory
  /Directory
  Directory Id=Directory4 Name=Geodata
Directory Id=Directory5 Name=index
  Directory Id=Directory6 Name=Sverige
Component Guid=74b90c4e-f7fd-4893-b3b1-5e990efd455d
Id=Component4
  RemoveFile Id=File5 Name=*.ind On=install /
/Component
  /Directory
/Directory
  /Directory
/Directory
  /Product
/Wix
-- 
View this message in context: 
http://www.nabble.com/Problem-with-Uninstall-%28-or-problem-with-properties...%29-tf4029506.html#a11445852
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


Re: [WiX-users] Problem with FileSearch element (WiX 2.0)

2007-07-05 Thread Oliver Schneider
Thanks for your replies, this actually gave some insight and helped to
get find a solution.

Bob Arnson wrote:
 Mike Dimmick wrote:
 DirectorySearch is performed by the AppSearch action. You have to have
 all
 your properties in place before it runs, or nest the searches
 appropriately.
   
 
 Specifically, because the AppSearch table lacks any sequencing
 information (e.g., the ControlEvent table's Ordering column), you can't
 use the results of one AppSearch in another. You can nest them, which
 repeats each AppSearch action.
 
 You can't nest things under a RegistrySearchRef, not sure why.
   
 
 Because that would require creating a new AppSearch row. AppSearch is
 dark, dark magic. There are likely things it can do that the WiX schema
 doesn't currently support. Sooner or later, either MSI will come up with
 a better relational schema or WixAppSearch will get created...
 

-- 
Oliver Schneider

Researcher / Developer

FRISK Software International
Thverholti 18
IS-105 Reykjavik
Iceland

+354 540 7400

http://www.f-prot.com | http://forum.f-prot.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 Uninstall ( or problem with properties...)

2007-07-05 Thread md5hans

Hi!

Thanks for the quick response!

I did a little test, if I remove the property declarations but supplied the
input parameteras anyway it works on both install and uninstall! and I get
no warning from Light. I have to admit I have only worked with WIX a
couple of weeks and I get a bit confused some time... and I'm doing a lot of
trial and error... 

By the way, is there a way to manually edit the uninstall information? I
have after my tests a couple of installations on my PC that I cant uninstall
due to my properties.

/Hans

?xml version=1.0 encoding=utf-8?
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;
  Product Id=fe63c43d-9b05-4b78-9ab0-51afeac9c9f9 Name=A GDP Package
Language=1033 Version=1.0.0 Manufacturer=XXX
UpgradeCode=b7d5c8ed-60fe-4cab-83f7-4844f0a8cbc2
Package Description=This is a description Comments=This is a
comment. InstallerVersion=200 Compressed=yes /
Media Id=1 Cabinet=Product.cab EmbedCab=yes /
Feature Id=ImageFilesFeature Title=Image Files Level=1
  ComponentRef Id=Component1 /
  ComponentRef Id=Component2 /
  ComponentRef Id=Component3 /
  ComponentRef Id=Component4 /
/Feature
!--Feature Id=CategoryFilesFeature Title=Category Files Level=1
  Condition Level=0![CDATA[CATEGORY_PATH = 0]] /Condition
/Feature--
Directory Id=TARGETDIR Name=SourceDir
  Directory Id=PACKAGE_PATH
Directory Id=Directory1 Name=MyCategory
  Component Guid=eb6f7707-4363-41ee-a4b3-2da18aac6ba1
Id=Component1
File Id=File1 Name=MyCategory.p Source=MyCategory.p
DiskId=1 /
  /Component
/Directory
Component Guid=809f077d-dc5b-48bd-a1c8-0fba694ccecf
Id=Component2
  File Id=File2 Name=XMyCategory.xml Source=XMyCategory.xml
DiskId=1 /
/Component
  /Directory
  Directory Id=CATEGORY_PATH
Directory Id=Directory2 Name=MyCategory
  Directory Id=Directory3 Name=RT90_2_5gonW
Component Guid=ce7e0ed5-5e76-4633-afa6-f1b9d558269e
Id=Component3
  File Id=File3 Name=23j0f.ecw Source=C:\Documents and
Settings\haol\Desktop\test\23j0f.ecw DiskId=1 /
  File Id=File4 Name=23j0g.ecw Source=C:\Documents and
Settings\haol\Desktop\test\23j0g.ecw DiskId=1 /
/Component
  /Directory
/Directory
  /Directory
  Directory Id=Directory4 Name=Geodata
Directory Id=Directory5 Name=index
  Directory Id=Directory6 Name=Sverige
Component Guid=e15d800d-24a3-4575-88b5-1dab17d5b388
Id=Component4
  RemoveFile Id=File5 Name=*.ind On=install /
/Component
  /Directory
/Directory
  /Directory
/Directory
  /Product
/Wix




The problem is that the properties don't get remembered, so they're never
set on uninstall.  You 
need to create components to write them into the registry on install.  You
can the use 
RegistrySearch to read the values on uninstall.

Rob


-- 
View this message in context: 
http://www.nabble.com/Problem-with-Uninstall-%28-or-problem-with-properties...%29-tf4029506.html#a11446428
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


Re: [WiX-users] Problem with Uninstall ( or problem with properties...)

2007-07-05 Thread Rob Hamflett
The problem is that the properties don't get remembered, so they're never set 
on uninstall.  You 
need to create components to write them into the registry on install.  You can 
the use 
RegistrySearch to read the values on uninstall.

Rob

md5hans wrote:
 Hi!
 
 I'm developing an application that creates a WIX-script depending on user
 input. I have run in to a problem, I need to supply some paths (input
 variables) to the msi-package when its executed. I have tried to do this
 with the properties PACKAGE_PATH and CATEGORY_PATH, I also want to control
 if a Feature is to be installed or not (that part is out commented for the
 time being). The installation works fine (it uses the submitted paths) but
 when I want to uninstall I get an error:
 
 Could not access network location 0
 
 If I check the Light log I have two warnings:
 warning LGHT1076 : ICE48: Directory 'PACKAGE_PATH' appears to be hardcoded
 in the property table.
 warning LGHT1076 : ICE48: Directory 'CATEGORY_PATH' appears to be hardcoded
 in the property table.
 
 I'm I using properties the wrong way?
 
 /Hans
 
 ?xml version=1.0 encoding=utf-8?
 Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
 xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;
   Product Id=394a8930-63a0-4785-ae25-dfee5ff8394b Name=A XXX Package
 Language=1033 Version=1.0.0 Manufacturer=X
 UpgradeCode=b7d5c8ed-60fe-4cab-83f7-4844f0a8cbc2
 Package Description=This is a description Comments=This is a
 comment. InstallerVersion=200 Compressed=yes /
 Property Id=PACKAGE_PATH0/Property
 Property Id=PACKAGE_XML0/Property
 Property Id=CATEGORY_PATH0/Property
 Media Id=1 Cabinet=Product.cab EmbedCab=yes /
 Feature Id=ImageFilesFeature Title=Image Files Level=1
   ComponentRef Id=Component1 /
   ComponentRef Id=Component2 /
   ComponentRef Id=Component3 /
   ComponentRef Id=Component4 /
 /Feature
 !--Feature Id=CategoryFilesFeature Title=Category Files Level=1
   Condition Level=0![CDATA[CATEGORY_PATH = 0]] /Condition
 /Feature--
 Directory Id=TARGETDIR Name=SourceDir
   Directory Id=PACKAGE_PATH
 Directory Id=Directory1 Name=MyCategory
   Component Guid=664a2c11-585c-4b40-b908-5f8468b93887
 Id=Component1
 File Id=File1 Name=MyCategory.p Source=MyCategory.p
 DiskId=1 /
   /Component
 /Directory
 Component Guid=8767f917-44e9-4bc6-9905-0a4924895a49
 Id=Component2
   File Id=File2 Name=XMyCategory.xml Source=XMyCategory.xml
 DiskId=1 /
 /Component
   /Directory
   Directory Id=CATEGORY_PATH
 Directory Id=Directory2 Name=MyCategory
   Directory Id=Directory3 Name=RT90_2_5gonW
 Component Guid=3726f3c1-56a0-4dba-89d1-0aad49add001
 Id=Component3
   File Id=File3 Name=23j0f.ecw Source=C:\Documents and
 Settings\haol\Desktop\test\23j0f.ecw DiskId=1 /
   File Id=File4 Name=23j0g.ecw Source=C:\Documents and
 Settings\haol\Desktop\test\23j0g.ecw DiskId=1 /
 /Component
   /Directory
 /Directory
   /Directory
   Directory Id=Directory4 Name=Geodata
 Directory Id=Directory5 Name=index
   Directory Id=Directory6 Name=Sverige
 Component Guid=74b90c4e-f7fd-4893-b3b1-5e990efd455d
 Id=Component4
   RemoveFile Id=File5 Name=*.ind On=install /
 /Component
   /Directory
 /Directory
   /Directory
 /Directory
   /Product
 /Wix


-
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 Uninstall ( or problem with properties...)

2007-07-05 Thread Rob Hamflett
md5hans wrote:
 By the way, is there a way to manually edit the uninstall information? I
 have after my tests a couple of installations on my PC that I cant uninstall
 due to my properties.

Do you mean you want to be able to change how the uninstallation gets run for 
your installers, or 
you just want to be able to get rid of the problematic installers you currently 
have installed?

If the latter then you can just can run the MSI with
msiexec /x file.msi PROPERTY=some_value
If you don't have the specific MSI any more, run regedit and take a look at the 
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall key.  
Every installed product 
has a key in there.  Use a text search for your product to find which one is 
yours, and then look 
for the UninstallString value.  It should be of the form
MsiExec.exe /X{GUID}
You can then run
MsiExec.exe /X{GUID} PROPERTY=some_value
to uninstall it with the supplied properties.


If you mean you want to change the installation to overwrite these values, 
that's more complicated. 
  You have to specify all the information in the above key yourself.  I think 
you also have to 
specify ARPSYSTEMCOMPONENT, but I'm not sure.  Hopefully someone else can 
correct me.

Rob


-
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] InstallExecuteSequence

2007-07-05 Thread fiordean dacian

Hi Bala,

I can't see any column from InstallExecuteSequence table refering to language 
stuff.

Try and save your msi under a different name after modyfing the sequence 
numbers for those actions.
Also, you might want to decompile your msi into a wxs file. For this you can 
use dark.exe (distributed with Wix) like this:

dark.exe -nologo your_setup.msi product.wxs.

Then check product.wxs and see what's happening.

Dacian




- Original Message 
From: Balakrishna.BK [EMAIL PROTECTED]
To: wix-users@lists.sourceforge.net
Sent: Thursday, July 5, 2007 2:57:22 PM
Subject: Re: [WiX-users] InstallExecuteSequence

Hi Dacian,
   
  I modified InstallExecuteSequence table in the order I wanted it to be, but 
still during installation it doesnt follow the order.  I believe I am missing 
something basic.  Also remember that this is a multi-language msi.
   
   As I already told, I am modifying the existing msi using orca.  
unfortunately I dont have any wxs files or the environment to generate msi.
   
  Bala.
   
  Message: 4
Date: Thu, 5 Jul 2007 04:11:31 -0700 (PDT)
From: fiordean dacian 
Subject: Re: [WiX-users] InstallExecuteSequence
To: Balakrishna.BK ,
wix-users@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=us-ascii

You migh check with Orca that InstallExecuteSequence has the actions in the 
order you want
 them.

Why don't you use After and Before attributes instead of Sequence?

Dacian



- Original Message 
From: Balakrishna.BK 
To: wix-users@lists.sourceforge.net
Sent: Thursday, July 5, 2007 1:05:28 PM
Subject: [WiX-users] InstallExecuteSequence

Hi,
I am newbie to msi technology and I have the following question in 
InstallExecutesequence.

I am editing my existing msi file using orca and want to swap sequence numbers 
of appsearch and launchcondion

actual
Appsearch = 400 as sequence number and
Launchcondition = 117

I added a new entry in Reglocator, apsearch and launchcondition and swapped the 
sequence numbers.
So, after modifying my new entry is
Appsearch = 117
launchcondition = 400

When i save and launch this msi, i still get launch condition executed 1st in 
the sequence and installation fails inspite of have regkey in the system

Do I
 need to change this sequence number in each of the language
specific msi (extract mst, apply, change, and create msi)..? or modifying the 
final one is sufficient

Thanks,
Bala.

   
 




 
Here’s a new way to find what you're looking for - Yahoo! Answers 
-
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







  

Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ -
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 Uninstall ( or problem with properties...)

2007-07-05 Thread md5hans

I just want to uninstall the installation the problematic installer so I will
follow your instructions. Thanks a lot for the help!

/Hans



md5hans wrote:
 By the way, is there a way to manually edit the uninstall information?
 I
 have after my tests a couple of installations on my PC that I cant
 uninstall
 due to my properties.

Do you mean you want to be able to change how the uninstallation gets run
for your installers, or 
you just want to be able to get rid of the problematic installers you
currently have installed?


-- 
View this message in context: 
http://www.nabble.com/Problem-with-Uninstall-%28-or-problem-with-properties...%29-tf4029506.html#a11448039
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


Re: [WiX-users] Installing a Duplicate Component

2007-07-05 Thread Bob Arnson
Michael Bond wrote:
 I would like to reduce the copy and pasting, and changing of Ids, in 
 my wxs and essentially install the same set of files 3 times in 3 
 separate locations but using one common Component or Merge Module. So 
 far light chokes (...error LGHT0091 : Duplicate symbol 'WixMerge:) 
 on the Duplicated Merge Module, Fragment or Component Ids so I can't 
 reuse the same Merge Module/Component in two different features 
 simultaneously.

 Is this possible to do or will I just have to resort to duplicating 
 the Components by hand.

MSI supports separate products installing the same components to 
multiple directories but not doing so from within a single product. 
You'll need separate component IDs and GUIDs but you can use 
preprocessor variables instead of hand duplication.

-- 
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] Previous Install Folder and Update

2007-07-05 Thread Bob Arnson
Anton Filippov wrote:
 How I can set some variables for uninstall. I have one error in custom 
 action and default uninstallation always finished with error (custom 
 action don't return ERROR_SUCCESS value to install and installer 
 interpret this as error). But if I set some property and uninstall - 
 all correct.
 Can I do this?
 I've found line in log file:
 RemoveExistingProducts: Application: {OLD INSTALL GUID}, Command line: 
 UPGRADINGPRODUCTCODE={GUID}  CLIENTUILEVEL=0 REMOVE=ALL
 Can I change this?

No, MSI doesn't support passing properties to the RemoveExistingProducts 
uninstall. You should have the upgrading app load its own properties.

-- 
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] Error Access is denied when using light version 3.0.2925.0

2007-07-05 Thread Bob Arnson
Mokrani Abdeslam wrote:
 Updating file information.
 light.exe : error LGHT0216 : An unexpected Win32 exception with error 
 code 0x5 occurred: Access is denied

That's usually caused by real-time virus scanners locking temporary 
files. Exclude your build and temp trees from real-time scanning.

-- 
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] DisableRegistryReflection

2007-07-05 Thread Bob Arnson
rohan bhattacharjee wrote:
 When I compile (candle), it repors me the error - 
 3d:\foo\bar.wxi(306) : error CNDL0004 : The Component element contains an 
 unexpected attribute 'DisableRegistryReflection'.

 Any idea why this is not working ??
   

The version of WiX v2 you're using is too old. Upgrade to the current 
escrow version.

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


[WiX-users] Help localizing MSI

2007-07-05 Thread sandy
Hi,
I've created an msi and I want it to choose the dialog string based on the 
installed OS culture.
For example if a user runs it on a german OS it should display the German 
Dialog and on a french OS it should display the french dialog. The dialog will 
remain same but I want to be able to change the language in which strings are 
displayed dynamically at the runtime.

Is it possible to do? 

Thanks
Sandeep



 

Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.
http://farechase.yahoo.com/promo-generic-14795097-
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] Performance counters not getting uninstalled properly

2007-07-05 Thread Amol


Amol wrote:
 
 Hi,
 
 I am using the PerfCounter element to install perfcounters for a service.
 
 File Id=lodctr.ini
   DiskId=1
   Name=applod.ini
   LongName=app_lodctr.ini
   Source=$(var.stagingdir)\
   PerfCounter Name=app/
   /File
 
 This File element is under a Component that also creates the registry keys
 for the app in the appropriate places.
 
 However, on uninstall, while the registry keys do get deleted, the perflib
 key does not get updated to remove the information for my app.
 
 As a result, every time I install the application, it leaves vestiges of
 the last install in the registry and we end up with FUBARed counters
 (eventually. unfortunately it works for a long long time without any
 complaints).
 
 What I find is that uninstalling the 
 
 

A point of interest:

This is on 64-bit (XP and server 2003 ). Could this cause problems if the
msiexec is 32-bit ?


-- 
View this message in context: 
http://www.nabble.com/Performance-counters-not-getting-uninstalled-properly-tf4030840.html#a11450470
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


[WiX-users] [Off-Topic] Moderation

2007-07-05 Thread DE�K JAHN, G�bor
On Thu, 05 Jul 2007 10:22:09 +0100, Tony Hoyle wrote:

Tony,

 A web forum is a bad idea.. I'd probably just forget about posting
 as it's a hassle having to different sites rather than just open my
 email client every hour or so.

I can only second that. I stop monitoring this list the minute it is turned 
into a web-based forum; what I hope won't happen... :-))

Bye,
   Gábor

---
DEÁK JAHN, Gábor -- Budapest, Hungary
E-mail: [EMAIL PROTECTED]

-
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] Feature Conditionals and Silent (passive) install

2007-07-05 Thread Pierson Lee (Volt)
I've created an MSI that, through a UI, will determine from a public property 
that is selected through a radio button, which feature to install.

It uses the feature conditional that changes the level of the feature.

If I set the same property from a command-line, it doesn't evaluate and both 
features are installed. I have to specify the ADDLOCAL property in the 
command-line passive install of the msi.

What am I doing wrong, or is this not possible without the UI?
-
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] Disallow uninstall if file in use

2007-07-05 Thread Man, Shirley
I see. I notice the temporary file (which was originally the running
exe) gets deleted on next reboot, but the problem is, its parent
directory (in my case, the INSTALLDIR) is not.
Is this a known MSI issue?
 



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Thursday, July 05, 2007 7:45 AM
To: Man, Shirley
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Disallow uninstall if file in use


Man, Shirley wrote: 

That means I will need to set some property to force a reboot
then? The default behavior doesn't prompt user about the reboot.


If MSI can't replace a file that's in use, it schedules the replacement
to happen at next boot. See the MSI SDK doc for the ReplacedInUseFiles
Property, for example. A verbose log will shows when it's being set.

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


[WiX-users] jet 4.0 msm's

2007-07-05 Thread koawmfot

microsoft provides an msm for MDAC, and the instructions on how to update
it, here: http://support.microsoft.com/kb/320788.  i atcually used that, and
converted to a wixlib, and was hoping to do the same for JET.

i was wondering if anyone had anything similar for JET 4.0 SP8.  i know
there are wise and installshield msm's for jet 4 sp8, but i'd rather stick
to something from MS or configure my own.  has anyone come up with a
solution?

thanks
doug
-
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] Feature Conditionals and Silent (passive) install

2007-07-05 Thread Mike Dimmick
The Windows Installer documentation states that feature conditions are
evaluated by the CostFinalize action. This action should be scheduled in
both the InstallUISequence (for Full or Reduced UI) and the
InstallExecuteSequence (for Basic or No UI). WiX automatically sequences
CostFinalize appropriately, but you should check that you haven't suppressed
it or got it out of sequence with respect to CostInitialize and FileCost.
The order should be CostInitialize, then FileCost, then CostFinalize.

 

That's my best guess based on the documentation.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Pierson Lee
(Volt)
Sent: 05 July 2007 18:55
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Feature Conditionals and Silent (passive) install

 

I've created an MSI that, through a UI, will determine from a public
property that is selected through a radio button, which feature to install. 

 

It uses the feature conditional that changes the level of the feature.

 

If I set the same property from a command-line, it doesn't evaluate and both
features are installed. I have to specify the ADDLOCAL property in the
command-line passive install of the msi.

 

What am I doing wrong, or is this not possible without the UI?

-
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] Performance counters not getting uninstalled properly

2007-07-05 Thread Mike Dimmick
The Perflib key isn't very well designed in Windows; the very long
REG_MULTI_SZ values are hard to maintain and you actually can't readily
extract particular strings from the middle of the long string. In practice
all you can do is append the new counters to the end, meaning that the Last
Counter value increments on every installation.

The WiX custom action is simply calling the LoadPerfCounterTextStrings API
to install, and UnloadPerfCounterTextStrings to uninstall.

Modern server software creates a very large number of counters. Right now
the Last Counter value on my computer is set to 12532 - I have .NET
Framework 1.1 and 2.0 installed, plus four instances of SQL Server (one of
SQL Server 2000 for my SourceGear Vault source control database, another for
test databases, a SQL Server 2005 Express Edition instance added by VS2005
install and a SQL Server 2005 Developer Edition instance). Make sure your
performance counter DLL can cope with six-digit (or greater) counter
numbers.

-- 
Mike Dimmick

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Amol
Sent: 05 July 2007 17:34
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Performance counters not getting uninstalled properly


Hi,

I am using the PerfCounter element to install perfcounters for a service.

File Id=lodctr.ini
  DiskId=1
  Name=applod.ini
  LongName=app_lodctr.ini
  Source=$(var.stagingdir)\
  PerfCounter Name=app/
  /File

This File element is under a Component that also creates the registry keys
for the app in the appropriate places.

However, on uninstall, while the registry keys do get deleted, the perflib
key does not get updated to remove the information for my app.

As a result, every time I install the application, it leaves vestiges of the
last install in the registry and we end up with FUBARed counters
(eventually. unfortunately it works for a long long time without any
complaints).

What I find is that uninstalling the 

-- 
View this message in context:
http://www.nabble.com/Performance-counters-not-getting-uninstalled-properly-
tf4030840.html#a11450046
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


[WiX-users] Patch Problem

2007-07-05 Thread Petrut Andrei
Hello guys. I got stucked with this patch problem and I can't find any solution 
to solve it.
This is the log file that was created after I ran this command : 
Msimsp.exe -s Patch.pcp -p Patch.msp -l Patch.log
* Log starting: 2007-07-05 16:21:38 *

  INFO: Using Pcp Path: F:\msCRM\msCRMWebSetupWiX\patch.pcp.
  INFO: Using Temporary Directory: 
C:\Users\Shmenutz\AppData\Local\Temp\~pcw_tmp.tmp.
  INFO: Passed all of the main control parameter validation to PatchWiz, now 
calling the next 5 phases.
  INFO: Phase I:Entered validation and processing phase.
  INFO: Validation of Pcp.
  INFO: MinimumRequiredMsiVersion is 100.
  INFO: SEQUENCE_DATA_GENERATION_DISABLED is 0.
  INFO: ListOfPatchGUIDsToReplace is .
  INFO: ListOfTargetProductCodes is 
{D3DB714B-A0B7-4194-9979-99D1A4BCEB99}.
  INFO: MsiFileToUseToCreatePatchTables is .
  INFO: PatchGUID is {-A0B6-4B4F-BC2F-F12AF106C29E}.
  INFO: PatchOutputPath is F:\msCRM\msCRMWebSetupWiX\patch.msp.
  INFO: PatchSourceList is .
  INFO: PATCH_CACHE_DIR is .
  INFO: AllowDualPatch is 0.
  INFO: AllowProductCodeMismatches is 0.
  INFO: AllowProductVersionMajorMismatches is 0.
  INFO: ApiPatchingSymbolFlags is 0.
  INFO: DontRemoveTempFolderWhenFinished is 1.
  INFO: IncludeWholeFilesOnly is 0.
  INFO: PATCH_CACHE_ENABLED is 0.
  INFO: OptimizePatchSizeForLargeFiles is 0.
  INFO: META_DATA_GENERATION_DISABLED is 0.
  INFO: TrustMsi is 0.
  INFO: AllowLaxValidationFlags is 0.
  INFO: Phase III:Entering Prepare Files.
  ERROR: Could not create the patch authoring transform at path: 
C:\Users\Shmenutz\AppData\Local\Temp\~pcw_tmp.tmp\Patch_errorToPatch_fixed.MST.
  ERROR: The Last Error Received is: 232
  ERROR: The Last Error Received is: 1: 2223 2: 
F:\yyy\old\CRMWebSetup-2.0.msi 3:  4:  
  ERROR: Internal PatchWiz Error occurred.
  ERROR: The Last Error Received is: -1072803323


*


The code in the Patch file look like this :


?xml version='1.0' encoding='windows-1252'?
http://schemas.microsoft.com/wix/2003/01/wi'
  
PatchCreation Id='-A0B6-4B4F-BC2F-F12AF106C29E'
AllowMajorVersionMismatches='no' AllowProductCodeMismatches='no'
CleanWorkingFolder='no' WholeFilesOnly='no'

PatchInformation Description=Acme's Foobar 1.0.1 Patch 
Keywords='Installer'
  Comments='Foobar is a registered trademark of Acme Ltd.' 
Manufacturer='Acme Ltd.'
  Languages='1033' Compressed='yes' SummaryCodepage='1252' /

PatchMetadata Description=CRMWeb 2.1 Patch
  DisplayName='CRMWeb 2.1 Patch' TargetProductName='CRMWeb 2.1'
  ManufacturerName='misoft systems' MoreInfoURL='www.crmweb.biz'
  Classification='Update' AllowRemoval='yes' /
   
Family Name='Patch101' DiskId='2' MediaSrcProp='PatchSrcPropName' 
SequenceStart='1000'
  UpgradeImage Id='Patch_fixed' src='..\..\yyy\old\CRMWebSetup-2.0.msi'
TargetImage Id='Patch_error' Order='1' IgnoreMissingFiles='no' 
SourceFile='..\..\xxx\old\CRMWebSetup-2.0.msi' /
  /UpgradeImage
/Family

TargetProductCode Id='d3db714b-a0b7-4194-9979-99d1a4bceb99' /

  /PatchCreation  
  
/Wix


**

Any input from somebody ?
Thanks in advance.



Andrei PETRUT
mail :[EMAIL PROTECTED]



 

Sucker-punch spam with award-winning protection. 
Try the free Yahoo! Mail Beta.
http://advision.webevents.yahoo.com/mailbeta/features_spam.html-
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] Disallow uninstall if file in use

2007-07-05 Thread Bob Arnson

Man, Shirley wrote:
I see. I notice the temporary file (which was originally the running 
exe) gets deleted on next reboot, but the problem is, its parent 
directory (in my case, the INSTALLDIR) is not.

Is this a known MSI issue?


I don't know; I've never seen that before.

--
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] Patch Problem

2007-07-05 Thread Bob Arnson

Petrut Andrei wrote:
  ERROR: The Last Error Received is: 1: 2223 2: 
F:\yyy\old\CRMWebSetup-2.0.msi 3:  4: 


2223 is documented in the MSI SDK:

Database: [2]. Databases are the same. No transform generated.

--
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] Help localizing MSI

2007-07-05 Thread Bob Arnson

sandy wrote:
I've created an msi and I want it to choose the dialog string based on 
the installed OS culture.
For example if a user runs it on a german OS it should display the 
German Dialog and on a french OS it should display the french dialog. 
The dialog will remain same but I want to be able to change the 
language in which strings are displayed dynamically at the runtime.


Is it possible to do?


MSI doesn't support multilingual MSI packages. You can use 
language-specific transforms and a bootstrapper to turn one package into 
a language-specific one. The current WiX bootstrapper supports that 
scenario.


--
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] Performance counters not getting uninstalled properly

2007-07-05 Thread Amol



Well, the interesting thing is that I can use my installer to install the
app, and then manually do
an unlodctr app and it cleans out the counters perfectly.





Mike Dimmick-2 wrote:
 
 The Perflib key isn't very well designed in Windows; the very long
 REG_MULTI_SZ values are hard to maintain and you actually can't readily
 extract particular strings from the middle of the long string. In practice
 all you can do is append the new counters to the end, meaning that the
 Last
 Counter value increments on every installation.
 
 The WiX custom action is simply calling the LoadPerfCounterTextStrings API
 to install, and UnloadPerfCounterTextStrings to uninstall.
 
 Modern server software creates a very large number of counters. Right now
 the Last Counter value on my computer is set to 12532 - I have .NET
 Framework 1.1 and 2.0 installed, plus four instances of SQL Server (one of
 SQL Server 2000 for my SourceGear Vault source control database, another
 for
 test databases, a SQL Server 2005 Express Edition instance added by VS2005
 install and a SQL Server 2005 Developer Edition instance). Make sure your
 performance counter DLL can cope with six-digit (or greater) counter
 numbers.
 
 -- 
 Mike Dimmick
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Amol
 Sent: 05 July 2007 17:34
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Performance counters not getting uninstalled properly
 
 
 Hi,
 
 I am using the PerfCounter element to install perfcounters for a service.
 
 File Id=lodctr.ini
   DiskId=1
   Name=applod.ini
   LongName=app_lodctr.ini
   Source=$(var.stagingdir)\
   PerfCounter Name=app/
   /File
 
 This File element is under a Component that also creates the registry keys
 for the app in the appropriate places.
 
 However, on uninstall, while the registry keys do get deleted, the perflib
 key does not get updated to remove the information for my app.
 
 As a result, every time I install the application, it leaves vestiges of
 the
 last install in the registry and we end up with FUBARed counters
 (eventually. unfortunately it works for a long long time without any
 complaints).
 
 What I find is that uninstalling the 
 
 -- 
 View this message in context:
 http://www.nabble.com/Performance-counters-not-getting-uninstalled-properly-
 tf4030840.html#a11450046
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Performance-counters-not-getting-uninstalled-properly-tf4030840.html#a11454087
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


Re: [WiX-users] How to debug a CustomAction 1723 error ondll invocation?

2007-07-05 Thread Carter Sanders

Thanks for your help, Rob.


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


 Please keep the mailing list on the line…



Sorry about that - switched accounts and dropped the CC accidentally.

You have to call it before RemoveFiles executes.  Or you have to remove the

dependency.


I recommend the latter whenever possible.




I'm not sure how to remove the dependency. My issue is that I need to clear
out a directory of plugins at uninstall time, and the contents of this
directory are a mix of installed files and an unpredictable and arbitrarily
deep set of files and directories that were downloaded using an update
manager built into the product.

If you know of a better way to do this, I'd love to hear about it.

The custom dll reads the INSTALLDIR from the registry and does a recursive
delete of INSTALLDIR/plugins. I couldn't find some easy built in way to do
this in WiX, so I tried resorting to the custom dll.

To place the CA before RemoveFiles, I placed it before
RemoveRegistryValues, but I'm still seeing the same issue.

Thanks-
 Carter




*From:* Carter Sanders [mailto:[EMAIL PROTECTED]

*Sent:* Thursday, July 05, 2007 10:50 AM
*To:* Rob Mensching; Carter Sanders
*Subject:* RE: [WiX-users] How to debug a CustomAction 1723 error ondll
invocation?



Yes. The dll that is invoked is installed by the installer. Given that,
can you advise what would be the proper point in the install execute
sequence to call the action?



Thanks-

Carter



-
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] Annoying RemoveFolders problem

2007-07-05 Thread Pierson Lee (Volt)
I'm at my wit's end trying to figure out this RemoveFolders problem so any help 
will be greatly appreciated.

I am attempting to remove 2 folders that I created on install ONLY if all 3 
registry keys I'm checking for do not exist.

My Component for removeFolders looks like this:

Component Id=ShareAFolderRemoval Guid={MY-GUID-HERE} 
Condition(NOT (KEY1_EXISTS=1) OR NOT (KEY2_EXISTS=1) OR NOT 
(KEY3_EXISTS=1)) AND Installed/Condition
  RemoveFolder Id=ShareA_RemoveFolder Directory=ShareADir 
On=uninstall /
  RemoveFolder Id=ShareB_RemoveFolder Directory=ShareBDir 
On=uninstall/
/Component

Unfortunately, every time I run the uninstall it will remove the folders even 
when the key . My next step is during the folder creation process, to set those 
components to Permanent=yes but that causes the folders not to be removed.


Any one have any suggestions?

Thanks
--Pierson
-
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] Support for Build type in WIX

2007-07-05 Thread yapuro

Hi,

 

I created a new WIX project in VS 2005. I want to pickup files of a windows
application project as the source files. But is there a property\variable i
can directly use to get the build type('Debug' or 'Release').
For example i want to get the files inside 'RenderingService\bin\Debug' or
'RenderingService\bin\Release'  based upon the build type of the visual
studio solution. How can i achieve this. I tried the following but it didnt
work.

?define SOURCEFILES=..\RenderingService\bin\$(var.Configuration)?

Can anyone tell me whether there is a property\variable we can use to
distinguish build type?

Thanks,
Yash


-- 
View this message in context: 
http://www.nabble.com/Support-for-Build-type-in-WIX-tf4033037.html#a11456898
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