[WiX-users] Source path bindings.

2007-09-27 Thread Andrey T
Hello!

I have following question: how does light.exe resolves bindings of relative 
source paths?

Example:

I have .wxs file with  element`s attribute FileSource=".\". Files 
that resides in components belonging to that directory don`t specify any 
"Source" attributes. What algorithm uses light.exe when it builds final .msi 
file? Does it use folder where .wixobj file resides or .wxs one?

Thanks in advance.


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


[WiX-users] ProgId referencing dll installed in the GAC

2007-09-27 Thread Ian Sullivan
Not sure if this is a bug or user (my) error, but I just tried to add a ProgId 
that referencing a dll that gets installed into the GAC, after install I see in 
the registry that the DefaultIcon points to the place where the dll would have 
been installed if it wasn't being installed into the GAC
HKEY_CLASSES_ROOT\Comp.ext.5.0\DefaultIcon
  "C:\Program Files\My App\Comp.dll",1000

 
   
 
 


Is there any way to get this to work, or do I need to make up a resource 
container and install it?

I saw something about being able to specify an Icon directly if you are 
advertising a ProgId but when I looked into what advertising meant it sounded 
like something I shouldn't mess with.

-Ian

Ian Sullivan
Software Development Engineer
Microsoft Inc., Windows Live Agents: SDK, Tools, Web Services

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


Re: [WiX-users] Silent install won't copy in files

2007-09-27 Thread Rob Mensching
Indeed.  Odd.  I've never heard of any issues like this...

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Menaker
Sent: Wednesday, September 26, 2007 14:09
To: Rob Mensching; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Silent install won't copy in files

The problem is that the files aren't copied at all. When doing a normal 
graphical install they get copied over fine. Silent install they don't get 
copied at all. I was able to fix this problem by using the directory structure 
to copy in files instead of CopyFile. It is still odd that CopyFile didn't work.


From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Wednesday, September 26, 2007 1:49 AM
To: Mike Menaker; wix-users@lists.sourceforge.net
Subject: RE: Silent install won't copy in files

What is the exact problem?  I'm a little confused by what you mean when you say 
"it isn't copying 3 files correctly"?

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mike Menaker
Sent: Friday, September 14, 2007 15:03
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Silent install won't copy in files

Hi,
I'm having a problem with a silent install.

I have a component that copies 2 files and writes to the registry however it 
isn't copying the 3 files correctly (yet writing the registry correctly).

This is my component.

  

  


  




Any ideas why it isn't copying in the files correctly?

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


Re: [WiX-users] Uninstall fonts?

2007-09-27 Thread Rob Mensching
The correct way to handle this scenario is to have the Component in all the 
products with the same Guid.  The Windows Installer will only remove the 
Component when all products that use it are gone.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Kelly Leahy
Sent: Wednesday, September 26, 2007 18:54
To: Kelly Leahy
Cc: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Uninstall fonts?


Ok... that's my fault.  I forgot to put a guid on the component containing the 
fonts.  Interestingly enough - it built successfully without warning me (I had 
Guid="") and installed them properly, but didn't remove them.

Is this the recommended way to convince the installer to install something but 
not remove it?  I'm assuming it isn't.  This is the behavior I want, however, 
since my application must work with several versions installed side-by-side, 
and I don't want someone removing an older version to cause the newer versions 
to lose the fonts.

Kelly


Kelly Leahy <[EMAIL PROTECTED]>

Sent by: [EMAIL PROTECTED]

09/26/2007 03:39 PM

To

wix-users@lists.sourceforge.net

cc

Subject

[WiX-users] Uninstall fonts?








Does Wix uninstall fonts that were installed by a Wix-based installer?  It 
seems like it doesn't.

I understand it's probably not a good idea to uninstall fonts, since there's no 
refcounting behavior for them.  I just want to make sure it really doesn't 
uninstall them and I'm not just seeing things.

Kelly

**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or
opinions upon which reliance may be made by the addressee or any
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries
guidelines.
**-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure,
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or
opinions upon which reliance may be made by the addressee or any
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries
guidelines.
**
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MSBuild

2007-09-27 Thread Ben Greenberg
MSBuild only operates on Visual Studio project and solution files.

You need to create a WiX project using Votive, and include your wxs in it.  
Then you can run MSBuild on that project file.

bg

