Jason,

Would you happen to be checking the path on an existing command line 
window, or have you opened a new one?  The path of existing command line 
windows does not change when the system is updated (there isn't really any 
good way to do this, since the user could have changed the path already in 
the command line window, so overwriting it with the windows path on 
changes would be unpleasant user experience).

If you right click on my computer and choose settings, then go to 
environment variables on the advanced tab, does the PATH have your 
changes?  If so, your install worked and you just 'checked' it wrong.

Kelly




"Jason Rivers" <[EMAIL PROTECTED]>

Sent by: [EMAIL PROTECTED]
10/22/2007 06:11 AM

To
"WiX Users" <wix-users@lists.sourceforge.net>
cc

Subject
Re: [WiX-users] set %PATH%








On 10/22/07, Richard <[EMAIL PROTECTED]> wrote:

In article <[EMAIL PROTECTED]>,
    "Jason Rivers" < [EMAIL PROTECTED]>  writes:

> I have these Lines:
>
>   <Fragment>
>     <DirectoryRef Id="TARGETDIR">
>       <Component Id="EnvPathSet"
> Guid="2D5030EF-6D11-4F48-B183-D1AE2EF87B61">
>              <Environment Id="EnvPathSet" Action="set" Name="PATH"
> Part="last" System="yes" Value="[INSTALLDIR]" /> 
>         </Component>
>     </DirectoryRef>
>   </Fragment>
>
>
> and also the line under my main Feature:
>
>         <ComponentRef Id="EnvPathSet"/> 
>
>
> but it doesn't appear to be modifying the %PATH% variable.
>
> is there something I'm doing wrong here?

What does your verbose log say?

I think you should have this <Environment> tag associated with the 
component containing the .EXE you want to have in the path and not in
its own component.
--
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
      < http://www.xmission.com/~legalize/book/download/index.html>

        Legalize Adulthood! <http://blogs.xmission.com/legalize/>

------------------------------------------------------------------------- 
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net 
https://lists.sourceforge.net/lists/listinfo/wix-users

I have this in my verbose Log:

MSI (s) (0C:C8) [14:02:53:830]: Executing op: 
ActionStart(Name=WriteEnvironmentStrings,Description=Updating environment 
strings,Template=Name: [1], Value: [2], Action [3]) 
MSI (s) (0C:C8) [14:02:53:830]: Executing op: 
ProgressTotal(Total=1,Type=1,ByteEquivalent=13200) 
MSI (s) (0C:C8) [14:02:53:840]: Executing op: 
UpdateEnvironmentStrings(Name=PATH,Value=C:\Program Files\Dyalog\Dyalog 
APL 11.0\,Delimiter=;,Action=-1610612735,)

which looks OK to me, but when I do "echo %PATH%" I only have: 

C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32\Wbem;c:\Program 
Files\Microsoft SQL Server\90\Tools\binn

so it doesn't appear to have added mine to the list.

when you say "I think you should have this <Environment> tag associated 
with the 
component containing the .EXE you want to have in the path and not in
its own component."

I'm not sure I follow, am I right in guessing the section: 

<DirectoryRef Id="INSTALLDIR"> 
      <Component Id="dyalog.exe" 
Guid="4782648F-F51D-4A46-B3B4-FD738C40E8FB"> 
        <File Id="dyalog.exe" Name="dyalog.exe" DiskId="1" KeyPath="yes" 
Source="C:\Documents and Settings\jason\Desktop\newtake\intel\dyalog.exe" 
/> 
      </Component> 
    </DirectoryRef>
I should have the ENVIRONMENT tag within this component tag?

/J
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
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: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to