App Paths works for Start->Run programs but not for command line programs.
MSI doesn't add anything automatically - what exe would it choose? 

If you use App Paths, make sure your program name is unique. ( You wouldn't
believe how often "setup.exe" in App Paths has usurped a bona fide setup.exe
program on a CD. There should be a rule banning the use of the name
setup.exe.  ) 

Phil Wilson 
________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Darren Kulp
Sent: Wednesday, August 23, 2006 6:28 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Command registration



Isn't this what the entries in
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\ do?
I thought I once saw some WiX documentation on this registry path, but I
can't find it now; does the WiX toolset have explicit support for App Paths,
is it taken care of automatically by MSI, or should I just put the registry
entry in myself (scary)?

 

I tried a test installer and nothing showed up there, but I may not have set
it up properly. Putting in an entry by hand doesn't seem immediately
effective either, so perhaps I'm just confused.

 

Thanks!

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of John Ludlow
Sent: Wednesday 23 August 2006 5:51
To: Rob Hamflett; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Command registration

 

Dang! always doing that.

 Sorry... :P

On 8/23/06, Rob Hamflett <[EMAIL PROTECTED]> wrote: 

Did you mean to send that just to me?

Rob

John Ludlow wrote:
> One thing to be aware of here is that this environment variable change 
> will not be available to your installation, and I think it's only
> written once the installation exits (though don't quote me on that
> one).  But if it's a command that the user would have to run at run 
> time, then Rob's suggestion should be fine.
>
> On 8/23/06, *Rob Hamflett* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> 
> wrote: 
>
>     <Component Id="updatepath" Guid="YOUR-GUID-HERE">
>         <Environment Id="updatepath" Name="PATH" Action="set"
>     System="yes" Part="first" 
>     Value="[DIRECTORY-ID]"/>
>     </Component>
>
>     I think DIRECTORY-ID has to be in uppercase so the property is
>     public and hence passed on to the
>     server side. 
>
>     Rob
>
>     Kamil Krawczyk wrote:
>     > I'm a newbie in wix, and I've got a problem in which I'll
>     apprised your
>     > help.
>     >
>     > I've got a simple command line application, and I would like to 
>     register
>     > the command during the installation, so I don't have to give
>     whole path
>     > just to make it run from different location than the work
>     directory of 
>     > that application.
>     >
>     > Any samples of wix code will be very helpful.
>     >
>     >
>     >
>     >
>
------------------------------------------------------------------------ 
>
>  


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

Reply via email to