On Thu, 27 Sep 2007 15:24:26 -0500, Jessi Darling <[EMAIL PROTECTED]> wrote:
> Instead of using a solution file, I am only using the wxs file (not
> associated with a solution at all)...
> 
> Also, when I do try to build what I have been working with, I get the
> error:
> 
> MSBUILD : error MSB1009: Project file does not exist.
> Switch: Build1.msbuild
> 
> 
> On 9/25/07, Peter Wone <[EMAIL PROTECTED]> wrote:
>>
>>  Any Visual Studio Solution file (*.sln) is in the right format.
>>
>>
>>
>> *From:* [EMAIL PROTECTED] [mailto:
>> [EMAIL PROTECTED] *On Behalf Of *Jessi Darling
>> *Sent:* Wednesday, 26 September 2007 7:11 AM
>> *To:* wix-users
>> *Subject:* [WiX-users] MSBuild
>>
>>
>>
>> Could someone please show me an MSBuild file example?
>>
>> --
>> Jessica Darling
>>
>> No virus found in this incoming message.
>> Checked by AVG Free Edition.
>> Version: 7.5.488 / Virus Database: 269.13.30/1030 - Release Date:
>> 25/09/2007 8:02 AM
>>
> 
> 
> 
> --
> Jessica Darling
> 
> 


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


Re: [WiX-users] MSBuild

2007-09-27 Thread Jessi Darling
Instead of using a solution file, I am only using the wxs file (not
associated with a solution at all)...

Also, when I do try to build what I have been working with, I get the error:

MSBUILD : error MSB1009: Project file does not exist.
Switch: Build1.msbuild


On 9/25/07, Peter Wone <[EMAIL PROTECTED]> wrote:
>
>  Any Visual Studio Solution file (*.sln) is in the right format.
>
>
>
> *From:* [EMAIL PROTECTED] [mailto:
> [EMAIL PROTECTED] *On Behalf Of *Jessi Darling
> *Sent:* Wednesday, 26 September 2007 7:11 AM
> *To:* wix-users
> *Subject:* [WiX-users] MSBuild
>
>
>
> Could someone please show me an MSBuild file example?
>
> --
> Jessica Darling
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.488 / Virus Database: 269.13.30/1030 - Release Date:
> 25/09/2007 8:02 AM
>



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


[WiX-users] XmlConfig - Unable to make it work

2007-09-27 Thread Laxmi Narsimha Rao Oruganti (SQL CE)
Hey WIX Users,

We are using WIXv3 3.0.2921.0 Build.  I am trying to use XmlConfig custom 
action from WIXUTILEXTENSION.  I have been able to compile, but so far I don't 
see this custom action really doing any thing.  My code looks like the 
following:















Can any one tell me the problem with the above code?  Is there anyway to get 
this custom action progress/activity getting logged into msiexec log.  Today 
this custom action does not generate any log :(

Thanks,
Laxmi

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


Re: [WiX-users] Searching for multiple registry keys

2007-09-27 Thread Kelly Leahy
I think you want something like:

JDKHOME15 AND NOT JVMPATH
JREHOME15 AND NOT JVMPATH


  
  

 

  
  

 
of course, with more than just the two actions.

However, I'm by no means an expert and haven't even tried compiling this, 
so it's very possible I'm heading you down the wrong path.

Kelly




Chris Ridd <[EMAIL PROTECTED]>

Sent by: [EMAIL PROTECTED]
09/27/2007 10:09 AM

To
Kelly Leahy <[EMAIL PROTECTED]>
cc
[EMAIL PROTECTED], wix-users@lists.sourceforge.net
Subject
Re: [WiX-users] Searching for multiple registry keys







On 27 Sep 2007, at 17:59, Kelly Leahy wrote:

>
> Oops.  Sorry Chris for the duplicate - I forgot to reply to all on 
> the first one.

Not a problem - I'll put my reply to you below for everyone's benefit.

> Here's what I sent to Chris - others, tell me if this won't work, 
> because I may need this approach myself, later in my installer 
> building process.
>
> You could do custom actions that set another property based on its 
> previous existence...
>
> consider a property named JVMHOME.  Don't initialize (or create) it.
>
> Write custom actions conditioned on JVMHOME existing, that in 
> sequence set the JVMHOME to another value if the appropriate 
> variable is set.
>
> For instance:
>
>  Value="[JDKHOME15]" ...>JDKHOME15 AND NOT JVMPATH
>  Value="[JREHOME15]" ...>JREHOME15 AND NOT JVMPATH
> ...
>
> I think this will work.  The ... in the <> are there because I 
> don't know what other properties you need to make this go into the 
> proper sequence etc.  If you use this approach, please post back 
> (or reply to me) with the proper complete set of attributes so I'll 
> know the next time.
>
> Kelly

That looks like a much more promising approach than mine :-)

I haven't had to use CustomActions before - do I need to do anything 
special (apart from putting them inside the ) to make them 
work?

Cheers,

Chris


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




**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any 
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries 
guidelines.
**-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Removing a file from the GAC using a patch

2007-09-27 Thread Christopher Painter
Personally when I deprecate a component using the transitive puncture method I 
tell my build automation to create a 0 byte file that matches the filename.  
This allows me to leave the Component/File definition in place but not consume 
much space in the package.

LindseyLeu <[EMAIL PROTECTED]> wrote:  
Thanks Phil,

I was able to remove the file using the method suggested but I have another
question. Do I need to keep the file being deleted around so that the
installer can reference it and delete it in the patch, or is can I delete
that file from the source? For files in other folders, I have been able to
remove them in a patch by adding entries in the removefile table and taking
out the file entry for the component all together. Is there an advantage of
using one technique over the other?

Thanks,
Lindsey



Wilson, Phil wrote:
> 
> You can't remove the component containing the file (that's not allowed
> during a patch) but you can mark it as a transitive component (don't
> know the WiX speak) with a condition that's false (like 0) to make it
> absent. 
> 
> Phil Wilson 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of LindseyLeu
> Sent: Monday, September 24, 2007 11:37 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Removing a file from the GAC using a patch
> 
> 
> Hi,
> 
> I have an assembly installed by the RTM installer that was put into the
> GAC.
> I now want to remove the file in a patch because it is no longer needed.
> How
> should I author my wix code to delete the file?
> 
> Thanks,
> Lindsey
> -- 
> View this message in context:
> http://www.nabble.com/Removing-a-file-from-the-GAC-using-a-patch-tf45109
> 61.html#a12865594
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Removing-a-file-from-the-GAC-using-a-patch-tf4510961.html#a12928033
Sent from the wix-users mailing list archive at Nabble.com.


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


   
-
Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Removing a file from the GAC using a patch

2007-09-27 Thread LindseyLeu

Thanks Phil,

I was able to remove the file using the method suggested but I have another
question. Do I need to keep the file being deleted around so that the
installer can reference it and delete it in the patch, or is can I delete
that file from the source? For files in other folders, I have been able to
remove them in a patch by adding entries in the removefile table and taking
out the file entry for the component all together. Is there an advantage of
using one technique over the other?

Thanks,
Lindsey



Wilson, Phil wrote:
> 
> You can't remove the component containing the file (that's not allowed
> during a patch) but you can mark it as a transitive component (don't
> know the WiX speak) with a condition that's false (like 0) to make it
> absent. 
> 
> Phil Wilson 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of LindseyLeu
> Sent: Monday, September 24, 2007 11:37 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Removing a file from the GAC using a patch
> 
> 
> Hi,
> 
> I have an assembly installed by the RTM installer that was put into the
> GAC.
> I now want to remove the file in a patch because it is no longer needed.
> How
> should I author my wix code to delete the file?
> 
> Thanks,
> Lindsey
> -- 
> View this message in context:
> http://www.nabble.com/Removing-a-file-from-the-GAC-using-a-patch-tf45109
> 61.html#a12865594
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Removing-a-file-from-the-GAC-using-a-patch-tf4510961.html#a12928033
Sent from the wix-users mailing list archive at Nabble.com.


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


