Hi,

I have the application requirement to have a X:\ mapped and add folders into it which could be done but also client required setting System environment variable as apps = “X:\_CfgData\”.

I added the above System env variable during the sequencing itself, which resulted in entries in deployment config file and user config file as below:

(a) Deploymentconfig.xml

Environment Variables

      

      -->

      <EnvironmentVariables Enabled="true">

        <Include>

          <Variable Name="apps" Value="X:\_CfgData\" />

          <Variable Name="PATH" Value="%PATH%;[{AppVPackageRoot}]\" />

        </Include>

        <!--

          

        <Delete>

          <Variable  Name="lib"/>

        </Delete>

        

        -->

      </EnvironmentVariables>

      <!--

 

(b) User config.XML:

      Environment Variables

      

      -->

    <EnvironmentVariables Enabled="true">

      <Include>

        <Variable Name="apps" Value="X:\_CfgData\" />

        <Variable Name="PATH" Value="%PATH%;[{AppVPackageRoot}]\" />

      </Include>

      <!--

          

        <Delete>

          <Variable  Name="lib"/>

        </Delete>

        

        -->

    </EnvironmentVariables>

    <!--

(c) Registry is getting under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment

 

When I publish, I was not able to see the environment variable reflected. Is there any way to add the environment variables.

 

(d) Targets for the shortcuts are set as below:

1)%APPS%\Reflection\r8win.exe X:\_CfgData\Reflection\AKR-HYP.rsf X:\_CfgData\Reflection\AKR-HYP.map

 

2)E:\APPS\Reflection\r2win.exe /n /s %APPS%\Reflection\connecties\APV001.r2w /s %APPS%\Reflection\settings\KADASTER.rkm

 

3)%apps%\Reflection\r2win.exe /n /s %APPS%\Reflection\connecties\APV330.r2w /s %APPS%\Reflection\settings\KADASTER.rkm

 

4)E:\APPS\Reflection\r2win.exe  /n /s %APPS%\Reflection\connecties\CSV035.r2w /s %APPS%\Reflection\settings\KADASTER.rkm

 

5)E:\APPS\Reflection\r2win.exe /n /s %APPS%\Reflection\connecties\HL0701.r2w /s %APPS%\Reflection\settings\KADASTER.rkm

 

6)%APPS%\Reflection\r2win.exe

start in : x:\_CfgData\Reflection

 

7)%APPS%\Reflection\Rx.exe

x:\_CfgData\Reflection

 

 

As the target is part of the environment variable, do I have to replace these by adding any scripts?? Any methods apart from this?

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

There are no answers at this time

Answers

Answer this question or Comment on this question for clarity

Share