Re: [WiX-users] How to specify a envirorment variable dir

2006-11-30 Thread Jeff MacDuff
Oh that's it?

 

S easy!

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 29, 2006 5:12 PM
To: Jeff MacDuff
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Jeff MacDuff wrote: 

Sorry could you point me in the right direction.. never used type 51 ?


You need to define the custom action:

CustomAction Id=Foo Property=MYDIRECTORY Value=[%variable]\Bar /

then schedule it:

InstallExecuteSequence
  Custom Id=Foo After=CostFinalize /
/InstallExecuteSequence





-- 
 
sig://boB
 
http://bobs.org
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to specify a envirorment variable dir

2006-11-30 Thread Jeff MacDuff
I spoke too soon as I cant get this work... here is the syntax I am
using:

 

1.   For the install directory, I am using this: Directory
Id=PublicFolder Name=PubPic LongName=PublicPicturesDir 

 

2.   For the custom action I am using this:  CustomAction
Id=GetPublicPicturesFolder Property=PublicPicturesDir
Value=[%public%]\Pictures /

 

3.   For the install sequence I am using this: Custom
Action=GetPublicPicturesFolder After=CostFinalize /

 

 

What I see, is the property is set to \pictures at install time.. the
[%public%] is lost completely. Also orca doesn't show the dir in the
propertys section at all.

 

Do I need to further define the property some how?

 

From: Jeff MacDuff 
Sent: Thursday, November 30, 2006 8:32 AM
To: 'Bob Arnson'
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

Oh that's it?

 

S easy!

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 29, 2006 5:12 PM
To: Jeff MacDuff
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Jeff MacDuff wrote: 

Sorry could you point me in the right direction.. never used type 51 ?


You need to define the custom action:

CustomAction Id=Foo Property=MYDIRECTORY Value=[%variable]\Bar /

then schedule it:

InstallExecuteSequence
  Custom Id=Foo After=CostFinalize /
/InstallExecuteSequence




-- 
 
sig://boB
 
http://bobs.org
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to specify a envirorment variable dir

2006-11-29 Thread Jeff MacDuff
Sorry could you point me in the right direction.. never used type 51 ?

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, November 29, 2006 10:41 AM
To: Jeff MacDuff
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Jeff MacDuff wrote: 

I have some existing code that calls MsiSetProperty() ... couldn't I
just call that, set a property, and then use that property with the MSI?


No code is necessary. CustomAction/@Property,@Value creates a type 51 CA
which does exactly what you need.





-- 
 
sig://boB
 
http://bobs.org
-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to specify a envirorment variable dir

2006-11-28 Thread Jeff MacDuff
Does anyone else have a method to install to a directory that isn't a
named directory?

 

Surely I can somehow set the path based on environment variable? Is
there a expand method within wix?

 

Thanks,

JEff

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 3:40 PM
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Here is the log entry:

 

MSI (c) (44:78) [13:58:30:775]: PROPERTY CHANGE: Modifying ALLUSERS
property. Its current value is '2'. Its new value: '1'.

 

From: Rob Mensching 
Sent: Monday, November 27, 2006 3:39 PM
To: Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

What does your log file say the value for ALLUSERS is?  If it isn't 1,
then you're not doing a per-machine install and you won't get the All
Users profile to install into.

 

From: Jeff MacDuff 
Sent: Monday, November 27, 2006 15:26
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

It should be per machine... is there a good way to tell?

 

From: Rob Mensching 
Sent: Monday, November 27, 2006 3:24 PM
To: Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

Jeff, are you doing a per-machine or a per-user install?

 

From: Jeff MacDuff 
Sent: Monday, November 27, 2006 15:14
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

Looks like Windows SDK: KnownFolders.h has the list of folders.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 2:10 PM
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

No I don't off the bat... but I know that users\public\pictures is one
of em J

 

I will send some offline email and see if I can dig it up... no
promises.

 

From: Rob Mensching 
Sent: Monday, November 27, 2006 2:10 PM
To: Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

I've been considering the need to create a standard CustomAction to
process all the new standard directories on Vista.  It sounds like we'll
need to do that.  Jeff, do you have a pointer to the documentation that
points at all the new standard folders provided by the Vista shell?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 14:04
To: Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Ok that worked, I now see all the propertys However there is no
property set for c:\users\public.

 

So since there isn't a MSI property I can latch on too... is there
another method?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:56 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Try specifying l*v instead of lv.

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED]  wrote:

Ok I ran the verbose install like this:

 

msiexec /i foo.msi /lv foo.txt however I didn't see anything in the log
that shows all the propertys? I did look for the value (
c:\users\public) but it wasn't listed at all.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:16 PM


To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

My other idea:  try a verbose install on vista (my vista vm isn't
running right now, or I'd try it for you).  Take a look at the
properties at the end of the log, is the property you need in there
somewhere?  You might be able to use it the same way. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote:

The problem is that it's not in the list.

 

Users\public is new common directory introduced in Vista, it's there
on every install.. if my user name was joe I would also have users\joe
was well.

 

The pubic folder contains music / docs / etc that all users inherit . 

 

Since it's not a named folder is there another way to expand the
variable? 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 12:03 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Jeff:

If it's in the following list, you can use it relatively easily.
http://msdn2.microsoft.com/en-gb/library/aa372057.aspx 

The directory structure would look something like what is below (just
the beginning, you should be able to fill in the rest

[WiX-users] How to specify a envirorment variable dir

2006-11-27 Thread Jeff MacDuff
I need to install some sample content into the %public%\pictures folder
on the target machine but I am unsure how to do this. 

 

How do I specify a environment variable path for a directory element? 

 

Thanks,

Jeff

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to specify a envirorment variable dir

2006-11-27 Thread Jeff MacDuff
Any help?

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 7:22 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to specify a envirorment variable dir

 

I need to install some sample content into the %public%\pictures folder
on the target machine but I am unsure how to do this. 

 

How do I specify a environment variable path for a directory element? 

 

Thanks,

Jeff

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to specify a envirorment variable dir

2006-11-27 Thread Jeff MacDuff
The problem is that it's not in the list.

 

Users\public is new common directory introduced in Vista, it's there
on every install.. if my user name was joe I would also have users\joe
was well.

 

The pubic folder contains music / docs / etc that all users inherit . 

 

Since it's not a named folder is there another way to expand the
variable? 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 12:03 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Jeff:

If it's in the following list, you can use it relatively easily.
http://msdn2.microsoft.com/en-gb/library/aa372057.aspx 

The directory structure would look something like what is below (just
the beginning, you should be able to fill in the rest.
Directory Id='TARGETDIR' Name='SourceDir'
 Directory Id='ProgramFilesFolder' Name='PFiles'   ---
this is the important part, change the id to match what you find in the
msdn link above. 

Dana



On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote: 

Any help?

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 7:22 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to specify a envirorment variable dir

 

I need to install some sample content into the %public%\pictures folder
on the target machine but I am unsure how to do this. 

 

How do I specify a environment variable path for a directory element? 

 

Thanks,

Jeff



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V 

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



 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to specify a envirorment variable dir

2006-11-27 Thread Jeff MacDuff
Ok I ran the verbose install like this:

 

msiexec /i foo.msi /lv foo.txt however I didn't see anything in the log
that shows all the propertys? I did look for the value (
c:\users\public) but it wasn't listed at all.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:16 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

My other idea:  try a verbose install on vista (my vista vm isn't
running right now, or I'd try it for you).  Take a look at the
properties at the end of the log, is the property you need in there
somewhere?  You might be able to use it the same way. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote:

The problem is that it's not in the list.

 

Users\public is new common directory introduced in Vista, it's there
on every install.. if my user name was joe I would also have users\joe
was well.

 

The pubic folder contains music / docs / etc that all users inherit . 

 

Since it's not a named folder is there another way to expand the
variable? 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 12:03 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Jeff:

If it's in the following list, you can use it relatively easily.
http://msdn2.microsoft.com/en-gb/library/aa372057.aspx 

The directory structure would look something like what is below (just
the beginning, you should be able to fill in the rest.
Directory Id='TARGETDIR' Name='SourceDir'
 Directory Id='ProgramFilesFolder' Name='PFiles'   ---
this is the important part, change the id to match what you find in the
msdn link above. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote: 

Any help?

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 7:22 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to specify a envirorment variable dir

 

I need to install some sample content into the %public%\pictures folder
on the target machine but I am unsure how to do this. 

 

How do I specify a environment variable path for a directory element? 

 

Thanks,

Jeff



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V 

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

 

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to specify a envirorment variable dir

2006-11-27 Thread Jeff MacDuff
Ok that worked, I now see all the propertys However there is no
property set for c:\users\public.

 

So since there isn't a MSI property I can latch on too... is there
another method?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:56 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Try specifying l*v instead of lv.

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED]  wrote:

Ok I ran the verbose install like this:

 

msiexec /i foo.msi /lv foo.txt however I didn't see anything in the log
that shows all the propertys? I did look for the value (
c:\users\public) but it wasn't listed at all.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:16 PM


To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

My other idea:  try a verbose install on vista (my vista vm isn't
running right now, or I'd try it for you).  Take a look at the
properties at the end of the log, is the property you need in there
somewhere?  You might be able to use it the same way. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote:

The problem is that it's not in the list.

 

Users\public is new common directory introduced in Vista, it's there
on every install.. if my user name was joe I would also have users\joe
was well.

 

The pubic folder contains music / docs / etc that all users inherit . 

 

Since it's not a named folder is there another way to expand the
variable? 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 12:03 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Jeff:

If it's in the following list, you can use it relatively easily.
http://msdn2.microsoft.com/en-gb/library/aa372057.aspx 

The directory structure would look something like what is below (just
the beginning, you should be able to fill in the rest.
Directory Id='TARGETDIR' Name='SourceDir'
 Directory Id='ProgramFilesFolder' Name='PFiles'   ---
this is the important part, change the id to match what you find in the
msdn link above. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote: 

Any help?

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 7:22 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to specify a envirorment variable dir

 

I need to install some sample content into the %public%\pictures folder
on the target machine but I am unsure how to do this. 

 

How do I specify a environment variable path for a directory element? 

 

Thanks,

Jeff



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V 

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

 

 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V 

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



 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to specify a envirorment variable dir

2006-11-27 Thread Jeff MacDuff
No I don't off the bat... but I know that users\public\pictures is one
of em J

 

I will send some offline email and see if I can dig it up... no
promises.

 

From: Rob Mensching 
Sent: Monday, November 27, 2006 2:10 PM
To: Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

I've been considering the need to create a standard CustomAction to
process all the new standard directories on Vista.  It sounds like we'll
need to do that.  Jeff, do you have a pointer to the documentation that
points at all the new standard folders provided by the Vista shell?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 14:04
To: Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Ok that worked, I now see all the propertys However there is no
property set for c:\users\public.

 

So since there isn't a MSI property I can latch on too... is there
another method?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:56 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Try specifying l*v instead of lv.

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED]  wrote:

Ok I ran the verbose install like this:

 

msiexec /i foo.msi /lv foo.txt however I didn't see anything in the log
that shows all the propertys? I did look for the value (
c:\users\public) but it wasn't listed at all.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:16 PM


To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

My other idea:  try a verbose install on vista (my vista vm isn't
running right now, or I'd try it for you).  Take a look at the
properties at the end of the log, is the property you need in there
somewhere?  You might be able to use it the same way. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote:

The problem is that it's not in the list.

 

Users\public is new common directory introduced in Vista, it's there
on every install.. if my user name was joe I would also have users\joe
was well.

 

The pubic folder contains music / docs / etc that all users inherit . 

 

Since it's not a named folder is there another way to expand the
variable? 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 12:03 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Jeff:

If it's in the following list, you can use it relatively easily.
http://msdn2.microsoft.com/en-gb/library/aa372057.aspx 

The directory structure would look something like what is below (just
the beginning, you should be able to fill in the rest.
Directory Id='TARGETDIR' Name='SourceDir'
 Directory Id='ProgramFilesFolder' Name='PFiles'   ---
this is the important part, change the id to match what you find in the
msdn link above. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote: 

Any help?

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 7:22 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to specify a envirorment variable dir

 

I need to install some sample content into the %public%\pictures folder
on the target machine but I am unsure how to do this. 

 

How do I specify a environment variable path for a directory element? 

 

Thanks,

Jeff



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V 

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

 

 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V 

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

 

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys - and earn cash

Re: [WiX-users] How to specify a envirorment variable dir

2006-11-27 Thread Jeff MacDuff
The log file I just ran shows the MyPicturesFolder mapping to the
current users folder, not the users\public\pictures folder which would
be the machine wide pictures folder.

 

The documentation also states that.

 

From: Mike Dimmick [mailto:[EMAIL PROTECTED] 
Sent: Monday, November 27, 2006 2:19 PM
To: Jeff MacDuff; Rob Mensching; 'Dana Gutride';
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

Is this not the place that MyPicturesFolder maps to if you're doing a
per-machine install?

 

-- 

Mike Dimmick

 



From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: 27 November 2006 22:10
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

No I don't off the bat... but I know that users\public\pictures is one
of em J

 

I will send some offline email and see if I can dig it up... no
promises.

 

From: Rob Mensching 
Sent: Monday, November 27, 2006 2:10 PM
To: Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

I've been considering the need to create a standard CustomAction to
process all the new standard directories on Vista.  It sounds like we'll
need to do that.  Jeff, do you have a pointer to the documentation that
points at all the new standard folders provided by the Vista shell?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 14:04
To: Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Ok that worked, I now see all the propertys However there is no
property set for c:\users\public.

 

So since there isn't a MSI property I can latch on too... is there
another method?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:56 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Try specifying l*v instead of lv.

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED]  wrote:

Ok I ran the verbose install like this:

 

msiexec /i foo.msi /lv foo.txt however I didn't see anything in the log
that shows all the propertys? I did look for the value (
c:\users\public) but it wasn't listed at all.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:16 PM


To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

My other idea:  try a verbose install on vista (my vista vm isn't
running right now, or I'd try it for you).  Take a look at the
properties at the end of the log, is the property you need in there
somewhere?  You might be able to use it the same way. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote:

The problem is that it's not in the list.

 

Users\public is new common directory introduced in Vista, it's there
on every install.. if my user name was joe I would also have users\joe
was well.

 

The pubic folder contains music / docs / etc that all users inherit . 

 

Since it's not a named folder is there another way to expand the
variable? 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 12:03 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Jeff:

If it's in the following list, you can use it relatively easily.
http://msdn2.microsoft.com/en-gb/library/aa372057.aspx 

The directory structure would look something like what is below (just
the beginning, you should be able to fill in the rest.
Directory Id='TARGETDIR' Name='SourceDir'
 Directory Id='ProgramFilesFolder' Name='PFiles'   ---
this is the important part, change the id to match what you find in the
msdn link above. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote: 

Any help?

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 7:22 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to specify a envirorment variable dir

 

I need to install some sample content into the %public%\pictures folder
on the target machine but I am unsure how to do this. 

 

How do I specify a environment variable path for a directory element? 

 

Thanks,

Jeff



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V 

___
WiX-users mailing list
WiX-users@lists.sourceforge.net

Re: [WiX-users] How to specify a envirorment variable dir

2006-11-27 Thread Jeff MacDuff
Looks like Windows SDK: KnownFolders.h has the list of folders.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 2:10 PM
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

No I don't off the bat... but I know that users\public\pictures is one
of em J

 

I will send some offline email and see if I can dig it up... no
promises.

 

From: Rob Mensching 
Sent: Monday, November 27, 2006 2:10 PM
To: Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

I've been considering the need to create a standard CustomAction to
process all the new standard directories on Vista.  It sounds like we'll
need to do that.  Jeff, do you have a pointer to the documentation that
points at all the new standard folders provided by the Vista shell?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 14:04
To: Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Ok that worked, I now see all the propertys However there is no
property set for c:\users\public.

 

So since there isn't a MSI property I can latch on too... is there
another method?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:56 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Try specifying l*v instead of lv.

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED]  wrote:

Ok I ran the verbose install like this:

 

msiexec /i foo.msi /lv foo.txt however I didn't see anything in the log
that shows all the propertys? I did look for the value (
c:\users\public) but it wasn't listed at all.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:16 PM


To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

My other idea:  try a verbose install on vista (my vista vm isn't
running right now, or I'd try it for you).  Take a look at the
properties at the end of the log, is the property you need in there
somewhere?  You might be able to use it the same way. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote:

The problem is that it's not in the list.

 

Users\public is new common directory introduced in Vista, it's there
on every install.. if my user name was joe I would also have users\joe
was well.

 

The pubic folder contains music / docs / etc that all users inherit . 

 

Since it's not a named folder is there another way to expand the
variable? 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 12:03 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Jeff:

If it's in the following list, you can use it relatively easily.
http://msdn2.microsoft.com/en-gb/library/aa372057.aspx 

The directory structure would look something like what is below (just
the beginning, you should be able to fill in the rest.
Directory Id='TARGETDIR' Name='SourceDir'
 Directory Id='ProgramFilesFolder' Name='PFiles'   ---
this is the important part, change the id to match what you find in the
msdn link above. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote: 

Any help?

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 7:22 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to specify a envirorment variable dir

 

I need to install some sample content into the %public%\pictures folder
on the target machine but I am unsure how to do this. 

 

How do I specify a environment variable path for a directory element? 

 

Thanks,

Jeff



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V 

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

 

 



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V 

___
WiX-users mailing list
WiX-users@lists.sourceforge.net 
https

Re: [WiX-users] How to specify a envirorment variable dir

2006-11-27 Thread Jeff MacDuff
It should be per machine... is there a good way to tell?

 

From: Rob Mensching 
Sent: Monday, November 27, 2006 3:24 PM
To: Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

Jeff, are you doing a per-machine or a per-user install?

 

From: Jeff MacDuff 
Sent: Monday, November 27, 2006 15:14
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

Looks like Windows SDK: KnownFolders.h has the list of folders.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 2:10 PM
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

No I don't off the bat... but I know that users\public\pictures is one
of em J

 

I will send some offline email and see if I can dig it up... no
promises.

 

From: Rob Mensching 
Sent: Monday, November 27, 2006 2:10 PM
To: Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

I've been considering the need to create a standard CustomAction to
process all the new standard directories on Vista.  It sounds like we'll
need to do that.  Jeff, do you have a pointer to the documentation that
points at all the new standard folders provided by the Vista shell?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 14:04
To: Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Ok that worked, I now see all the propertys However there is no
property set for c:\users\public.

 

So since there isn't a MSI property I can latch on too... is there
another method?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:56 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Try specifying l*v instead of lv.

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED]  wrote:

Ok I ran the verbose install like this:

 

msiexec /i foo.msi /lv foo.txt however I didn't see anything in the log
that shows all the propertys? I did look for the value (
c:\users\public) but it wasn't listed at all.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:16 PM


To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

My other idea:  try a verbose install on vista (my vista vm isn't
running right now, or I'd try it for you).  Take a look at the
properties at the end of the log, is the property you need in there
somewhere?  You might be able to use it the same way. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote:

The problem is that it's not in the list.

 

Users\public is new common directory introduced in Vista, it's there
on every install.. if my user name was joe I would also have users\joe
was well.

 

The pubic folder contains music / docs / etc that all users inherit . 

 

Since it's not a named folder is there another way to expand the
variable? 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 12:03 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Jeff:

If it's in the following list, you can use it relatively easily.
http://msdn2.microsoft.com/en-gb/library/aa372057.aspx 

The directory structure would look something like what is below (just
the beginning, you should be able to fill in the rest.
Directory Id='TARGETDIR' Name='SourceDir'
 Directory Id='ProgramFilesFolder' Name='PFiles'   ---
this is the important part, change the id to match what you find in the
msdn link above. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote: 

Any help?

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 7:22 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to specify a envirorment variable dir

 

I need to install some sample content into the %public%\pictures folder
on the target machine but I am unsure how to do this. 

 

How do I specify a environment variable path for a directory element? 

 

Thanks,

Jeff



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys - and earn cash 
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V 

___
WiX-users mailing list
WiX-users@lists.sourceforge.net 
https

Re: [WiX-users] How to specify a envirorment variable dir

2006-11-27 Thread Jeff MacDuff
Here is the log entry:

 

MSI (c) (44:78) [13:58:30:775]: PROPERTY CHANGE: Modifying ALLUSERS
property. Its current value is '2'. Its new value: '1'.

 

From: Rob Mensching 
Sent: Monday, November 27, 2006 3:39 PM
To: Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

What does your log file say the value for ALLUSERS is?  If it isn't 1,
then you're not doing a per-machine install and you won't get the All
Users profile to install into.

 

From: Jeff MacDuff 
Sent: Monday, November 27, 2006 15:26
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

It should be per machine... is there a good way to tell?

 

From: Rob Mensching 
Sent: Monday, November 27, 2006 3:24 PM
To: Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

Jeff, are you doing a per-machine or a per-user install?

 

From: Jeff MacDuff 
Sent: Monday, November 27, 2006 15:14
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

Looks like Windows SDK: KnownFolders.h has the list of folders.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 2:10 PM
To: Rob Mensching; Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

No I don't off the bat... but I know that users\public\pictures is one
of em J

 

I will send some offline email and see if I can dig it up... no
promises.

 

From: Rob Mensching 
Sent: Monday, November 27, 2006 2:10 PM
To: Jeff MacDuff; Dana Gutride; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to specify a envirorment variable dir

 

I've been considering the need to create a standard CustomAction to
process all the new standard directories on Vista.  It sounds like we'll
need to do that.  Jeff, do you have a pointer to the documentation that
points at all the new standard folders provided by the Vista shell?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 14:04
To: Dana Gutride; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Ok that worked, I now see all the propertys However there is no
property set for c:\users\public.

 

So since there isn't a MSI property I can latch on too... is there
another method?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:56 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Try specifying l*v instead of lv.

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED]  wrote:

Ok I ran the verbose install like this:

 

msiexec /i foo.msi /lv foo.txt however I didn't see anything in the log
that shows all the propertys? I did look for the value (
c:\users\public) but it wasn't listed at all.

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 1:16 PM


To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

My other idea:  try a verbose install on vista (my vista vm isn't
running right now, or I'd try it for you).  Take a look at the
properties at the end of the log, is the property you need in there
somewhere?  You might be able to use it the same way. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote:

The problem is that it's not in the list.

 

Users\public is new common directory introduced in Vista, it's there
on every install.. if my user name was joe I would also have users\joe
was well.

 

The pubic folder contains music / docs / etc that all users inherit . 

 

Since it's not a named folder is there another way to expand the
variable? 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Dana
Gutride
Sent: Monday, November 27, 2006 12:03 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Jeff:

If it's in the following list, you can use it relatively easily.
http://msdn2.microsoft.com/en-gb/library/aa372057.aspx 

The directory structure would look something like what is below (just
the beginning, you should be able to fill in the rest.
Directory Id='TARGETDIR' Name='SourceDir'
 Directory Id='ProgramFilesFolder' Name='PFiles'   ---
this is the important part, change the id to match what you find in the
msdn link above. 

Dana

On 11/27/06, Jeff MacDuff [EMAIL PROTECTED] wrote: 

Any help?

 

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 27, 2006 7:22 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to specify

Re: [WiX-users] How to prompt to terminate process on uninstall

2006-11-06 Thread Jeff MacDuff








Ok a follow up question,



Where do I put the uninstall
custom action at in the Wix file? 



My wix file doesnt contain any kind
of remove / uninstall sections from what I can tell?



-JEff







From: Rob Mensching 
Sent: Thursday, October 26, 2006 1:02 PM
To: Jeff MacDuff; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to prompt to terminate process on uninstall







wix\ src\ca\wixca\dll\CloseApps.cpp







From: Jeff MacDuff 
Sent: Thursday, October 26, 2006 12:58
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to prompt to terminate process on uninstall







Ahh ok.. I understand.



Can you tell me more about this
CloseApps CA ? Is this an existing item I can just hook into?







From: Rob Mensching 
Sent: Thursday, October 26, 2006 12:58 PM
To: Jeff MacDuff; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to prompt to terminate process on uninstall







Youd have to use a CustomAction like CloseApps to kill off more
than just those files that are held in use by a process with a visible window.







From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jeff MacDuff
Sent: Thursday, October 26, 2006 12:53
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to prompt to terminate process on uninstall







What is the correct method in the WIX file to list the
process names that should / need to be killed before uninstall occurs?



What we are seeing is that if process A is running the MSI
at uninstall time will uninstall all of the other files ( dlls / xmls / etc )
and then prompt the user to reboot. At reboot the process A is removed.



The bug is that if the user chooses not to reboot.. and
clicks on the process A systray icon this will cause process A to crash since
its dependent files are now gone.



How do I tell the MSI uninstall process to kill process A ?



Thanks,

Jeff






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to prompt to terminate process on uninstall

2006-10-26 Thread Jeff MacDuff








What is the correct method in the WIX file to list the
process names that should / need to be killed before uninstall occurs?



What we are seeing is that if process A is running
the MSI at uninstall time will uninstall all of the other files ( dlls /
xmls / etc ) and then prompt the user to reboot. At reboot the process A
is removed.



The bug is that if the user chooses not to reboot.. and
clicks on the process A systray icon this will cause process A to crash since
its dependent files are now gone.



How do I tell the MSI uninstall process to kill process A ?



Thanks,

Jeff






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to prompt to terminate process on uninstall

2006-10-26 Thread Jeff MacDuff








Ahh ok.. I understand.



Can you tell me more about this
CloseApps CA ? Is this an existing item I can just hook into?







From: Rob Mensching 
Sent: Thursday, October 26, 2006 12:58 PM
To: Jeff MacDuff; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to prompt to terminate process on uninstall







Youd have to use a CustomAction like CloseApps to kill off more
than just those files that are held in use by a process with a visible window.







From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Thursday, October 26, 2006 12:53
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] How to prompt to terminate process on uninstall







What is the correct method in the WIX file to list the
process names that should / need to be killed before uninstall occurs?



What we are seeing is that if process A is running the MSI
at uninstall time will uninstall all of the other files ( dlls / xmls / etc )
and then prompt the user to reboot. At reboot the process A is removed.



The bug is that if the user chooses not to reboot.. and
clicks on the process A systray icon this will cause process A to crash since
its dependent files are now gone.



How do I tell the MSI uninstall process to kill process A ?



Thanks,

Jeff






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Best way to generate GUIDS ?

2006-10-16 Thread Jeff MacDuff








This is probably a dumb question, but whats the best
way to generate GUIDS for component IDS for a wix file?



I have an existing file I need to go add a bunch of features
too.. whats the proper way to generate all those new GUIDs I
need?



Thanks,

Jeff






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] What is KeyPath in refrence to Registry keys

2006-10-16 Thread Jeff MacDuff








I am trying to port some Wix from one file to another, in
the V1 file  there are about 100 registry keys and each one with its
individual component ID. I would like to consolidate all of the registry keys
into 1 component.



However, I can only list one of the keys with a KeyPath=yes
but I dont know what keypath is or what its behavior is . Looking
at the help file the definition is: 



Set
this attribute to 'yes' to make this registry key the KeyPath of the parent
component. Only one resource (registry, file, etc) can be the KeyPath of a
component.





So currently I am trying to figure out what keypath refers
too? I cant find any more info on it and why it would be bad if
the value is no.



-Jeff






-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnkkid=120709bid=263057dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Add run key entry in Vista?

2006-10-09 Thread Jeff MacDuff








So if we make the MSI install for all
users.. we should be able to create a new run key entry without hitting the
redirection problems?











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Friday, October 06, 2006
7:49 PM
To: Jeff MacDuff
Cc:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Add run
key entry in Vista?





Jeff MacDuff wrote: 

I
need to add my application to the HKLM\windows\currentversion\Run key in the
registry so that my app will start at every boot up for users.



In Vista,
I am having trouble setting this key through the MSI without it getting
re-directed to the virtual store ( which of course doesnt help me ).


Is ALLUSERS set to 1? If a package is per-user, Vista
redirection kicks in.




-- sig://boBhttp://bobs.org




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Add run key entry in Vista?

2006-10-06 Thread Jeff MacDuff








I need to add my application to the HKLM\windows\currentversion\Run
key in the registry so that my app will start at every boot up for users.



In Vista, I am having
trouble setting this key through the MSI without it getting re-directed to the
virtual store ( which of course doesnt help me ).



Does anyone know the by design / proper way to do this in
vista? 



Thanks,

Jeff






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Error setting target through command line

2006-09-28 Thread Jeff MacDuff








I am trying to the TARGETDIR through the cmd line when
running my MSI but it gets completely ignored. Some customers
might need to overwrite the default value so they have requested this msiexec
function to work.



The syntax I am using is msiexec /I foo.msi TARGETDIR=c:\temp



Is there any trick to getting this to work?



Thanks for the help,

Jeff 






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error setting target through command line

2006-09-28 Thread Jeff MacDuff








Ok so that worked, if I do that syntax
with the  I see in the log file where the targetdir gets
set however it still installs to the program files directory.



I then tried setting the
ProgramFilesFolder to c:\temp.. again the logfile shows it being set but it
still resolves the real one.



Is there a trick to making this work?













From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Matthew Janulewicz
Sent: Thursday, September 28, 2006
4:06 PM
To: Jeff MacDuff;
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Error
setting target through command line





Try this:



TARGETDIR=c:\temp



I cant find any documentation to
corroborate it, but all the auto-deployment scripts I have set public
properties with quotes, even when there are no spaces or odd characters in it.
I must have done that for some reason when I wrote them months and months ago,
no?





-Matt











From: Jeff MacDuff
[mailto:[EMAIL PROTECTED] 
Sent: Thursday, September 28, 2006
3:22 PM
To:
wix-users@lists.sourceforge.net
Subject: [WiX-users] Error setting
target through command line





I am trying to the TARGETDIR through the cmd line when
running my MSI but it gets completely ignored. Some customers
might need to overwrite the default value so they have requested this msiexec
function to work.



The syntax I am using is msiexec /I foo.msi
TARGETDIR=c:\temp



Is there any trick to getting this to work?



Thanks for the help,

Jeff 






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Quick question on upgrade checking

2006-09-26 Thread Jeff MacDuff








Ok my MSI log file doesnt have a
entry for RemoveExistingProducts



So that would seem to suggest that its finding
the product but its not getting removed.



Here is my current syntax:



 Upgrade Id=C9BD4428-98AC-4AD0-9646-4E212B1BB770

 UpgradeVersion RemoveFeatures=All Property=MyUpgrade IgnoreRemoveFailure=yes Maximum=2.0.0   Minimum=1.0.0 ExcludeLanguages=yes /

 /Upgrade







In my InstallExecuteSequence I have this
reference:



 RemoveExistingProducts After=InstallFinalize![CDATA[(MyUpgrade 
C9BD4428-98AC-4AD0-9646-4E212B1BB770 AND (DefaultFeature = 3))]]/RemoveExistingProducts





Please note that I inherited this J



Does this look right?



-Jeff











From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 25, 2006
11:24 PM
To: Jeff MacDuff
Cc: Wilson, Phil;
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question
on upgrade checking





Jeff MacDuff wrote: 

Is a previous version is detected, whats the action
the MSI takes?

It depends on what's in the Upgrade table.
FindRelatedProducts finds the products; RemoveExistingProducts removes the
features specified (or all if not). But RemoveExistingProducts doesn't provide
UI.




-- sig://boBhttp://bobs.org




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Quick question on upgrade checking

2006-09-26 Thread Jeff MacDuff








So would the new syntax be this?





 RemoveExistingProducts After=InstallFinalize/RemoveExistingProducts













From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 26, 2006
9:02 AM
To: Jeff MacDuff
Cc: Wilson, Phil;
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick
question on upgrade checking





Jeff MacDuff wrote: 

In my InstallExecuteSequence I have this reference:




RemoveExistingProducts After=InstallFinalize![CDATA[(MyUpgrade 
C9BD4428-98AC-4AD0-9646-4E212B1BB770 AND (DefaultFeature = 3))]]/RemoveExistingProducts

As the Mythbusters say, There's your problem
right there.g The property MyUpgrade is set to the product code of the old product being upgraded.
Likely, your German product has a different product code so
RemoveExistingProducts is suppressed. I'd suggest getting rid of the product
code in the condition -- just use a bare MyUpgrade and the feature-action-state
check. Though you can even skip that -- RemoveExistingProducts is smart enough
to do nothing if no products were found during FindRelatedProducts.





-- sig://boBhttp://bobs.org




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Quick question on upgrade checking

2006-09-26 Thread Jeff MacDuff








That did it it now uninstalls!



Two follow up questions:




 Is
 there a mechanism to prompt the user if they want to uninstall or not
 Can
 I move the uninstall up in the order of things.. so it happens at the
 start of the install and not after.












From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Tuesday, September 26, 2006
10:22 AM
To: Jeff MacDuff
Cc: Wilson, Phil;
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick
question on upgrade checking





Jeff MacDuff wrote: 

So would the new syntax be this?






RemoveExistingProducts After=InstallFinalize/RemoveExistingProducts

Or

RemoveExistingProducts After=InstallFinalize /


Assuming you have only one feature (DefaultFeature), you don't need to check
its install state.





-- sig://boBhttp://bobs.org




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Quick question on upgrade checking

2006-09-26 Thread Jeff MacDuff








Ok thanks for all the info.











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Tuesday, September 26, 2006
10:56 AM
To: Jeff MacDuff
Cc: Wilson, Phil; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick
question on upgrade checking





Jeff MacDuff wrote: 


 Is there a mechanism to prompt the user if they want to
 uninstall or not


Yes. You'll need to create a dialog and schedule it
early in the UI sequence, conditioned on the property you use in
UpgradeVersion. It can be a simple dialog with Upgrade and Cancel buttons.
Upgrade would do nothing as the upgrade happens later; Cancel should be able to
exit with something like this:

Publish Event=EndDialog
Value=Exit1/Publish




 Can
 I move the uninstall up in the order of things.. so it happens at the
 start of the install and not after.


Yes. That's controlled by the After attribute. See http://msdn.microsoft.com/library/default.asp?url="">
for a list of possible sequences.




-- sig://boBhttp://bobs.org




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Quick question on upgrade checking

2006-09-25 Thread Jeff MacDuff








Ok so I have gone through the logs a few
times



In the FindRelatedProducts section of the
MSI it does find 1 related product however the GUID it lists is the ProductCode
of the Old ( V1) MSI not the UpgradeCode.



From reading WIX , it was my understanding
that the new MSI (V2) should list the UpgradeCode and not the ProductCode ?











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Monday, September 25, 2006
10:08 AM
To: Jeff MacDuff
Cc: Wilson, Phil;
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick
question on upgrade checking





Jeff MacDuff wrote: 

The overall goal is that anytime I install the new package, it shouldprompt to remove the old package regardless of language.So if I have a English OS , with a DEU old package installed.. and I runthe new DEU package on this OS it should prompt me.That's the case I am testing and it never finds the old package. 

Two suggestions:

1. Check a verbose log; the FindRelatedProducts action reports a fair bit of
information for products it checks for relevance based on the Upgrade table
row's attributes.
2. See if the following excerpt from the FindRelatedProdcuts doc applies to
you:

FindRelatedProducts
only recognizes existing products that have been installed using the Windows
Installer with an .msi that defines an UpgradeCode property, a ProductVersion
property, and a value for the ProductLanguage property that is one of
the languages listed in the Template
Summary Property.

Note
that FindRelatedProducts uses the language returned by MsiGetProductInfo.
For FindRelatedProducts to work correctly, the package author must be sure that
the ProductLanguage
property in the Property table is set to a
language that is also listed in the Template Summary Property. See Preparing an
Application for Future Major Upgrades.





-- sig://boBhttp://bobs.org




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Quick question on upgrade checking

2006-09-25 Thread Jeff MacDuff








Is a previous version is detected, whats
the action the MSI takes?











From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Monday, September 25, 2006
9:28 PM
To: Jeff MacDuff
Cc: Wilson, Phil; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick
question on upgrade checking





Jeff MacDuff wrote: 

Thats the weird thing, I am not doing anything special
for English.. theres no English special syntax I dont believe.

Earlier you mentioned prompting for the upgrade; MSI
doesn't do that so there's gotta be something extra.





-- sig://boBhttp://bobs.org




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Quick question on upgrade checking

2006-09-23 Thread Jeff MacDuff
The overall goal is that anytime I install the new package, it should
prompt to remove the old package regardless of language.

So if I have a English OS , with a DEU old package installed.. and I run
the new DEU package on this OS it should prompt me.

That's the case I am testing and it never finds the old package.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wilson,
Phil
Sent: Friday, September 22, 2006 5:50 PM
To: Jeff MacDuff; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking

So we have an upgrade table entry that will upgrade versions from 1.0.0
(including 1.0.0) up to (but not including) 2.0.0.0,  and it won't
detect all languages in case that's an issue.  Is that what you're
looking for? 

Phil Wilson 


-Original Message-
From: Jeff MacDuff [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 22, 2006 3:16 PM
To: Wilson, Phil; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

Yes, it's installed for all users.

-Original Message-
From: Wilson, Phil [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 2:23 PM
To: Jeff MacDuff; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

Both old and new are installed for the same users? (Both per-system or
both per-user). 

Phil Wilson 


-Original Message-
From: Jeff MacDuff [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 1:31 PM
To: Jeff MacDuff; Wilson, Phil; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

Well that didn't work either.

Here is the old MSI that's installed on the machine (from property
table):
ProductVersion  1.0.0
UpgradeCode {C9BD4428-98AC-4AD0-9646-4E212B1BB770}


And here is the new MSI upgrade table

{C9BD4428-98AC-4AD0-9646-4E212B1BB770}  1.0.0   2.0.0   260
All


-Jeff
-Original Message-
From: Jeff MacDuff
Sent: Friday, September 22, 2006 1:16 PM
To: 'Wilson, Phil'; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

Ok I just looked and both of the version fields are null ... I will set
them to the correct values / rebuild and try it again.

-Jeff

-Original Message-
From: Wilson, Phil [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 12:27 PM
To: Jeff MacDuff; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

UpgradeVersion has Minimum and Maximum strings that specify the range of
product versions that you want to look for and upgrade (IncludeMaximum
and IncludeMinimum are involved too).  If you don't specify these values
I don't know what Wix puts in the VersionMin and VersionMax fields in
the MSI's upgrade table. You could look at the MSI's Upgrade table with
Orca to verify what's going on, but if you end up with VersionMin and
VersionMax both zero you're probably not going to get an upgrade ;=) 

Phil Wilson 


-Original Message-
From: Jeff MacDuff [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 11:15 AM
To: Wilson, Phil; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

What version specs do you refer too?

Here is the WXS:

Upgrade Id=snip
UpgradeVersion RemoveFeatures=All Property=UPGRADE
IgnoreRemoveFailure=yes /
/Upgrade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wilson,
Phil
Sent: Thursday, September 21, 2006 9:52 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking

What about version specs in your Wix UpgradeVersionElement? I don't know
how Wix behaves in the absence of them, but there's nothing in your Wix
that targets the versions you want to upgrade.

Phil Wilson 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Wednesday, September 20, 2006 5:17 PM
To: Stefan Pavlik
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking


It's still not working for me... here's what I did:

I looked at the new msi ( the one we are building now ) and in the
upgrade table it has a upgrade code.

I then looked at the old MSI in orca, and in it's property table it has
the exact same GUIDS for it's upgrade code.

Is there any execection order I need to worry about for the upgrade
check or something?

I am getting really stumped... I actually copied the upgrade code from
the old MSI via orca and put it directly into my new WIX project.. I
rebuilt but still it doesn't work.

-Jeff

-Original Message-
From: Stefan Pavlik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 6:32 AM
To: Jeff MacDuff
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking

Hi,

After reading the MSDN and Wix help (at the end of my email) I think

Re: [WiX-users] Quick question on upgrade checking

2006-09-22 Thread Jeff MacDuff
What version specs do you refer too?

Here is the WXS:

Upgrade Id=snip
UpgradeVersion RemoveFeatures=All Property=UPGRADE
IgnoreRemoveFailure=yes /
/Upgrade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wilson,
Phil
Sent: Thursday, September 21, 2006 9:52 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking

What about version specs in your Wix UpgradeVersionElement? I don't know
how Wix behaves in the absence of them, but there's nothing in your Wix
that targets the versions you want to upgrade.

Phil Wilson 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Wednesday, September 20, 2006 5:17 PM
To: Stefan Pavlik
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking


It's still not working for me... here's what I did:

I looked at the new msi ( the one we are building now ) and in the
upgrade table it has a upgrade code.

I then looked at the old MSI in orca, and in it's property table it has
the exact same GUIDS for it's upgrade code.

Is there any execection order I need to worry about for the upgrade
check or something?

I am getting really stumped... I actually copied the upgrade code from
the old MSI via orca and put it directly into my new WIX project.. I
rebuilt but still it doesn't work.

-Jeff

-Original Message-
From: Stefan Pavlik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 6:32 AM
To: Jeff MacDuff
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking

Hi,

After reading the MSDN and Wix help (at the end of my email) I think
that you can ommit the ExcludeLanguages attribute since you do not use
the Language attribute. Anyway I think it should work as you want.
Try to check the resulting MSI file with ORCA (or any other viewer) and
look at the Upgrade Table.

I know that I have not help you much, but...

__

msdn: Upgrade Table
Language
The set of languages detected by FindRelatedProducts. Enter
msidbUpgradeAttributesLanguagesExclusive in Attributes to detect all
languages exclusive of those listed in Language. If Language is null or
an empty string (), FindRelatedProducts ignores
msidbUpgradeAttributesLanguagesExclusive and detects all languages.


Wix Help:
Language
Specifies the set of languages detected by FindRelatedProducts.
Enter a list of numeric language identifiers (LANGID) separated by
commas (,). Leave this value null to specify all languages. Set
ExcludeLanguages to yes in order detect all languages, excluding the
languages listed in this value.




--
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com Panenska 28 | SK-81103
Bratislava | Slovak Republic Tel +421(2)5930-0735 | Fax +421(2)5443-5512



-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Quick question on upgrade checking

2006-09-22 Thread Jeff MacDuff
Ok I just looked and both of the version fields are null ... I will set
them to the correct values / rebuild and try it again.

-Jeff

-Original Message-
From: Wilson, Phil [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 22, 2006 12:27 PM
To: Jeff MacDuff; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

UpgradeVersion has Minimum and Maximum strings that specify the range of
product versions that you want to look for and upgrade (IncludeMaximum
and IncludeMinimum are involved too).  If you don't specify these values
I don't know what Wix puts in the VersionMin and VersionMax fields in
the MSI's upgrade table. You could look at the MSI's Upgrade table with
Orca to verify what's going on, but if you end up with VersionMin and
VersionMax both zero you're probably not going to get an upgrade ;=) 

Phil Wilson 


-Original Message-
From: Jeff MacDuff [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 22, 2006 11:15 AM
To: Wilson, Phil; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

What version specs do you refer too?

Here is the WXS:

Upgrade Id=snip
UpgradeVersion RemoveFeatures=All Property=UPGRADE
IgnoreRemoveFailure=yes /
/Upgrade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wilson,
Phil
Sent: Thursday, September 21, 2006 9:52 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking

What about version specs in your Wix UpgradeVersionElement? I don't know
how Wix behaves in the absence of them, but there's nothing in your Wix
that targets the versions you want to upgrade.

Phil Wilson 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Wednesday, September 20, 2006 5:17 PM
To: Stefan Pavlik
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking


It's still not working for me... here's what I did:

I looked at the new msi ( the one we are building now ) and in the
upgrade table it has a upgrade code.

I then looked at the old MSI in orca, and in it's property table it has
the exact same GUIDS for it's upgrade code.

Is there any execection order I need to worry about for the upgrade
check or something?

I am getting really stumped... I actually copied the upgrade code from
the old MSI via orca and put it directly into my new WIX project.. I
rebuilt but still it doesn't work.

-Jeff

-Original Message-
From: Stefan Pavlik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 6:32 AM
To: Jeff MacDuff
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking

Hi,

After reading the MSDN and Wix help (at the end of my email) I think
that you can ommit the ExcludeLanguages attribute since you do not use
the Language attribute. Anyway I think it should work as you want.
Try to check the resulting MSI file with ORCA (or any other viewer) and
look at the Upgrade Table.

I know that I have not help you much, but...

__

msdn: Upgrade Table
Language
The set of languages detected by FindRelatedProducts. Enter
msidbUpgradeAttributesLanguagesExclusive in Attributes to detect all
languages exclusive of those listed in Language. If Language is null or
an empty string (), FindRelatedProducts ignores
msidbUpgradeAttributesLanguagesExclusive and detects all languages.


Wix Help:
Language
Specifies the set of languages detected by FindRelatedProducts.
Enter a list of numeric language identifiers (LANGID) separated by
commas (,). Leave this value null to specify all languages. Set
ExcludeLanguages to yes in order detect all languages, excluding the
languages listed in this value.




--
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com Panenska 28 | SK-81103
Bratislava | Slovak Republic Tel +421(2)5930-0735 | Fax +421(2)5443-5512



-
Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




-
Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Re: [WiX-users] Quick question on upgrade checking

2006-09-22 Thread Jeff MacDuff
Well that didn't work either.

Here is the old MSI that's installed on the machine (from property
table):
ProductVersion  1.0.0
UpgradeCode {C9BD4428-98AC-4AD0-9646-4E212B1BB770}


And here is the new MSI upgrade table

{C9BD4428-98AC-4AD0-9646-4E212B1BB770}  1.0.0   2.0.0   260
All


-Jeff
-Original Message-
From: Jeff MacDuff 
Sent: Friday, September 22, 2006 1:16 PM
To: 'Wilson, Phil'; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

Ok I just looked and both of the version fields are null ... I will set
them to the correct values / rebuild and try it again.

-Jeff

-Original Message-
From: Wilson, Phil [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 22, 2006 12:27 PM
To: Jeff MacDuff; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

UpgradeVersion has Minimum and Maximum strings that specify the range of
product versions that you want to look for and upgrade (IncludeMaximum
and IncludeMinimum are involved too).  If you don't specify these values
I don't know what Wix puts in the VersionMin and VersionMax fields in
the MSI's upgrade table. You could look at the MSI's Upgrade table with
Orca to verify what's going on, but if you end up with VersionMin and
VersionMax both zero you're probably not going to get an upgrade ;=) 

Phil Wilson 


-Original Message-
From: Jeff MacDuff [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 22, 2006 11:15 AM
To: Wilson, Phil; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

What version specs do you refer too?

Here is the WXS:

Upgrade Id=snip
UpgradeVersion RemoveFeatures=All Property=UPGRADE
IgnoreRemoveFailure=yes /
/Upgrade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wilson,
Phil
Sent: Thursday, September 21, 2006 9:52 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking

What about version specs in your Wix UpgradeVersionElement? I don't know
how Wix behaves in the absence of them, but there's nothing in your Wix
that targets the versions you want to upgrade.

Phil Wilson 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Wednesday, September 20, 2006 5:17 PM
To: Stefan Pavlik
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking


It's still not working for me... here's what I did:

I looked at the new msi ( the one we are building now ) and in the
upgrade table it has a upgrade code.

I then looked at the old MSI in orca, and in it's property table it has
the exact same GUIDS for it's upgrade code.

Is there any execection order I need to worry about for the upgrade
check or something?

I am getting really stumped... I actually copied the upgrade code from
the old MSI via orca and put it directly into my new WIX project.. I
rebuilt but still it doesn't work.

-Jeff

-Original Message-
From: Stefan Pavlik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 6:32 AM
To: Jeff MacDuff
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking

Hi,

After reading the MSDN and Wix help (at the end of my email) I think
that you can ommit the ExcludeLanguages attribute since you do not use
the Language attribute. Anyway I think it should work as you want.
Try to check the resulting MSI file with ORCA (or any other viewer) and
look at the Upgrade Table.

I know that I have not help you much, but...

__

msdn: Upgrade Table
Language
The set of languages detected by FindRelatedProducts. Enter
msidbUpgradeAttributesLanguagesExclusive in Attributes to detect all
languages exclusive of those listed in Language. If Language is null or
an empty string (), FindRelatedProducts ignores
msidbUpgradeAttributesLanguagesExclusive and detects all languages.


Wix Help:
Language
Specifies the set of languages detected by FindRelatedProducts.
Enter a list of numeric language identifiers (LANGID) separated by
commas (,). Leave this value null to specify all languages. Set
ExcludeLanguages to yes in order detect all languages, excluding the
languages listed in this value.




--
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com Panenska 28 | SK-81103
Bratislava | Slovak Republic Tel +421(2)5930-0735 | Fax +421(2)5443-5512



-
Take Surveys. Earn Cash. Influence the Future of IT Join
SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists

Re: [WiX-users] Quick question on upgrade checking

2006-09-22 Thread Jeff MacDuff
Yes, it's installed for all users.

-Original Message-
From: Wilson, Phil [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 22, 2006 2:23 PM
To: Jeff MacDuff; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

Both old and new are installed for the same users? (Both per-system or
both per-user). 

Phil Wilson 


-Original Message-
From: Jeff MacDuff [mailto:[EMAIL PROTECTED] 
Sent: Friday, September 22, 2006 1:31 PM
To: Jeff MacDuff; Wilson, Phil; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

Well that didn't work either.

Here is the old MSI that's installed on the machine (from property
table):
ProductVersion  1.0.0
UpgradeCode {C9BD4428-98AC-4AD0-9646-4E212B1BB770}


And here is the new MSI upgrade table

{C9BD4428-98AC-4AD0-9646-4E212B1BB770}  1.0.0   2.0.0   260
All


-Jeff
-Original Message-
From: Jeff MacDuff
Sent: Friday, September 22, 2006 1:16 PM
To: 'Wilson, Phil'; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

Ok I just looked and both of the version fields are null ... I will set
them to the correct values / rebuild and try it again.

-Jeff

-Original Message-
From: Wilson, Phil [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 12:27 PM
To: Jeff MacDuff; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

UpgradeVersion has Minimum and Maximum strings that specify the range of
product versions that you want to look for and upgrade (IncludeMaximum
and IncludeMinimum are involved too).  If you don't specify these values
I don't know what Wix puts in the VersionMin and VersionMax fields in
the MSI's upgrade table. You could look at the MSI's Upgrade table with
Orca to verify what's going on, but if you end up with VersionMin and
VersionMax both zero you're probably not going to get an upgrade ;=) 

Phil Wilson 


-Original Message-
From: Jeff MacDuff [mailto:[EMAIL PROTECTED]
Sent: Friday, September 22, 2006 11:15 AM
To: Wilson, Phil; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick question on upgrade checking

What version specs do you refer too?

Here is the WXS:

Upgrade Id=snip
UpgradeVersion RemoveFeatures=All Property=UPGRADE
IgnoreRemoveFailure=yes /
/Upgrade

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Wilson,
Phil
Sent: Thursday, September 21, 2006 9:52 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking

What about version specs in your Wix UpgradeVersionElement? I don't know
how Wix behaves in the absence of them, but there's nothing in your Wix
that targets the versions you want to upgrade.

Phil Wilson 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Wednesday, September 20, 2006 5:17 PM
To: Stefan Pavlik
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking


It's still not working for me... here's what I did:

I looked at the new msi ( the one we are building now ) and in the
upgrade table it has a upgrade code.

I then looked at the old MSI in orca, and in it's property table it has
the exact same GUIDS for it's upgrade code.

Is there any execection order I need to worry about for the upgrade
check or something?

I am getting really stumped... I actually copied the upgrade code from
the old MSI via orca and put it directly into my new WIX project.. I
rebuilt but still it doesn't work.

-Jeff

-Original Message-
From: Stefan Pavlik [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 20, 2006 6:32 AM
To: Jeff MacDuff
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking

Hi,

After reading the MSDN and Wix help (at the end of my email) I think
that you can ommit the ExcludeLanguages attribute since you do not use
the Language attribute. Anyway I think it should work as you want.
Try to check the resulting MSI file with ORCA (or any other viewer) and
look at the Upgrade Table.

I know that I have not help you much, but...

__

msdn: Upgrade Table
Language
The set of languages detected by FindRelatedProducts. Enter
msidbUpgradeAttributesLanguagesExclusive in Attributes to detect all
languages exclusive of those listed in Language. If Language is null or
an empty string (), FindRelatedProducts ignores
msidbUpgradeAttributesLanguagesExclusive and detects all languages.


Wix Help:
Language
Specifies the set of languages detected by FindRelatedProducts.
Enter a list of numeric language identifiers (LANGID) separated by
commas (,). Leave this value null to specify all languages. Set
ExcludeLanguages to yes in order detect all languages, excluding the
languages listed in this value.




--
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies

Re: [WiX-users] Quick question on upgrade checking

2006-09-20 Thread Jeff MacDuff








Ok thanks for the tips.. I will review the
codes again and take a look.











From: Mike Dimmick
[mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 20,
2006 7:03 AM
To: Jeff MacDuff;
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Quick
question on upgrade checking





Were all of your previous MSIs issued
with the same UpgradeCode?



If not, I think you need one
Upgrade element per UpgradeCode.



-- 

Mike Dimmick









From:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Jeff MacDuff
Sent: 20 September 2006 14:11
To:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick
question on upgrade checking

Any one see any issues with my syntax
here?



I have the ID set to the upgrade ID of the
previous MSI pack again this is working in English but not in any other
lang.











From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff MacDuff
Sent: Tuesday, September 19, 2006
2:26 PM
To:
wix-users@lists.sourceforge.net
Subject: [WiX-users] Quick
question on upgrade checking





Our MSI is designed to prompt the user to uninstall a
previous version of the product.



This function is working for ENGLISH  but not for any
other language of the MSI.



After reading the docs, I found the ExcludeLanguages=yes flag so now here is my
syntax:




Upgrade Id=snip


UpgradeVersion RemoveFeatures=All Property=snip IgnoreRemoveFailure=yes ExcludeLanguages=yes /


/Upgrade



However
its still not working anyone got a hint? 



-Jeff






-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Quick question on upgrade checking

2006-09-20 Thread Jeff MacDuff

It's still not working for me... here's what I did:

I looked at the new msi ( the one we are building now ) and in the
upgrade table it has a upgrade code.

I then looked at the old MSI in orca, and in it's property table it has
the exact same GUIDS for it's upgrade code.

Is there any execection order I need to worry about for the upgrade
check or something?

I am getting really stumped... I actually copied the upgrade code from
the old MSI via orca and put it directly into my new WIX project.. I
rebuilt but still it doesn't work.

-Jeff

-Original Message-
From: Stefan Pavlik [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 20, 2006 6:32 AM
To: Jeff MacDuff
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Quick question on upgrade checking

Hi,

After reading the MSDN and Wix help (at the end of my email) I think
that you can ommit the ExcludeLanguages attribute since you do not
use the Language attribute. Anyway I think it should work as you want.
Try to check the resulting MSI file with ORCA (or any other viewer)
and look at the Upgrade Table.

I know that I have not help you much, but...

__

msdn: Upgrade Table
Language
The set of languages detected by FindRelatedProducts. Enter
msidbUpgradeAttributesLanguagesExclusive in Attributes to detect all
languages exclusive of those listed in Language. If Language is null
or an empty string (), FindRelatedProducts ignores
msidbUpgradeAttributesLanguagesExclusive and detects all languages.


Wix Help:
Language
Specifies the set of languages detected by FindRelatedProducts.
Enter a list of numeric language identifiers (LANGID) separated by
commas (,). Leave this value null to specify all languages. Set
ExcludeLanguages to yes in order detect all languages, excluding
the languages listed in this value.




-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512


-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Problem with install condition based on lang ID

2006-09-18 Thread Jeff MacDuff








I am having trouble getting an install condition based on
land ID to work I have consulted the WIX docs and my
implementation seems to be correct but since its not working I am
missing something.



We are building a Multilanguage MSI for a small product and
we wish to only allow install on the language of the MSI AND English but not a
different language.



For example a Korean (KOR) MSI should be able to install on
a Korean language OS and an English (ENU) language OS but not a German(DEU)
language OS. At the same time, a DEU MSI should install on English and German
(DEU) but not on a Korean (KOR ) OS ,etc you get the idea.



My condition statement is formatted like this:



Condition Message=You cannot install this version of because it
is not compatible with your language version of Windows. Obtain the language
version that matches the language version of Windows running on this PC.![CDATA[SystemDefaultUILanguage = $(var.LCID)OR
SystemDefaultUILanguage  1033]]/Condition





Var.LCID is passed in as the build language and 1033 is of
course English. What we are seeing is that the MSIs can install
everywhere. 



Thanks for help,

Jeff












-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Problem with install condition based on lang ID

2006-09-18 Thread Jeff MacDuff








I will run a verbose install tomorrow and
see what the return is.













From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Monday, September 18, 2006
9:33 PM
To: Jeff MacDuff
Cc:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem
with install condition based on lang ID





Jeff MacDuff wrote: 

Its being set through a custom Action:



 CustomAction Id=LanguageChecker BinaryKey=CustomDLL DllEntry=SystemDefaultUILanguage /



What does a verbose log show it's being set to? More
important is the timing; make sure the CA is scheduled before LaunchConditions.



Perhaps
there is a method to get the UI lang within the MSI itself and not use the
custom action?

There's SystemLanguageID, but that uses
GetSystemDefaultLangID.




-- sig://boBhttp://bobs.org




-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users