[WiX-users] How to set DIR name based on Property value

2006-12-12 Thread Jeff MacDuff
I am trying to set a dir name based on the value of a defined property,
however the property is not getting resolved.. the dir name is just
getting set to the name of the property vs the property itself.

 

How do I do this?

-
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.php&p=sourceforge&CID=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
Ok I have made the changes (I think) ... but it's still not working:

 

  

  

   ß in 
InstallUISequence Only

 

 

Also I looked in the wix help file and I don't see a "Formatted" as a topic ?

 

 

-Jeff

 

 

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

 

Jeff MacDuff wrote: 

 

For the custom action I am using this:  


Leave off the trailing % sign. See "Formatted" in the SDK for the syntax 
details. The property id also needs to match the directory id, not the name.




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.


It won't appear in the Property table; it's just a property that's created at 
install time, overwriting a property that MSI creates from the Directory table. 
See "Using a Directory Property in a Path" in the SDK.




-- 
 
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.php&p=sourceforge&CID=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: 

 

2.   For the custom action I am using this:  

 

3.   For the install sequence I am using this: 

 

 

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:



then schedule it:


  





-- 
 
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.php&p=sourceforge&CID=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
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:



then schedule it:


  






-- 
 
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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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
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?

 

I suppose the important thing is to make sure the CA is before the
install ? 

 

From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, November 28, 2006 10:46 AM
To: Jeff MacDuff
Subject: Re: [WiX-users] How to specify a envirorment variable dir

 

Jeff MacDuff wrote: 

Would you happen to have a sample I could build off of?


Sorry, no. You might want to enlist in the WiX source tree; there are
some additional samples in the examples/test tree. 




-- 
 
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.php&p=sourceforge&CID=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.mic

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.

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

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.

<<<<---
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.php&p=sourceforge&CID=DEVDE
V 

__

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.

<<<<---
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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=DEVDE
V 


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.

<<<<---
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.php&p=sourceforge&CID=DEVDE
V 

_

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.

<<<<---
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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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 ge

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.

<<<<---
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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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.

<<<<---
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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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.

<<<<---
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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[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.php&p=sourceforge&CID=DEVDEV___
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-11-06 Thread Jeff MacDuff








Ok thank you for the info.

 





From: Peterson, Joel
[mailto:[EMAIL PROTECTED] 
Sent: Monday, November 06, 2006 12:25 PM
To: Jeff MacDuff; Rob Mensching; wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] How to prompt to terminate process on uninstall





 

Hi
Jeff.

 

The custom needs be placed in
the proper sequence, such as before RemoveAllFiles. WiX, or more accurately
MSI, isn’t organized towards stages of installation, but allows you to schedule
events based on those stages. 

 







Joel Peterson



[EMAIL PROTECTED]









 





From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff
MacDuff
Sent: Monday, November 06, 2006 8:16 AM
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] How to prompt to terminate process on uninstall





 

Ok a follow up question,

 

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

 

My wix file doesn’t 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





 