Re: [WiX-users] Is there any way to find out version of your .MSI file (installed)

2007-09-27 Thread Jim Hewes
 
Another way is to call the MsiGetProductInfo function. Pass the product code
GUID as the first parameter (including the surrounding braces). Pass the
string "VersionString" for the second parameter.
 
Jim
 
 
 
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of V K Gangwar
Sent: Wednesday, September 26, 2007 10:24 PM
To: John Lalande; wix-users@lists.sourceforge.net
Subject: [WiX-users] Is there any way to find out version of your .MSI file
(installed)
 
Sorry,
I think i didn't mention my question properly.
Actually I wanted to know the version number of an already installed
package.


Thanks!!
Veerendra

John Lalande <[EMAIL PROTECTED]> wrote:
Veerendra

You could use Orca to open the MSI and look at the ProductVersion property
in the Properties table.

But I find it easier to author my packages so that the version is in the
Explorer tool tip for the MSI file. 

The way I do this is to put the version in the Comments attribute of the
Package tag.

So that I don't have to update the comment every time I make a new version,
I simply use the same pre-processor variable definition that I use elsewhere
in my WiX source such as the Version attribute of the Product tag and the
Upgrade entries. 

John

Date: Wed, 26 Sep 2007 07:28:48 -0700 (PDT)
From: V K Gangwar <[EMAIL PROTECTED]>
Subject: [WiX-users] Is there any way to find out version of your .MSI 
   file
To: wix-users@lists.sourceforge.net
Message-ID: < 
[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"
Hello,

Is there any method to find out the version number (major.minor.build) of
our  msi package.

Thanks in advance.

Regards,
Veerendra
 
  
  _  

Be a better Heartthrob. Get
  better
relationship answers from someone who knows.
Yahoo! Answers - Check it out. 
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Searching for multiple registry keys

2007-09-27 Thread Chris Ridd

On 27 Sep 2007, at 17:59, Kelly Leahy wrote:

>
> Oops.  Sorry Chris for the duplicate - I forgot to reply to all on  
> the first one.

Not a problem - I'll put my reply to you below for everyone's benefit.

> Here's what I sent to Chris - others, tell me if this won't work,  
> because I may need this approach myself, later in my installer  
> building process.
>
> You could do custom actions that set another property based on its  
> previous existence...
>
> consider a property named JVMHOME.  Don't initialize (or create) it.
>
> Write custom actions conditioned on JVMHOME existing, that in  
> sequence set the JVMHOME to another value if the appropriate  
> variable is set.
>
> For instance:
>
>  Value="[JDKHOME15]" ...>JDKHOME15 AND NOT JVMPATH
>  Value="[JREHOME15]" ...>JREHOME15 AND NOT JVMPATH
> ...
>
> I think this will work.  The ... in the <> are there because I  
> don't know what other properties you need to make this go into the  
> proper sequence etc.  If you use this approach, please post back  
> (or reply to me) with the proper complete set of attributes so I'll  
> know the next time.
>
> Kelly

That looks like a much more promising approach than mine :-)

I haven't had to use CustomActions before - do I need to do anything  
special (apart from putting them inside the ) to make them  
work?

Cheers,

Chris


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


[WiX-users] FileSearch - please?

2007-09-27 Thread Chris





All,



I install my app in C:\Program Files\Company\App 1.1 ...  There is a 
subdirectory Archive\ that does not get removed upon uninstallation.  



How do I search for the most recent version of App and copy all the files 
within App 1.1\Archive to a new directory?If someone can show me an example, 
I'd appreciate it.



Also - are there any books or documentation further than the XML and Tutorial 
that I can purchase?  



Thank you,

Christopher

___
No banners. No pop-ups. No kidding.
Make My Way  your home on the Web - http://www.myway.com



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


Re: [WiX-users] Searching for multiple registry keys

2007-09-27 Thread Kelly Leahy
Oops.  Sorry Chris for the duplicate - I forgot to reply to all on the 
first one.

Here's what I sent to Chris - others, tell me if this won't work, because 
I may need this approach myself, later in my installer building process.

You could do custom actions that set another property based on its 
previous existence...

consider a property named JVMHOME.  Don't initialize (or create) it.

Write custom actions conditioned on JVMHOME existing, that in sequence set 
the JVMHOME to another value if the appropriate variable is set.

For instance:

JDKHOME15 AND NOT JVMPATH
JREHOME15 AND NOT JVMPATH
...

I think this will work.  The ... in the <> are there because I don't know 
what other properties you need to make this go into the proper sequence 
etc.  If you use this approach, please post back (or reply to me) with the 
proper complete set of attributes so I'll know the next time.

Kelly




Chris Ridd <[EMAIL PROTECTED]>

Sent by: [EMAIL PROTECTED]
09/27/2007 08:58 AM

To
wix-users@lists.sourceforge.net
cc

Subject
[WiX-users] Searching for multiple registry keys






Hi again,

Some of my shortcuts call Java, and I need them to find the "right" one 
when multiple versions are installed. So I set up 4  elements 
which set JDKHOME15, JREHOME15, JDKHOME16, and JREHOME15 using 
.

