Error when installing Navision 3.60 on Windows 2003 Server

alvi99alvi99 Member Posts: 71
edited 2006-05-30 in Navision Attain
In connection with installing Navision 3.60 on Windows 2003 server Terminal Services I am using this guide:

How to install Navision Attain 3.60 and 3.60a on a Server running Terminal Services or Citrix
1. Logon to the console of the Terminal Server as Administrator.
2. Copy the contents of the Client folder from the product CD to a temporary folder.
3. Extract the files (Install_TS.bat, UnInstall_TS.bat, MakeCompNotesSafeForScripting.exe) to the same temporary folder.
4. Place the Terminal Server into install mode by entering change user /install at a command prompt or by simply running the Install_ts.bat script from Add/Remove Programs in the Control Panel.
5. Run the Install_ts.bat to install the Attain client.
Syntax: "INSTALL_TS <SourcePath>"
: SourcePath Full path to the location of the MSI file.
Note Be aware that installing Microsoft Data Access Components can require you to reboot your server.
6. Reboot the server when prompted.
7. Once the server has rebooted, place it into install mode again by typing change user /install at a command prompt.
8. Open the Navision client and wait until the help files have been created.
9. Close the Navision client and type change user /execute at the command prompt.
Navision is now ready to use. Create a desktop shortcut to start the program.

When I try to do the installation I get this error:

“The CompNotesHTML.dll are not registered. Please register the DLL before making it Safe For Scripting”.

Since Navision is not installed I cannot register the file. The same error also occur if I try to activate MakeCompNotesSafeForScripting.exe in the installation folder.

Install_TS.bat:

@ECHO OFF

IF "%1%" == "" GOTO HOWTO
IF "%1%" == "/?" GOTO HOWTO

xcopy "%1\program files\*.*" "%ProgramFiles%\*.*" /S
xcopy "%1\Common\*.*" "%CommonProgramFiles%\*.*" /S

regsvr32 /s "%ProgramFiles%\Navision Attain\Client\NFEncrypt.dll"
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\NSObjectXProxy.dll"
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\ROTAccess.dll"
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\ImageSelector.dll"
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\msxml.dll"
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\CompNotesHtml.dll"
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\comdlg32.ocx"
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\CGReqClient.dll
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\CGTimer.dll
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\CPHandler.dll
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\CPTimer.dll
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\csearch.dll
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\NATHash.dll
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\NSComCom2.dll
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\OLWrapper.dll
regsvr32 /s "%ProgramFiles%\Navision Attain\Client\SocketBusAdapter.dll

regsvr32 /s "%CommonProgramFiles%\Navision\Application Handler\NSAppHandler.dll"
regsvr32 /s "%CommonProgramFiles%\Navision\Mapi\MSMAPI32.OCX"
regsvr32 /s "%CommonProgramFiles%\Navision\Timer\NTimer.dll"

echo.
echo.
echo ****** Making CompNotesHTML.DLL Safe For Scripting ******
echo.
echo Wait ...
MakeCompNotesSafeForScripting.exe
echo Done.
echo.
echo.
echo ****** Installing MDAC ******
echo.
echo Wait ...
"%1\Microsoft Components\MDAC\mdac_typ" /Q /C:"setup.exe /Q"
echo Done.
echo.
echo To make sure all MDAC components are installed proberly please reboot your computer.
PAUSE Press any key to continue ...


GOTO END

:HOWTO
echo.
echo.
echo Syntax:
echo "INSTALL_TS <SourcePath>"
echo.
echo : SourcePath Full path to the location of the MSI file.
echo.
goto END

:END

Answers

  • alvi99alvi99 Member Posts: 71
    I found a solution for this problem. I placed the installationsfiles in the root directory, removed all spaces in the folder name, made sure the server was in installation mode and all of a sudden it worked fine!! :D
Sign In or Register to comment.