RightFax 10 deployment
I'm trying to deploy the RightFax 10 client.
In order to deploy the previous version (9.4 sr4 in our case) needs to be removed.
Uninstalling using the msiexec /x {guid} doens't work. It says I have to use setup.exe.
so I'm running setup.exe /remove /unattended=true
What I'm finding is the setup.exe calls _setup.exe (note the underscore) and exits. Because it exits the script moves on to the next command but because _setup.exe is still running this causes a conflict (trying to install 10 while 9 is still uninstalling)
The only thing I can think to do is perhaps I can script checking if _setup.exe is still running and not continue until that is done.
I've tried using a /sms switch and a /w and a -w
Any ideas?
Answers (24)
1. Remove the launch condition:
RUNBYRIGHTFAXSETUP=1 or RUNBYRIGHTFAXSETUP=2 Setup.exe must be used to install, modify or remove this product.
2. Install the prereqs prior via VBS or Batch
vcredist_x86.exe /q
VS2008_vcredist_x86.exe /qn
VS2010_vcredist_x86.exe /q /norestart
vstor40_x86.exe /qn
3. Install with Outlook Advanced Addin for office 2010 via the following command: from SCCM or Via Batch:-
msiexec.exe /i "RightFax Product Suite - Client.msi" /qn REBOOT=ReallySuppress RUNBYRIGHTFAXSETUP=2 CONFIGUREFAXCTRL=1 CONFIGUREFAXUTIL=1 CONFIGUREOUTLOOKCLIENT=1 RFSERVERNAME=PUGBSSC1FAX001ADDLOCAL="FaxUtil,FaxCtrl,OutlookAdvancedAddIn" INSTALLDIR="C:\Program Files\RightFax" RFSERVERNAME=PUGBSSC1FAX001
4. Uninstall command
msiexec.exe /x "RightFax Product Suite - Client.msi" RUNBYRIGHTFAXSETUP=2 CONFIGUREFAXCTRL=2 /log "C:\RFUnInstall.log" /qn
Similar to mukhtar's above, here's what is working for us when deploying RightFax Client v10.6 via SCCM 2012 Application mode:
msiexec /i "RightFax Product Suite - Client.msi" /qn /Log "%temp%\RF106Install.txt" RUNBYRIGHTFAXSETUP=2 REBOOT=ReallySuppress CONFIGUREFAXCTRL=1 CONFIGUREFAXUTIL=1 CONFIGUREOUTLOOKCLIENT=1 ADDLOCAL="EFM,FaxUtil,FaxCtrl,Outlook,OutlookAdvancedAddIn" INSTALLDIR="%ProgramFiles%\RightFax" RFSERVERNAME=<yourfaxsvrnamehere>
The key for us to get the RightFax Outlook integration were the lines:
CONFIGUREFAXCTRL=1 CONFIGUREFAXUTIL=1 CONFIGUREOUTLOOKCLIENT=1 ADDLOCAL="EFM,FaxUtil,FaxCtrl,Outlook,OutlookAdvancedAddIn"
Hope this helps!
Dale
Make sure you have all the pre-requisites installed before. I used the following script to remove ver 9.4 and install ver 10
and it works fine for me. Let me know if don't come right
@ECHO OFF
CLS
REM Uninstall RightFax ver 9.4
start /wait %~dp0Client9_4\Setup.exe /remove /unattended=true /allowShutdown=true
ping localhost -n 120
REM Install RightFax Client 10.0 + Pre-reqs
ECHO %~dp0
PUSHD %~dp0
IF EXIST "C:\PROGRAM FILES (x86)" (GOTO :x64) ELSE (GOTO :x86)
:x64
start /wait %~dp0Client10_6\Prereqs\dotnetfx45_full_x86_x64.exe /q
start /wait %~dp0Client10_6\Prereqs\vstor40_x64.exe /q
start /wait %~dp0Client10_6\setup.exe /unattended=true /allowShutdown=true /add="FaxUtil,FaxCtrl
ping localhost -n 120
GOTO :EOF
:x86
start /wait %~dp0Client10_6\Prereqs\dotnetfx45_full_x86_x64.exe /q
start /wait %~dp0Client10_6\Prereqs\vcredist_x86.exe /q
start /wait %~dp0Client10_6\Prereqs\VS2008_vcredist_x86.exe /q
start /wait %~dp0Client10_6\Prereqs\VS2010_vcredist_x86.exe /q
start /wait %~dp0Client10_6\Prereqs\VS2012_vcredist_x86.exe /q
start /wait %~dp0Client10_6\Prereqs\vstor_redist.exe /q
start /wait %~dp0Client10_6\Prereqs\vstor40_x86.exe /q
start /wait %~dp0Client10_6\setup.exe /unattended=true /allowShutdown=true /add="FaxUtil,FaxCtrl
ping localhost -n 120
GOTO :EOF
EXIT /B %EXIT_CODE%
Comments:
-
@ThebeMatshana would it be possible for you to IM me? I have some questions about this script. Thank you for your help in advance. - phigri33 8 years ago
try the following script
@ECHO OFF
CLS
REM Uninstall RightFax ver 9.4
start /wait %~dp0Client9_4\Setup.exe /remove /unattended=true /allowShutdown=true
ping localhost -n 120
REM Install RightFax Client 10.0 + Pre-reqs
ECHO %~dp0
PUSHD %~dp0
IF EXIST "C:\PROGRAM FILES (x86)" (GOTO :x64) ELSE (GOTO :x86)
:x64
start /wait %~dp0Client10_6\Prereqs\dotnetfx45_full_x86_x64.exe /q
start /wait %~dp0Client10_6\Prereqs\vstor40_x64.exe /q
start /wait %~dp0Client10_6\setup.exe /unattended=true /allowShutdown=true /add="FaxUtil,FaxCtrl
ping localhost -n 120
GOTO :EOF
:x86
start /wait %~dp0Client10_6\Prereqs\dotnetfx45_full_x86_x64.exe /q
start /wait %~dp0Client10_6\Prereqs\vcredist_x86.exe /q
start /wait %~dp0Client10_6\Prereqs\VS2008_vcredist_x86.exe /q
start /wait %~dp0Client10_6\Prereqs\VS2010_vcredist_x86.exe /q
start /wait %~dp0Client10_6\Prereqs\VS2012_vcredist_x86.exe /q
start /wait %~dp0Client10_6\Prereqs\vstor_redist.exe /q
start /wait %~dp0Client10_6\Prereqs\vstor40_x86.exe /q
start /wait %~dp0Client10_6\setup.exe /unattended=true /allowShutdown=true /add="FaxUtil,FaxCtrl
ping localhost -n 120
GOTO :EOF
EXIT /B %EXIT_CODE%
The latest guide I can find appears to be 9.4, and I've read everything in it about autmated installs. Would anyone even be able to share a command which is working for them? Particularly to get the Outlook addin to install. Just getting frustrated with it now! [:(]
e.g.:
setup.exe /unattended=true /add="FaxUtil,FaxCtrl,EFM,Outlook" /rightFaxServer="server01"
setup.exe /unattended=true /quiet=true /allowShutdown=false add=" /add="FaxUtil,FaxCtrl,EFM,Outlook" /rightFaxServer="server01"
msiexec.exe /i "RightFax Product Suite - Client.msi" /qb REBOOT=ReallySuppress RUNBYRIGHTFAXSETUP=2 CONFIGUREFAXCTRL=1 ADDLOCAL="FaxUtil,FaxCtrl,EFM,Outlook" RFSERVERNAME=server01
Comments:
-
Thank you for the cmdline - Rams 11 years ago
Comments:
-
Can you tell me what you used to do this? I am having problems with the .exe and would like the pre-reqs to install via .MSI. - jonathan.myers 11 years ago
I am testing the RightFax 10.0.0.1081 on two different machines using the vendor provided cmd line with the following parameters: setup.exe /unattended=true /allowShutdown=false /add="FaxUtil,FaxCtrl,Outlook" /rightFaxServer="servername" but it keeps on gives me this error msg
Machine 1:"Failed to create FaxCtrl printer: RFMSIAdd2 returned 1722."
On Machine 2:"System.Exception: Failed to load rfp_hlp.dll.
at RightFax.Install.ClientInstallConfig.CreateFaxCtrlPrinter(String rightFaxServerName, EzTrace trace)
at CommonInstall.Features.FaxCtrlFeature.ConfigTask.OnRun(ITaskFeedback feedback)
at TaskWizard.Task.Run(ITaskFeedback feedback, Boolean recurse)
at TaskWizard.TaskWorker.RunTasks()
at TaskWizard.TaskWorker.OnDoWork(DoWorkEventArgs e)
at CommonInstall.ConfigurationWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)"
even thou all the files that came with the package are present including the .dll this msg is looking for. Also this error is with the WIN 7 only, and XP works just fine.
Can someone please enlighten me on this.
Thanks a bunch.
ak
Ok, so now I am only facing the first error, and it has nothing to do with the permissions.
I tried installing this on a clean machine and it works great. But once I uninstall it completely (using vendor provided uninstall and cleaning the registries) and then try to install it, I see the first error:
"Failed to create FaxCtrl printer: RFMSIAdd2 returned 1722."
Any assistance with this matter will be greatly appreciated.
If anyone has done this deployment successfully please respond.
Thanks,
AK
VBScab thanks.
And thanks for everyone who thought of helping out.
AK
the command to clean the root always jumps ahead of installI have never ventured into WiseScript but I do know that there is some flag or attribute that you can set when calling an executable so that WS waits for the EXE to complete before continuing with the script. Use that, rather than the delay. The WS help file will, er, help you locate the flag/attribute you need.
so that the conversation will remain readable.
"Failed to create FaxCtrl printer: RFMSIAdd2 returned 1722."
Install RightFax Print Processor x64.msi as pre-requisite.
In order to run fine all the pre-reqs need to be installed as well. after that it works fine with transform - elime 8 years ago