It looks like these properties are being set correctly when I install 
using msiexec and get verbose logging.

How do I set up a  to use [JDKHOME15]\bin\javaw if JDKHOME15 is 
set, or [JREHOME15]bin\javaw if JDKHOME15 is not set and JREHOME15 is, or 
[etc]? I can't work out the  syntax, and I can't work out how 
to use a  with s :-(

Am I even on the right track?

Cheers,

Chris

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




**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any 
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries 
guidelines.
**-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Uninstall fonts?

2007-09-27 Thread Brian Simoneau
The best way to leave a component is to give it a GUID but mark the
component as Permanent.
 
-Brian Simoneau




From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kelly
Leahy
Sent: Wednesday, September 26, 2007 9:54 PM
To: Kelly Leahy
Cc: [EMAIL PROTECTED];
wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Uninstall fonts?



Ok... that's my fault.  I forgot to put a guid on the component
containing the fonts.  Interestingly enough - it built successfully
without warning me (I had Guid="") and installed them properly, but
didn't remove them. 

Is this the recommended way to convince the installer to install
something but not remove it?  I'm assuming it isn't.  This is the
behavior I want, however, since my application must work with several
versions installed side-by-side, and I don't want someone removing an
older version to cause the newer versions to lose the fonts. 

Kelly 




Kelly Leahy <[EMAIL PROTECTED]> 

Sent by: [EMAIL PROTECTED] 

09/26/2007 03:39 PM 

To
wix-users@lists.sourceforge.net 
cc
Subject
[WiX-users] Uninstall fonts?







Does Wix uninstall fonts that were installed by a Wix-based
installer?  It seems like it doesn't. 

I understand it's probably not a good idea to uninstall fonts,
since there's no refcounting behavior for them.  I just want to make
sure it really doesn't uninstall them and I'm not just seeing things. 

Kelly 



**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any
disclosure, 
copying, distribution or any action taken or omitted to be taken
in
reliance on it, is prohibited and may be unlawful.  Unless
indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any

other party, and it should be considered to be a work in
progress.
Unless stated otherwise, this communication does not form a
prescribed
statement of actuarial opinion under American Academy of
Actuaries 
guidelines.


**--
---
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.

http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/_
__
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users





**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any
disclosure, 
copying, distribution or any action taken or omitted to be taken
in
reliance on it, is prohibited and may be unlawful.  Unless
indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any

other party, and it should be considered to be a work in
progress.
Unless stated otherwise, this communication does not form a
prescribed
statement of actuarial opinion under American Academy of
Actuaries 
guidelines.


**

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


Re: [WiX-users] How do i invoke a dialog from a sucessful or un-sucessful registry search?

2007-09-27 Thread Rob Hamflett
You use a  element in InstallExecuteSequence to show the dialog, and use 
a condition based on 
the property set by the RegistrySearch.

Rob

Craig0ss wrote:
> Hi 
> 
> as the subject states i need a dialog to be brought to the users attention
> upon the execution of the msi if a regisrty is sucessful
> 
> im surching for previously installed versions of my software, if it is found
> on the target machine i need the dialog to execute. if its not found then
> nothin need happen
> 
> thank you


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


[WiX-users] Searching for multiple registry keys

2007-09-27 Thread Chris Ridd
Hi again,

Some of my shortcuts call Java, and I need them to find the "right" one when 
multiple versions are installed. So I set up 4  elements which set 
JDKHOME15, JREHOME15, JDKHOME16, and JREHOME15 using .

It looks like these properties are being set correctly when I install using 
msiexec and get verbose logging.

How do I set up a  to use [JDKHOME15]\bin\javaw if JDKHOME15 is set, 
or [JREHOME15]bin\javaw if JDKHOME15 is not set and JREHOME15 is, or [etc]? I 
can't work out the  syntax, and I can't work out how to use a 
 with s :-(

Am I even on the right track?

Cheers,

Chris

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


Re: [WiX-users] multiple language inside of a wix MSI

2007-09-27 Thread Rob Hamflett
No.  You either have to have separate MSIs, or create a base MSI and apply a 
transform for the 
desired language.

Rob

Adam Langley wrote:
> Is it possible to have a language dropdown selection as the first page 
> in the MSI wizard, which changes the locale used for the UI?
> 
> I have played with localizing MSIs but this all seems to be 
> auto-detected, and non-modifiable after the MSI has begun executing…
> 
>  
> 
> Thanks
> 
>  
> 
> -  Adam Langley
> 
>  
> 
> Secon NZ Ltd.*
> *A1/400 Rosedale Road
> Albany
> North Shore 0632
> New Zealand
> 
> Tel.  +64 (0)9 414 4071
> Fax. +64 (0)9 414 4072
> 
> www.seconag.com 
> 
>  
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
> 
> 
> 
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


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


[WiX-users] How do i invoke a dialog from a sucessful or un-sucessful registry search?

2007-09-27 Thread Craig0ss

Hi 

as the subject states i need a dialog to be brought to the users attention
upon the execution of the msi if a regisrty is sucessful

im surching for previously installed versions of my software, if it is found
on the target machine i need the dialog to execute. if its not found then
nothin need happen

thank you
-- 
View this message in context: 
http://www.nabble.com/How-do-i-invoke-a-dialog-from-a-sucessful-or-un-sucessful-registry-search--tf4529088.html#a12923599
Sent from the wix-users mailing list archive at Nabble.com.


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


Re: [WiX-users] Search for file as pre-requesit

2007-09-27 Thread Rob Hamflett
I'd give your property an initial value of something like "notfound" and use a 
condition of 
OLDVERSIONDETECTED = "notfound".  The condition will fail if AppSearch found 
something and updated 
the property.

Rob

Craig0ss wrote:
> HI 
> 
> Yeah sorry i see what ya mean now, ive decided to look for a registry of an
> earlier installed version of my software, not a txt file anymore.
> 
> so my registry search is ok? how do i call the "condition" if the registry
> search returns false?
> 
> thanks
> 
> 
> 
> Rob Hamflett wrote:
>> As an aside, what you're doing isn't a Custom Action, but it should work
>> anyway.  I think maybe 
>> you've got the condition wrong.  I think you need it so that the package
>> continues when the 
>> condition is successful, which is what's happening now.  If the condition
>> is false then the error is 
>> shown.
>>
>> Rob
>>
>> Craig0ss wrote:
>>> hi thanks for your reply
>>>
>>> Im doing a registry search at the moment, its basicaly the same however i
>>> cant get my code working, here is my reg search code
>>>
>>> 
>>>   >> Key="SOFTWARE\Optisoft\Settings\SetupType.reg" Name="RegSearch" />
>>> 
>>>
>>> and here is my custom action 
>>>
>>> OLDVERSIONDETECTED  
>>> 
>>> im not quite sure how to call the custom action if the reg search returns
>>> false
>>>
>>> could you help me with my above code
>>>
>>> Thanks for your input
>>>
>>> Craig
>>>
>>>
>>>
>>> Rob Hamflett wrote:
 You can do the same thing with an Error Custom Action.  Get AppSearch to
 look for your file, and if 
 it doesn't find it, call your Custom Action to show the error.

 Rob

 Craig0ss wrote:
> Hi 
>
> I need to search for a txt file that is installed with a certain app
> that
> my
> app needs to run, so im looking for a launch condition that looks on
> the
> computer (C:\Windows\System32\vbruntme.txt), if this is found the
> installer
> installs as normal and if it doesnt find the file on the computer then
> it
> displays a msg. 
>
> I have this in the boostrapper for my exe but i need it for my msi as a
> launch condition???
>
> Thanks
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


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


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


Re: [WiX-users] Search for file as pre-requesit

2007-09-27 Thread Craig0ss

HI 

Yeah sorry i see what ya mean now, ive decided to look for a registry of an
earlier installed version of my software, not a txt file anymore.

so my registry search is ok? how do i call the "condition" if the registry
search returns false?

thanks



Rob Hamflett wrote:
> 
> As an aside, what you're doing isn't a Custom Action, but it should work
> anyway.  I think maybe 
> you've got the condition wrong.  I think you need it so that the package
> continues when the 
> condition is successful, which is what's happening now.  If the condition
> is false then the error is 
> shown.
> 
> Rob
> 
> Craig0ss wrote:
>> hi thanks for your reply
>> 
>> Im doing a registry search at the moment, its basicaly the same however i
>> cant get my code working, here is my reg search code
>> 
>> 
>>   > Key="SOFTWARE\Optisoft\Settings\SetupType.reg" Name="RegSearch" />
>> 
>> 
>> and here is my custom action 
>> 
>> OLDVERSIONDETECTED  
>> 
>> im not quite sure how to call the custom action if the reg search returns
>> false
>> 
>> could you help me with my above code
>> 
>> Thanks for your input
>> 
>> Craig
>> 
>> 
>> 
>> Rob Hamflett wrote:
>>> You can do the same thing with an Error Custom Action.  Get AppSearch to
>>> look for your file, and if 
>>> it doesn't find it, call your Custom Action to show the error.
>>>
>>> Rob
>>>
>>> Craig0ss wrote:
 Hi 

 I need to search for a txt file that is installed with a certain app
 that
 my
 app needs to run, so im looking for a launch condition that looks on
 the
 computer (C:\Windows\System32\vbruntme.txt), if this is found the
 installer
 installs as normal and if it doesnt find the file on the computer then
 it
 displays a msg. 

 I have this in the boostrapper for my exe but i need it for my msi as a
 launch condition???

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

-- 
View this message in context: 
http://www.nabble.com/Search-for-file-as-pre-requesit-tf4515763.html#a12922368
Sent from the wix-users mailing list archive at Nabble.com.


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


[WiX-users] multiple language inside of a wix MSI

2007-09-27 Thread Adam Langley
Is it possible to have a language dropdown selection as the first page in
the MSI wizard, which changes the locale used for the UI?

I have played with localizing MSIs but this all seems to be auto-detected,
and non-modifiable after the MSI has begun executing.

 

Thanks

 

-  Adam Langley

 

Secon NZ Ltd.
A1/400 Rosedale Road
Albany
North Shore 0632
New Zealand

Tel.  +64 (0)9 414 4071
Fax. +64 (0)9 414 4072

  www.seconag.com

 

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


Re: [WiX-users] Search for file as pre-requesit

2007-09-27 Thread Rob Hamflett
As an aside, what you're doing isn't a Custom Action, but it should work 
anyway.  I think maybe 
you've got the condition wrong.  I think you need it so that the package 
continues when the 
condition is successful, which is what's happening now.  If the condition is 
false then the error is 
shown.

Rob

Craig0ss wrote:
> hi thanks for your reply
> 
> Im doing a registry search at the moment, its basicaly the same however i
> cant get my code working, here is my reg search code
> 
> 
>Key="SOFTWARE\Optisoft\Settings\SetupType.reg" Name="RegSearch" />
> 
> 
> and here is my custom action 
> 
> OLDVERSIONDETECTED  
> 
> im not quite sure how to call the custom action if the reg search returns
> false
> 
> could you help me with my above code
> 
> Thanks for your input
> 
> Craig
> 
> 
> 
> Rob Hamflett wrote:
>> You can do the same thing with an Error Custom Action.  Get AppSearch to
>> look for your file, and if 
>> it doesn't find it, call your Custom Action to show the error.
>>
>> Rob
>>
>> Craig0ss wrote:
>>> Hi 
>>>
>>> I need to search for a txt file that is installed with a certain app that
>>> my
>>> app needs to run, so im looking for a launch condition that looks on the
>>> computer (C:\Windows\System32\vbruntme.txt), if this is found the
>>> installer
>>> installs as normal and if it doesnt find the file on the computer then it
>>> displays a msg. 
>>>
>>> I have this in the boostrapper for my exe but i need it for my msi as a
>>> launch condition???
>>>
>>> Thanks
>>
>> -
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2005.
>> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
> 


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


Re: [WiX-users] Search for file as pre-requesit

2007-09-27 Thread Craig0ss

hi thanks for your reply

Im doing a registry search at the moment, its basicaly the same however i
cant get my code working, here is my reg search code


  


and here is my custom action 

OLDVERSIONDETECTED  

im not quite sure how to call the custom action if the reg search returns
false

could you help me with my above code

Thanks for your input

Craig



Rob Hamflett wrote:
> 
> You can do the same thing with an Error Custom Action.  Get AppSearch to
> look for your file, and if 
> it doesn't find it, call your Custom Action to show the error.
> 
> Rob
> 
> Craig0ss wrote:
>> Hi 
>> 
>> I need to search for a txt file that is installed with a certain app that
>> my
>> app needs to run, so im looking for a launch condition that looks on the
>> computer (C:\Windows\System32\vbruntme.txt), if this is found the
>> installer
>> installs as normal and if it doesnt find the file on the computer then it
>> displays a msg. 
>> 
>> I have this in the boostrapper for my exe but i need it for my msi as a
>> launch condition???
>> 
>> Thanks
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Search-for-file-as-pre-requesit-tf4515763.html#a12921299
Sent from the wix-users mailing list archive at Nabble.com.


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


[WiX-users] Source path bindings.

2007-09-27 Thread Andrey T
Hello!

I have following question: how light.exe does resolve source path bindings when 
it searches for files to place in output image?

For example: I have .wxs file where I defined "FileSource" attribute with value 
".\" on some  element. What does these setting mean for light.exe? 
To search files in the same folder where .wxs file resides, or to search for 
files where .wixobj file resides?

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


Re: [WiX-users] Spaces in Shortcut/@Arguments

2007-09-27 Thread Chris Ridd
 
On Thursday, September 27, 2007, at 01:59PM, "John Vottero" <[EMAIL PROTECTED]> 
wrote:
>> On Thursday, September 27, 2007, at 01:00PM, "John Vottero"
>> <[EMAIL PROTECTED]> wrote:
>> >> Should something be properly escaping/quoting the argument? I can
>> slip
>> >> a couple of "s into my arguments string, but that feels like a
>> >> layering hack.
>> >
>> >WiX and MSI have no way of knowing that your argument is a path that
>> >needs to be quoted if it contains a space.  You're going to have to
>> add
>> >the "s.
>> 
>> Surely the Installer knows it is replacing part of a string with a
>> string containing a space? It feels like that's the code that should
>be
>> doing the quoting, but you're probably right about me having to do it
>> instead...
>> 
>
>There's no way for the installer to know if the string that you're
>building is supposed to be one argument (with quotes) or two arguments.

I suppose not. It does automatically quote the string in the Target, though I 
guess that's definitely got to be a single string.

Using extra "s works OK.

Cheers,

Chris

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


Re: [WiX-users] Spaces in Shortcut/@Arguments

2007-09-27 Thread John Vottero
> On Thursday, September 27, 2007, at 01:00PM, "John Vottero"
> <[EMAIL PROTECTED]> wrote:
> >> Should something be properly escaping/quoting the argument? I can
> slip
> >> a couple of "s into my arguments string, but that feels like a
> >> layering hack.
> >
> >WiX and MSI have no way of knowing that your argument is a path that
> >needs to be quoted if it contains a space.  You're going to have to
> add
> >the "s.
> 
> Surely the Installer knows it is replacing part of a string with a
> string containing a space? It feels like that's the code that should
be
> doing the quoting, but you're probably right about me having to do it
> instead...
> 

There's no way for the installer to know if the string that you're
building is supposed to be one argument (with quotes) or two arguments.


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


Re: [WiX-users] Spaces in Shortcut/@Arguments

2007-09-27 Thread Chris Ridd
 
On Thursday, September 27, 2007, at 01:00PM, "John Vottero" <[EMAIL PROTECTED]> 
wrote:
>> Should something be properly escaping/quoting the argument? I can slip
>> a couple of "s into my arguments string, but that feels like a
>> layering hack.
>
>WiX and MSI have no way of knowing that your argument is a path that
>needs to be quoted if it contains a space.  You're going to have to add
>the "s.

Surely the Installer knows it is replacing part of a string with a string 
containing a space? It feels like that's the code that should be doing the 
quoting, but you're probably right about me having to do it instead...

Cheers,

Chris


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


Re: [WiX-users] can I use MD5 of file/dir for Id values?

2007-09-27 Thread Chris Ridd
 
On Thursday, September 27, 2007, at 12:35PM, "Kaveh Goudarzi" <[EMAIL 
PROTECTED]> wrote:
>Hi Chris,
>
>   Thanks for the advice :-) ... when you say with "AUTO_" as documented 
>... where do you mean?  I'm wondering if I missed some guidance doc 
>which I need to look at before I make this change.

It is just for me own personal use/documentation, so that when I'm looking at 
an enormous WXS file and I see some reference to AUTO_lots_of_hex then I know 
it got generated by my tools.

>   Also what is the nature of your frag gen code/script?  I found tallow 
>in its current form (wix2.0) did not do what we needed but I'm very 
>interested in combining what I have done (tallow ant custom task) 
>with other code out there so that we can pool dev efforts and 
>hopefully contribute to the WiX project as a whole.

Our packaging infrastructure is written in Tcl, and it uses a flat file listing 
what files are expected to be installed in what target directories, and then it 
writes the WXS file using the directory structure implied by that file. It 
actually seems to work :-)