You’d 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 ( dll’s / xml’s / 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
it’s 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=lnk&kid=120709&bid=263057&dat=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-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 doesn’t 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





 

You’d 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 ( dll’s / xml’s / 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
it’s 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=lnk&kid=120709&bid=263057&dat=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





 

You’d 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 ( dll’s / xml’s / 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
it’s 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=lnk&kid=120709&bid=263057&dat=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 ( dll’s /
xml’s / 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
it’s 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=lnk&kid=120709&bid=263057&dat=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 it’s
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 don’t know what keypath is or what it’s 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=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Add lots of registry keys / was hos to generate guids

2006-10-16 Thread Jeff MacDuff








Ok great… thank you!

 

Follow-up question regarding registry keys….

 

I just got given a reg file to incorporate
into my Wix file.. it has about 50 reg keys I need to set…. Is there a
best practices method for adding a ton of registry key entries through a Wix?

 

I was thinking of using properties for
most if not all the strings to keep the code simple to read... anything else I
should watch out for?

 

Thanks,

Jeff

 

 

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: Monday, October 16, 2006
8:30 AM
To: Jeff MacDuff;
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Best way
to generate GUIDS ?



 

uuidgen ships with Visual Studio. You
can generate multiple GUIDs using the -n parameter (e.g. if you need 10 GUIDs,
use uuidgen -n10). Use the "Visual Studio xxx Command Prompt"
shortcut in the Visual Studio xxx Tools program group.

 

-- 

Mike Dimmick

 







From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff MacDuff
Sent: 16 October 2006 16:00
To:
wix-users@lists.sourceforge.net
Subject: [WiX-users] Best way to
generate GUIDS ?

This is probably a dumb question, but what’s 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.. what’s the proper way to generate all those new GUID’s 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=lnk&kid=120709&bid=263057&dat=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 what’s 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.. what’s the proper way to generate all those new GUID’s 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=lnk&kid=120709&bid=263057&dat=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 doesn’t 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.php&p=sourceforge&CID=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 doesn’t 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.php&p=sourceforge&CID=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 get’s
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 can’t 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 get’s 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.php&p=sourceforge&CID=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 get’s 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.php&p=sourceforge&CID=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:

1




 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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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">RemoveExistingProducts>

As the Mythbusters say, "There's your problem
right there." 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.php&p=sourceforge&CID=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 doesn’t have a
entry for RemoveExistingProducts

 

So that would seem to suggest that it’s finding
the product but it’s 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">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, what’s 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.php&p=sourceforge&CID=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, what’s
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: 

That’s the weird thing, I am not doing anything special
for English.. there’s no English special syntax I don’t 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.php&p=sourceforge&CID=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








That’s the weird thing, I am not
doing anything special for English.. there’s no English special syntax I don’t
believe.

 









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



 

Jeff MacDuff wrote: 

It did find the German V1 … however it didn’t
stop the install of V2 / uninstall v1


How are you doing that for English?





-- 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.php&p=sourceforge&CID=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








It did find the German V1 … however
it didn’t stop the install of V2 / uninstall v1

 









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



 

Jeff MacDuff wrote: 

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.

It finds it by the upgrade code but records the
product code as that's what gets uninstalled. Did it find the German V1?





-- 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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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:





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

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:





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

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:





-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.php&p=sourceforge&CID=DEVDE
V

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:





-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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=DEVDE
V
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.s

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:





-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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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.php&p=sourceforge&CID=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








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

   
<UpgradeVersion RemoveFeatures="All" Property=""  IgnoreRemoveFailure="yes" ExcludeLanguages="yes" />

   
Upgrade>

 

However
it’s 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.php&p=sourceforge&CID=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








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

    <UpgradeVersion RemoveFeatures="All" Property=""  IgnoreRemoveFailure="yes" ExcludeLanguages="yes" />

   
Upgrade>

 

However
it’s 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.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Quick question on upgrade checking

2006-09-19 Thread Jeff MacDuff








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>

 

However it’s
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.php&p=sourceforge&CID=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-19 Thread Jeff MacDuff








Ok I have changed my installUIsequence to
the following:

 

    <InstallUISequence>

    <Custom Action="TabletPcCheck" After="AppSearch" /> ß another custom action verifing we are on tablet
sku

    <Custom Action="LanguageChecker" Sequence="97" Before="LaunchConditions" Execute='firstSequence'   />

    <LaunchConditions After="TabletPcCheck" />

    

 

 

I have also changed the custom DLL to
support the logging.. I am now going to re-test this and see what I get. Quick
question, I have run a debug MSI install for awhile.. can you link me to the
steps to enable debug capture ?

 

Thank you,

Jeff

 

P.S. Thanks for all the help.. I inherited
this stuff L









From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: Tuesday, September 19, 2006
9:47 AM
To: Jeff MacDuff;
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem
with install condition based on lang ID



 

No, I actually tried this and it looks
like the Windows Installer condition parser can cope (I'm not sure what would
happen if you actually wanted to test against the string '1031OR'). Still,
adding the space can't hurt.

 

I suspect your problem is what Bob
suggested: that you haven't scheduled your custom action, or it's scheduled
after LaunchConditions. You should add it to the InstallUISequence:

 

 

  
  

If you plan to support unattended, no-UI
installs, you probably also need to add it to the InstallExecuteSequence as
well. You might as well add the Execute='firstSequence' attribute to the
 too so that it only gets run once regardless of whether
the UI sequence is suppressed or not.

 

I added logging using MsiRecordSetString
and MsiProcessMessage to my version of the custom action DLL so I could see in
the log what SystemDefaultUILanguage was being set to. I borrowed this code
from Phil Wilson's "Definitive Guide to Windows Installer":

 

UINT LogMessage( MSIHANDLE hInstall,
LPCTSTR szMsg )
{
    PMSIHANDLE hRecord = MsiCreateRecord( 1 );
    MsiRecordSetString( hRecord, 0, szMsg );
    MsiProcessMessage( hInstall,
INSTALLMESSAGE(INSTALLMESSAGE_INFO), hRecord );
    return ERROR_SUCCESS;
}

 

-- 

Mike Dimmick

 







From: Jeff
MacDuff [mailto:[EMAIL PROTECTED] 
Sent: 19 September 2006 17:33
To: Mike Dimmick;
wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] Problem
with install condition based on lang ID

I understand the design considerations
regarding lang ID and so fourth.

 

The problem is I recently inherited this
code and we are not at a point in the project where I have the time to re-do
the setup for this release.. believe me for the next release it will be 100%
different.

 

Anyway, so I fired up orca and took a look
at my german MSI

 


 I
 see my custom action listed in CustomAction table 
 In
 the property table I see LCID is set to 1031 
 In
 the Launch Condition table I see this: “SystemDefaultUILanguage =
 1031OR SystemDefaultUILanguage <> 1033” 


 

So do you think that space inbetwen the
1031 and the or is the problem?

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: Tuesday, September 19, 2006
2:57 AM
To:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem
with install condition based on lang ID



 

Frankly, with multi-lingual UI support
(especially multiple preference levels in Vista
- see GetSystemPreferredUILanguages) you probably shouldn't do this at all.
Allow any version to install on any system. Allow multiple versions to be
installed side-by-side, or move to a single binary plus language packs. You
might be running on a Terminal Server installed from a localized
(non-US-English) CD which supports users using a different non-English UI
language - I believe this is possible.

 

Michael Kaplan (GIFT team) was pretty
critical when MSN Toolbar Beta did this (http://blogs.msdn.com/michkap/archive/2005/02/03/366698.aspx).

 

If you want to ensure that the UI can
actually be read - that the fonts required to render it are installed - then
you're asking a different question.

 

See http://www.microsoft.com/globaldev/drintl/columns/009/default.mspx#EHF for
more.

 

Actually, it looks like you're missing a
space after $(var.LCID), which if WIX is simply doing a macro replacement could
cause your condition to be:

 

SystemDefaultUILanguage
= 1025OR SystemDefaultUILanguage <> 1033

 

which won't make any sense to Windows
Installer. Try editing the MSI with Orca to see if this is what's happened.

 

-- 

Mike Dimmick

 







From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff MacDuff
Sent: 19 September 2006 04:42
To:
wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem with
install condition based on lang ID

I

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

2006-09-19 Thread Jeff MacDuff








I understand the design considerations
regarding lang ID and so fourth.

 

The problem is I recently inherited this
code and we are not at a point in the project where I have the time to re-do
the setup for this release.. believe me for the next release it will be 100%
different.

 

Anyway, so I fired up orca and took a look
at my german MSI

 


 I
 see my custom action listed in CustomAction table
 In
 the property table I see LCID is set to 1031
 In
 the Launch Condition table I see this: “SystemDefaultUILanguage =
 1031OR SystemDefaultUILanguage <> 1033”


 

So do you think that space inbetwen the
1031 and the or is the problem?

 









From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Mike Dimmick
Sent: Tuesday, September 19, 2006
2:57 AM
To:
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Problem
with install condition based on lang ID



 

Frankly, with multi-lingual UI support
(especially multiple preference levels in Vista
- see GetSystemPreferredUILanguages) you probably shouldn't do this at all.
Allow any version to install on any system. Allow multiple versions to be
installed side-by-side, or move to a single binary plus language packs. You
might be running on a Terminal Server installed from a localized (non-US-English)
CD which supports users using a different non-English UI language - I believe
this is possible.

 

Michael Kaplan (GIFT team) was pretty
critical when MSN Toolbar Beta did this (http://blogs.msdn.com/michkap/archive/2005/02/03/366698.aspx).

 

If you want to ensure that the UI can
actually be read - that the fonts required to render it are installed - then
you're asking a different question.

 

See http://www.microsoft.com/globaldev/drintl/columns/009/default.mspx#EHF for
more.

 

Actually, it looks like you're missing a
space after $(var.LCID), which if WIX is simply doing a macro replacement could
cause your condition to be:

 

SystemDefaultUILanguage
= 1025OR SystemDefaultUILanguage <> 1033

 

which won't make any sense to Windows
Installer. Try editing the MSI with Orca to see if this is what's happened.

 

-- 

Mike Dimmick

 







From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeff MacDuff
Sent: 19 September 2006 04:42
To:
wix-users@lists.sourceforge.net
Subject: [WiX-users] Problem with
install condition based on lang ID

I am having trouble getting an install condition based on
land ID to work… I have consulted the WIX doc’s and my
implementation seems to be correct but since it’s 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.">Condition>

 

 

Var.LCID is passed in as the build language and 1033 is of
course English. What we are seeing is that the MSI’s 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.php&p=sourceforge&CID=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: 

It’s 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.php&p=sourceforge&CID=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








It’s being set through a custom
Action:

 

  <CustomAction Id="LanguageChecker" BinaryKey="CustomDLL" DllEntry="SystemDefaultUILanguage" />

 

 

Which is basiccly this code
(snipped a bit)

 

  LANGID langId =
::GetSystemDefaultUILanguage();

  TCHAR
szLang[10] = {0}; _itot((UINT)langId, szLang, 10);

  MsiSetProperty(hMSI, TEXT("SystemDefaultUILanguage"), szLang);

 

 

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

 

-Jeff

  

 









From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Bob Arnson
Sent: Monday, September 18, 2006
9:11 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: 

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.">Condition>

 

 

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

How are you setting SystemDefaultUILanguage? If it's
not set, "SystemDefaultUILanguage <> 1033" evaluates to true.




-- 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.php&p=sourceforge&CID=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 doc’s and my
implementation seems to be correct but since it’s 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>

 

 

Var.LCID is passed in as the build language and 1033 is of
course English. What we are seeing is that the MSI’s 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.php&p=sourceforge&CID=DEVDEV___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users