Invalid Drive: C:\ error : installing Forms Printer from .msi on Citrix/Terminal Server with no c:\
19 September 2008
The Forms Printer .msi installers do not assume that there is a Drive C:\ in general, but there has been a reported case on one Citrix\Terminal Server machine, where attempting to run the Install for Forms Printer for GP10 And Crystal 10 resulted in the error message:
Invalid Drive: C:\
And then termination of the installer.
The work-around is to run the Installer from the command line with the command(s) below.
The Forms printer .msi Installers can be run from a command line and passed arguments to specify the intial install "TARGETDIR" if it needs to be modified from the Default C:\ drive or current location of Dynamics GP.
On Terminal Server/Citrix, the machine should be placed in 'install mode' first.
Start a command window, as administrator, and execute the following 3 commands. The first and last commands are not needed if not on Terminal Server/Citrix. Each of the 3 commands each all on one line.
change user /install
msiexec.exe /i "Forms Printer for Crystal XI and Dynamics GP 10.00 Build 34.msi" /lv* installfp.log TARGETDIR="m:\program files"
change user /execute
=== further information about the .msi installer msiexec.exe command line options for forms printer.
Below is a Batch file, for advanced users, that may be modified in order to install Forms Printer in various ways.
== start of .bat
Pause "this is the Batch file for a silent install - Edit path as needed, Run as administrator..
REM - get the last .msi file in the current folder that starts with F (forms printer)
for %%i in (f*.msi) do set MSIFILE=%%i
rem - Modify these as needed
rem SET MYPRODUCTINSTALLER=Forms Printer for Crystal XI and Dynamics GP 10.00 Build 30.msi
SET MYINSTALLPATH=C:\Program Files\Microsoft Dynamics\GP10\
rem SET SILENTFLAGS=/qn
rem Batch file for installing to default GP instance -
rem - For Default instance
msiexec.exe %SILENTFLAGS% /lv* fp_install.log /i "%MYPRODUCTINSTALLER%" INSTALLDIR="%MYINSTALLPATH%" SELECTED_COUNTRY="United States" SERVER_INSTALL="1" REPORTS_DICTIONARY_FOLDER="%MYINSTALLPATH%Data\" FORMS_DICTIONARY_FOLDER="%MYINSTALLPATH%Data\"
rem - or for an instance specific install use (ex for instance3 - found in registry under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Business Solutions\Great Plains\1033\
rem msiexec.exe /qn /lv* fp_install.log /i "%MYPRODUCTINSTALLER%" INSTALLDIR="%MYINSTALLPATH%" SELECTED_COUNTRY="United States" SERVER_INSTALL="1" REPORTS_DICTIONARY_FOLDER="%MYINSTALLPATH%Data\" FORMS_DICTIONARY_FOLDER="%MYINSTALLPATH%Data\" TRANSFORMS=:Inst03 INSTANCE_NAME="GP10" MSINEWINSTANCE=1
rem unchunk the dicts..
"%MYINSTALLPATH%dynamics.exe" "%MYINSTALLPATH%dynamics.set" /CNKONLY
Pause "done with install.bat"
== end of .bat