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

Reply via email to