Cheers,

Chris

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


Re: [WiX-users] can I use MD5 of file/dir for Id values?

2007-09-27 Thread Kaveh Goudarzi
Hi Chris,

Thanks for the advice :-) ... when you say with "AUTO_" as documented 
... where do you mean?  I'm wondering if I missed some guidance doc 
which I need to look at before I make this change.

Also what is the nature of your frag gen code/script?  I found tallow 
in its current form (wix2.0) did not do what we needed but I'm very 
interested in combining what I have done (tallow ant custom task) 
with other code out there so that we can pool dev efforts and 
hopefully contribute to the WiX project as a whole.

thanks again + kind regards,

Kaveh.


Chris Ridd wrote:
>  
> On Thursday, September 27, 2007, at 11:00AM, "Kaveh Goudarzi" <[EMAIL 
> PROTECTED]> wrote:
>> Hi All,
>>
>>I want see if it's ok to use the md5 of a dir name relative to 
>> INSTALL dir as its ID?  I have written a tallow equivalent ant task 
>> which automatically creates my fragment for me as part of my source 
>> build however I find I need to be able to refer to directories which 
>> were created as part of the auto-generated fragments.
> 
> That's pretty much what I do. I prefix them with "AUTO_" partly as 
> documentation, and partly because there's also a requirement that the first 
> char in the Id is alphabetic.
> 
>>   My thinking is that MD5 is a 32-character hexadecimal string so it 
>> should fit happily within the 72 chars that id has allocated in the db 
>> column and since its a deterministic derivative of the dir name I can 
>> always work out and refer to the id of any directory in the 
>> autogenerated fragements from within my hand rolles wxs files.
>>
>>
>>   Are there any downsides to this approach?  what are the alternatives?
> 
> It makes reading the wxs files a bit of a pain, but I can't think of any 
> other downsides. Writing out the complete directory path in an XML comment  
> before the  helps a little here.
> 
> Cheers,
> 
> Chris

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


