If your intention is to make your application more easily accessible from a
command prompt then this won't help you, I'm afraid. App Paths affects the
path search order for ShellExecute[Ex] and a command prompt won't use that to
launch your exe unless you use the start command (e.g. start myapp.exe). It
will have the desired effect in the Start/Run dialog box however.


-----Original Message-----
From: Martin Kulov [mailto:mar...@kulov.net] 
Sent: 10 May 2011 10:33
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] dependent features

Hi Peter,

Thanks for the reference. I did not know this Windows feature.
However I am having hard time finding out how it actually works.
I create a subkey called myapp.exe under
KEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths. Then I
put full path to myapp.exe in the Default REG_SZ value.
I open a new Command Prompt and try to run myapp.exe. 
I've got an error that Windows cannot find myapp.exe.

Is it supposed to work like this?

Thanks,
Martin

-----Original Message-----
From: Peter Shirtcliffe [mailto:pshirtcli...@sdl.com] 
Sent: Tuesday, May 10, 2011 11:40 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] dependent features

App Paths would be a neat way to solve this, if they meet all your
requirements. The "registration" lives in components that you can add to the
features.

http://msdn.microsoft.com/en-us/library/ee872121%28v=vs.85%29.aspx#reg_app


-----Original Message-----
From: Martin Kulov [mailto:mar...@kulov.net]
Sent: 09 May 2011 22:41
To: wix-users
Subject: [WiX-users] dependent features

Hi all,

 

I would like to set environment variable PATH based on other features that
user has selected to install. PATH should set only the paths for selected
features. Additionally user must turn on and off PATH registration by
choosing to install feature called "Register Environment Variables".

 

Based on the article below I found that it is not possible to have a
component condition based on feature state:

http://www.joyofsetup.com/2008/04/09/feature-states-in-component-conditions/

 

I spent my day looking for a solution, so any ideas would be extremely
helpful.

 

Thanks,

 

Martin Kulov

http://www.kulov.net

 

----------------------------------------------------------------------------
-
-
WhatsUp Gold - Download Free Network Management Software The most intuitive,
comprehensive, and cost-effective network management toolset available
today.  Delivers lowest initial acquisition cost and overall TCO of any
competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires
that you delete it without acting upon or copying any of its contents, and
we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6
7DY, UK.


----------------------------------------------------------------------------
--
Achieve unprecedented app performance and reliability What every C/C++ and
Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools to help
boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-----------------------------------------------------------------------------
-
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to