Client installation loops

hhovinghhoving Member Posts: 2
edited 2004-11-09 in Navision Financials
I'm installing Navision Financials 2.60A client on a Windows Terminal Server (with Metaframe). Client installation is succesfull, but... everytime i start the client it starts the client installation again. I works, i close the application and start it again (without logging off). Again the client installation starts. What am i missing? Thanks in advance.

Comments

  • pablo.passeropablo.passero Member Posts: 12
    Hi!

    You can resolve the problem very easly. Just create a new direct access icon from fin.exe (mouse right button on fin.exe / Create shortcut) and put into All users/Desktop. Then, when the users clik over your shortcut, this icon executes the application directly without install new parameters into the user profile... Simple yeah?! :)

    With Navision 3.70 exist another problem. Navision 3.70 executes very well with Citrix Metaframe, but doesn't executes (the application crashes) under Terminal Server session, so be careful!

    Regards,
    Pablo A. Passero
    NAV Developer
  • RoboticsRobotics Member Posts: 3
    Hi,
    I think this will occur only, if the client doesn't find the Cronus Database. If once you enter one database, it won't happen any more.
  • DoomhammerDoomhammer Member Posts: 211
    I saw other solution of similar problem on PartnerGuide. On terminal server, there is problem with registering Navision into windows registry. on partnergiude exists batch file which solves this problem: it copies files from PROGRAM FILES directory from installation CD and then registers all navision components.
    This is official solution from Navision. We used it, when we found this same problem - starting installer - with Win2000 and Attain 3.60
    Instalace Attain 3.60 na terminálovém serveru (Windows 2000)

    Some problems are generated due to Windows Installer interfering with user operations. (For example, when the user presses F1 or activates objects that use Word automation.) Due to a number of problems with Windows Installer activating during the execution of Navision Attain, a workaround for the installation procedure is described here.

    How to install:
    1. Copy the contents of the Client folder from the product CD to a temporary folder.
    2. Copy the files attached in this note to the same folder.
    3. Switch to install mode on the Terminal Server. This can be done with the command "change user /install' from a command prompt or by simply running the install script from Add/Remove Programs in the Control Panel.
    4. Run Install_TS.bat to install the Navision Attain client.

    Syntax:
    "INSTALL_TS <SourcePath>"

    : SourcePath Full path to the location of the MSI file.

    5. Note: Be aware that installing Microsoft Data Access Components can require you to reboot your server.

    batch file for installing looks this way:
    @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
    

    We tested this solution and it worked prefectly :-)
    Martin Bokůvka, AxiomProvis
  • CTBCTB Member Posts: 1
    Hello,

    I'm dealing with the same problem. Where can I find "MakeCompNotesSafeForScripting.exe"?

    Thanks in advance.
    Wessel
  • kinekine Member Posts: 12,562
    I think that you don't need this exe file if you are installing Navision Financials (this is forum for NF)... if you have Attain or Navision 3.70, someone must send it to you (for example your NSC or if you are from NSC, download it on partnerguide)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.