Re: [WiX-users] something strange about appsearch in vista

2007-09-27 Thread bcs

Adding Secure="yes" to the Property element solved my problem on Vista.
This attribute marks the property as secure.

Best regards,
Bo
-- 
View this message in context: 
http://www.nabble.com/something-strange-about-appsearch-in-vista-tf4390625.html#a12919812
Sent from the wix-users mailing list archive at Nabble.com.


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


Re: [WiX-users] Spaces in Shortcut/@Arguments

2007-09-27 Thread John Vottero
> I'm generating a number of shortcuts to programs/scripts/etc that take
> arguments. One tester has noticed that a shortcut set up like:
> 
>  
>   Name="logconf" LongName="Log Configuration Tool"
> 
>   Target="[INSTALLDIR]bin\wish.exe"
> 
>   Arguments="[INSTALLDIR]bin\logconfig"
> 
>   WorkingDirectory="DATADIR"/>
> 
> fails because at install-time [INSTALLDIR] becomes C:\Program
> Files\Foo, and so the expected single argument gets split into
> "C:\Program" and "Files\Foo\bin\logconfig".
> 
> Should something be properly escaping/quoting the argument? I can slip
> a couple of "s into my arguments string, but that feels like a
> layering hack.

WiX and MSI have no way of knowing that your argument is a path that
needs to be quoted if it contains a space.  You're going to have to add
the "s.


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


