Results 1 to 4 of 4

Thread: Installer error

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Unhappy Installer error

    Hi all,

    I have a problem in installation process.
    My script can create folders, can copy files but cannot modify or delete them and I don't know why...
    I run the installer as an Administrator.

    ...
    ! CPM params in Export2CPM_WFActivity.xml file
    If %INSTALLMODE% Equals "40" Then
    If %CUSTOM_DFE% Equals "2" Then
    Rename File/Folder "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity_ProductionFlow.xml" to "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity.xml"
    /* Copy Local Files from "C:\Maui Install\PrintStation\components\wf\cpm_export\Expo rt2CPM_WFActivity_ProductionFlow.xml" to "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity.xml" */
    Else
    Rename File/Folder "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity_Barak.xml" to "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity.xml"
    /* Copy Local Files from "C:\Maui Install\PrintStation\components\wf\cpm_export\Expo rt2CPM_WFActivity_Barak.xml" to "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity.xml" */
    End
    Else
    Rename File/Folder "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity_Barak.xml" to "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity.xml"
    /* Copy Local Files from "C:\Maui Install\PrintStation\components\wf\cpm_export\Expo rt2CPM_WFActivity_Barak.xml" to "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity.xml" */
    End
    /* Delete Local Files "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity_Barak.xml" */
    /* Delete Local Files "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity_ProductionFlow.xml" */
    Text File: Delete Line 7 from "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity.xml"
    Text File: Insert Line 7 to "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity.xml" -- <_1>%CUSTOM_CPM_HOME%\cpm\conf\</_1>
    Text File: Delete Line 8 from "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity.xml"
    Text File: Insert Line 8 to "%_SB_INSTALLDIR%\components\wf\cpm_export\Export2 CPM_WFActivity.xml" -- <_2>%CUSTOM_CPM_HOME%\lib</_2>

    ! Replace the path separator \ with /
    /* Set File Attributes for "%_SB_INSTALLDIR%\config\log4j.xml" */
    Set Variable %TEMP_SB_INSTALLDIR% to ScriptItem->Replace(%_SB_INSTALLDIR%, \, /)
    Text File: Delete Line 7 from "%_SB_INSTALLDIR%\config\log4j.xml"
    Text File: Insert Line 7 to "%_SB_INSTALLDIR%\config\log4j.xml" -- <param name="File" value="%TEMP_SB_INSTALLDIR%/logs/printstation.txt"/>
    Text File: Delete Line 14 from "%_SB_INSTALLDIR%\config\log4j.xml"
    Text File: Insert Line 14 to "%_SB_INSTALLDIR%\config\log4j.xml" -- <param name="File" value="%TEMP_SB_INSTALLDIR%/logs/printstation_debug.txt"/>
    Text File: Delete Line 21 from "%_SB_INSTALLDIR%\config\log4j.xml"
    Text File: Insert Line 21 to "%_SB_INSTALLDIR%\config\log4j.xml" -- <param name="File" value="%TEMP_SB_INSTALLDIR%/logs/printstation_verbose_debug.txt"/>
    Text File: Delete Line 29 from "%_SB_INSTALLDIR%\config\log4j.xml"
    Text File: Insert Line 29 to "%_SB_INSTALLDIR%\config\log4j.xml" -- <param name="File" value="%TEMP_SB_INSTALLDIR%/logs/printlog.txt"/>
    ...
    Attached Images Attached Images   
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •