/build/static/layout/Breadcrumb_cap_w.png

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?


1 Comment   [ + ] Show comment
  • Regarding Problem on 64-bit:
    "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 4 years ago

Answers (24)

Posted by: mukhtar 8 years ago
Orange Belt
2

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

Posted by: Rams 7 years ago
White Belt
0

Donaghs,   Thanks for the posting the commandline. It was very helpful

 

Posted by: dnemec303 6 years ago
White Belt
0

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


Posted by: ThebeMatshana 6 years ago
Senior White Belt
0

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 5 years ago
Posted by: ThebeMatshana 6 years ago
Senior White Belt
0

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%

Posted by: anonymous_9363 9 years ago
Red Belt
0
It says I have to use setup.exe.Have you tried using the 'ISSETUPDRIVEN=1' argument?
Posted by: Arminius 9 years ago
Second Degree Green Belt
0
You can also check in the registry for the uninstallstring and run that. That should give you the Rightfax-approved way to uninstall their product.
Posted by: Foleymon 9 years ago
Orange Senior Belt
0
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.


Yes you can put a loop in your script to check if the previous setup.exe has stopped running and then continue when it finishes.
Posted by: donaghs 9 years ago
Senior Yellow Belt
0
Hi, I'm also trying to install the Rightfax 10 client, on Windows 7 Enterprise 32-bit. The Outlook Addin is needed also (Outlook 2010). No uninstall of previous version required. I can install it fine by manually clicking on the "setup.exe" and following the steps. But I'm having trouble getting an automated install to work. It seemed a lot more easy on previous versions of Rightfax. Just wondering what I'm doing wrong? I've tried a variety of MSI and Setup.exe commands, but always seem to be getting inconsistant results?

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 7 years ago
Posted by: joedown 9 years ago
Third Degree Brown Belt
0
A problem with this program is that the msi included is not a complete msi and the setup.exe is used to register some dll files. Why they didn't do this in the msi I can only guess that their packager works for the devil. I ended up creating a transform that took care of the dll registration using the Class, ProgId, and TypeLib tables. I also set the RUNBYRIGHTFAXSETUP property to 1.
Posted by: Easyermoney 9 years ago
Yellow Belt
0
Has anyone been successful with this? We are also needing to uninstall the previous 9.4 version and install 10.0. If you've been successful I would greatly appreciate know what command lines or scripts you deployed?

Thanks!
Posted by: Arminius 9 years ago
Second Degree Green Belt
0
Back when I last did a Rightfax package, I found out that their MSI didn't support transforms, either. so we needed to edit the MSI to make everything stick. has that been changed?
Posted by: anonymous_9363 9 years ago
Red Belt
0
their MSI didn't support transformsWhat, they magically re-engineer Windows Installer from within their MSIs? What nonsense. Best laugh of the week so far.
Posted by: Arminius 9 years ago
Second Degree Green Belt
0
Yeah, I was pretty amazed when I found that on their web site. Not believing that was possible, I tried using a transform to do something (don't remember what any more). And it failed to install the way I wanted. Unfortunately, that wasn't the last of bad vendor MSIs...
Posted by: joedown 9 years ago
Third Degree Brown Belt
0
I think what they mean is that their setup.exe does not support the use of transforms for the install. The msi by itself does support transforms. To package this app I got rid of the setup.exe and put the setup.exe functions in a transform. We did the installation on a couple hundred workstations and haven't had any issues.

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 8 years ago
Posted by: 786_ak 9 years ago
Third Degree Green Belt
0
Hello Folks,

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
Posted by: anonymous_9363 9 years ago
Red Belt
0
The first question would be, do have UAC disabled? I suspect not as 1722 is an error with execution of an EXE called as a Custom Action. With UAC enabled, Windows is going to prompt the installing user for permission to execute the EXE which, since you have requested unattended mode, won't appear.
Posted by: 786_ak 9 years ago
Third Degree Green Belt
0
First, VBScab, Thanks. But it wasn't the issue thou.

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
Posted by: anonymous_9363 9 years ago
Red Belt
0
Does the uninstall remove the printer fully? Does it, for example, stop the spooler service?
Posted by: 786_ak 9 years ago
Third Degree Green Belt
0
Ok, so here is the deal. It needs to have the spooler service running for it to actually install. It keeps giving me the same message about failing to create faxcntrl printer due to that. Also it does place some files on the root C:\ for visual C++(damn MS), which we needed to be clean. Since I am using the wise wrapper it seems like the command to clean the root always jumps ahead of install, so I have put in a 2 minute delay for the batch file to run and do the cleaning for me and it works like a charm.

VBScab thanks.

And thanks for everyone who thought of helping out.

AK
Posted by: anonymous_9363 9 years ago
Red Belt
0
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.
Posted by: 786_ak 9 years ago
Third Degree Green Belt
0
Hello,

On XP, this program seems to leave an orphaned shortcut in the Add/Remove Program. Any ideas on how can I remove it using wrapper?

Thanks

AK
Posted by: 786_ak 9 years ago
Third Degree Green Belt
0
Ok, so there was a registry left behind. Once that is removed, it'll take care of that Add/Remove entry that's left behind.

Thanks,
AK
Posted by: kardock 9 years ago
Second Degree Green Belt
-3
you already have your answer :)
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