[WiX-users] running a condition when reg key found

2007-09-27 Thread Craig0ss

Hi 

I need to run a condition but only if a reg key is found

here is my reg search


  


and here is my conditon that needs to run if the reg search brings back a
true value, please bear in mind i am new to wix

OLDVERSIONDETECTED  

Thanks Guys/Gals

-- 
View this message in context: 
http://www.nabble.com/running-a-condition-when-reg-key-found-tf4527605.html#a12918726
Sent from the wix-users mailing list archive at Nabble.com.


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


[WiX-users] Spaces in Shortcut/@Arguments

2007-09-27 Thread Chris Ridd
Hi,

I'm generating a number of shortcuts to programs/scripts/etc that take 
arguments. One tester has noticed that a shortcut set up like:



fails because at install-time [INSTALLDIR] becomes C:\Program Files\Foo, and so 
the expected single argument gets split into "C:\Program" and 
"Files\Foo\bin\logconfig".

Should something be properly escaping/quoting the argument? I can slip a couple 
of "s into my arguments string, but that feels like a layering hack.

Cheers,

Chris

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


Re: [WiX-users] can I use MD5 of file/dir for Id values?

2007-09-27 Thread Chris Ridd
 
On Thursday, September 27, 2007, at 11:00AM, "Kaveh Goudarzi" <[EMAIL 
PROTECTED]> wrote:
>Hi All,
>
>I want see if it's ok to use the md5 of a dir name relative to 
>INSTALL dir as its ID?  I have written a tallow equivalent ant task 
>which automatically creates my fragment for me as part of my source 
>build however I find I need to be able to refer to directories which 
>were created as part of the auto-generated fragments.

That's pretty much what I do. I prefix them with "AUTO_" partly as 
documentation, and partly because there's also a requirement that the first 
char in the Id is alphabetic.

>   My thinking is that MD5 is a 32-character hexadecimal string so it 
>should fit happily within the 72 chars that id has allocated in the db 
>column and since its a deterministic derivative of the dir name I can 
>always work out and refer to the id of any directory in the 
>autogenerated fragements from within my hand rolles wxs files.
>
>
>   Are there any downsides to this approach?  what are the alternatives?

It makes reading the wxs files a bit of a pain, but I can't think of any other 
downsides. Writing out the complete directory path in an XML comment  before 
the  helps a little here.

Cheers,

Chris

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


