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

Comments

  • 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
Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
you already have your answer :)
Answered 08/29/2011 by: kardock
Second Degree Green Belt

Please log in to comment
0
It says I have to use setup.exe.Have you tried using the 'ISSETUPDRIVEN=1' argument?
Answered 08/30/2011 by: VBScab
Red Belt

Please log in to comment
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.
Answered 08/31/2011 by: Arminius
Second Degree Green Belt

Please log in to comment
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.
Answered 08/31/2011 by: Foleymon
Orange Senior Belt

Please log in to comment
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
Answered 09/20/2011 by: donaghs
Senior Yellow Belt

  • Thank you for the cmdline
Please log in to comment
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.
Answered 09/20/2011 by: joedown
Second Degree Brown Belt

Please log in to comment
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!
Answered 09/28/2011 by: Easyermoney
Yellow Belt

Please log in to comment
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?
Answered 09/28/2011 by: Arminius
Second Degree Green Belt

Please log in to comment
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.
Answered 09/29/2011 by: VBScab
Red Belt

Please log in to comment
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...
Answered 09/29/2011 by: Arminius
Second Degree Green Belt

Please log in to comment
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.
Answered 10/02/2011 by: joedown
Second Degree Brown Belt

  • 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.
Please log in to comment
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
Answered 10/28/2011 by: 786_ak
Second Degree Green Belt

Please log in to comment
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.
Answered 10/31/2011 by: VBScab
Red Belt

Please log in to comment
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
Answered 11/01/2011 by: 786_ak
Second Degree Green Belt

Please log in to comment
0
Does the uninstall remove the printer fully? Does it, for example, stop the spooler service?
Answered 11/02/2011 by: VBScab
Red Belt

Please log in to comment
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
Answered 11/02/2011 by: 786_ak
Second Degree Green Belt

Please log in to comment
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.
Answered 11/03/2011 by: VBScab
Red Belt

Please log in to comment
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
Answered 11/07/2011 by: 786_ak
Second Degree Green Belt

Please log in to comment
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
Answered 11/09/2011 by: 786_ak
Second Degree Green Belt

Please log in to comment
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

Answered 05/22/2012 by: mukhtar
Senior Yellow Belt

Please log in to comment
0

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

 

Answered 07/16/2013 by: Rams
White Belt

Please log in to comment
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


Answered 04/01/2015 by: dnemec303
White Belt

Please log in to comment
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%



Answered 04/08/2015 by: ThebeMatshana
White Belt

  • @ThebeMatshana would it be possible for you to IM me? I have some questions about this script. Thank you for your help in advance.
Please log in to comment
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%

Answered 04/08/2015 by: ThebeMatshana
White Belt

Please log in to comment
Answer this question or Comment on this question for clarity