[WiX-users] can I use MD5 of file/dir for Id values?

2007-09-27 Thread Kaveh Goudarzi
Hi All,

I want see if it's ok to use the md5 of a dir name relative to 
INSTALL dir as its ID?  I have written a tallow equivalent ant task 
which automatically creates my fragment for me as part of my source 
build however I find I need to be able to refer to directories which 
were created as part of the auto-generated fragments.

   My thinking is that MD5 is a 32-character hexadecimal string so it 
should fit happily within the 72 chars that id has allocated in the db 
column and since its a deterministic derivative of the dir name I can 
always work out and refer to the id of any directory in the 
autogenerated fragements from within my hand rolles wxs files.


   Are there any downsides to this approach?  what are the alternatives?

thanks in advance + kind regards,

Kaveh.

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


Re: [WiX-users] Is there any way to find out version of your .MSI file (installed)

2007-09-27 Thread Rob Hamflett
There are a couple of ways.  In 'Add/Remove Programs', select the package and 
click where it says 
'Click here for support information'.  The info on that dialog should include 
the version number. 
If you need to get it programmatically, then the info can be found under the 
following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\

Rob


V K Gangwar wrote:
> Sorry,
> I think i didn't mention my question properly.
> Actually I wanted to know the version number of an already installed 
> package.
> 
> 
> Thanks!!
> Veerendra
> 
> */John Lalande <[EMAIL PROTECTED]>/* wrote:
> 
> Veerendra
> 
> You could use Orca to open the MSI and look at the ProductVersion
> property in the Properties table.
> 
> But I find it easier to author my packages so that the version is in
> the Explorer tool tip for the MSI file.
> 
> The way I do this is to put the version in the Comments attribute of
> the Package tag.
> 
> So that I don't have to update the comment every time I make a new
> version, I simply use the same pre-processor variable definition
> that I use elsewhere in my WiX source such as the Version attribute
> of the Product tag and the Upgrade entries.
> 
> John
> 
> Date: Wed, 26 Sep 2007 07:28:48 -0700 (PDT)
> From: V K Gangwar <[EMAIL PROTECTED]
> >
> Subject: [WiX-users] Is there any way to find out version of your .MSI
>file
> To: wix-users@lists.sourceforge.net
> 
> Message-ID: < [EMAIL PROTECTED]
> >
> Content-Type: text/plain; charset="iso-8859-1"
> Hello,
> 
> Is there any method to find out the version number
> (major.minor.build) of  our  msi package.
> 
> Thanks in advance.
> 
> Regards,
> Veerendra
> 
> 
> 
> Be a better Heartthrob. Get better relationship answers 
> from
>  
> someone who knows.
> Yahoo! Answers - Check it out.
> 
> 
> 
> 
> -
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
> 
> 
> 
> 
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


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


[WiX-users] Setup has detected that the publisher of file 'C:\Users\Craig0ss\AppData\Local\Temp\VSD2B57.tmp\VB5Runtime\msvbvm50.exe' cannot be verified.

2007-09-27 Thread Craig0ss

Hi there

When i try and install my msi on windows vista, my bootstrapper looks for
vb5runtime, if its not found its start the setup of the vb5runtime, this
works fine, however when i click the install for the vb5runtime i get the
following error

Setup has detected that the publisher of file
'C:\Users\Craig0ss\AppData\Local\Temp\VSD2B57.tmp\VB5Runtime\msvbvm50.exe'
cannot be verified.

if i try an install the vb5runtime manualy it works fine but it doesnt when
exectuted from my setup.exe, i thought it may be a problem with UAC so i
tried it with UAC disabled but to no evail, i also tried running the
setup.exe as admin but again to no evail.

here is the code for my bootstrapper, hopefully someone can help me with
this issue as im stuck :S


http://schemas.microsoft.com/developer/msbuild/2003";>
  
   
C:\Projects\optisoft\Installer\Optisoft\NewBootStrapper\Optisoft.msi
  
  
  
  .NET Framework 2.0


  Microsoft Data Access Components 2.8


  Windows Installer 3.1


  MSJet35


  VB5Runtime
  

  VB6Runtime

 
  
  

  


Thanks

-- 
View this message in context: 
http://www.nabble.com/Setup-has-detected-that-the-publisher-of-file-%27C%3A%5CUsers%5CCraig0ss%5CAppData%5CLocal%5CTemp%5CVSD2B57.tmp%5CVB5Runtime%5Cmsvbvm50.exe%27-cannot-be-verified.-tf4527002.html#a12916759
Sent from the wix-users mailing list archive at Nabble.com.


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


[WiX-users] heat problems with .reg and .tlb files

2007-09-27 Thread Matthew Stump
I have around 10 .Net assemblies that I expose via COM in the solution that Im 
packaging via Wix. As part of build process for each of these projects as a 
post build event I copy the resulting assemblies, executables, tlb files and 
pdb files to a build directory.  I run heat across the build directory to 
create a fragment file which is transformed via XSLT and sed before the Votive 
project kicks off.  Ive got my project to the point where everything gets 
installed into the GAC and I can instantiate any of my classes via COM but 
still have a few remaining issues in the COM interop portion of my project 
having to do with getting the type libraries registered correctly.  My problem 
stems from the fact that heat refuses to do the registry harvesting for either 
.reg or .tlb files.  Instead it creates a new component whose only child is a 
File element.  Ive seen posts asking for this feature in 2006 and the code 
looks like it should work but no matter what I do I havent been successful.  I 
was going to setup the build system and step through heat in a debugger to 
figure out what was going on but Im having trouble with the nAnt build system.  
So rather than trying to take this any further I was wondering if anyone on 
this list has actually seen this feature work and if so which build?  Ive tried 
this with heat versions 3.0.2925 and 3.0.3307 and get the same result.

 

Matt Stump



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