Error code 8 during installation?

PDF-XChange Drivers API (only) V4/V5
This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - VERSION 4 & 5 - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Tracker Supp-Stefan

Post Reply
Maciej Tokarski
User
Posts: 23
Joined: Mon Feb 09, 2009 8:52 am

Error code 8 during installation?

Post by Maciej Tokarski »

Hello,
we're using pdfx4sa_sm.exe to install the printer on a system. We face a failing uninstall/install scenario now, and we need some support. During upgrade installation of our software, we uninstall PDF-Xchange driver/printer, and then try to install it again. The installation fails with code 8 then. Could you please tell my, what the code 8 is?
Regards,
Maciej
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17818
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Error code 8 during installation?

Post by Tracker Supp-Stefan »

Hi Maciej Tokarski,

Thanks for the report. I've passed it to the person creating that file and he is now checking it.

Regards,
Stefan
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17818
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Error code 8 during installation?

Post by Tracker Supp-Stefan »

Hello Maciej,

I had one of my colleagues check this and it seems like the error is that you didn't restart the machine:

Code: Select all

error code 8
----
8 
The Preparing to Install stage determined that Setup cannot proceed with installation, and that the system needs to be restarted in order to correct the problem.
----
Regards,
Stefan
Maciej Tokarski
User
Posts: 23
Joined: Mon Feb 09, 2009 8:52 am

Re: Error code 8 during installation?

Post by Maciej Tokarski »

It sounds plausible (unfortunately for us). Is this a must, the restart? Is there no workaround? All other components of our installation do not require it...

Antoher question - in case of an upgrade installation we have a scenario in which we don't uninstall anything, but simply call the installer again over the existing components. In the case of PDF XChange Printer Driver, it means we call the installer again "pdfx4sa_sm.exe /VERYSILENT /COMPONENTS="pdfSaver,PDFXChangedriver" /NORESTART /DRVWOPRN". Very often we get an error "c:\program files\Tracker Software\PDF-XChange4\pdfsaver4.exe An error occured while trying to rename the file in destination directory. MoveFile failed, code 183. Cannot create a file when that file already exists"
Is there any way to prevent the problem?

Regards,
Maciej
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17818
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Error code 8 during installation?

Post by Tracker Supp-Stefan »

Hi Maciej,
It sounds plausible (unfortunately for us). Is this a must, the restart?
After an uninstall - yes.

My colleague has also requested if you can create a LOG file for the installation and then attach it here?
You can use e.g. the following command line:

Code: Select all

pdfx4sa_sm.exe /VERYSILENT /COMPONENTS="pdfSaver,PDFXChangedriver" /NORESTART /DRVWOPRN /LOG="C:\Temp\pdfxlogfile.log
Regards,
Stefan
Maciej Tokarski
User
Posts: 23
Joined: Mon Feb 09, 2009 8:52 am

Re: Error code 8 during installation?

Post by Maciej Tokarski »

Hi,
we have a log from a failing upgrade. What we're doing is simply invoking the installation over existing PDF Xchange, without uninstalling it first. We're using the 4.0.214.1, installing it over some older version (like 4.0.196 I think) The following is the content of the log you advised us to record:

2014-04-08 10:22:49.921 Log opened. (Time zone: UTC+02:00)
2014-04-08 10:22:49.921 Setup version: Inno Setup version 5.5.4 (a)
2014-04-08 10:22:49.921 Original Setup EXE: C:\USERS\LOCADMIN\APPDATA\LOCAL\TEMP\DISK1\Tools\PDF XChange\pdfx4sa_sm.exe
2014-04-08 10:22:49.921 Setup command line: /SL5="$600432,5872689,56832,C:\USERS\LOCADMIN\APPDATA\LOCAL\TEMP\DISK1\Tools\PDF XChange\pdfx4sa_sm.exe" /VERYSILENT /COMPONENTS="pdfSaver,PDFXChangedriver" /NORESTART /DRVWOPRN /LOG="C:\Program Files (x86)\CompanyName\Logs\Upgrade Log_To_A.02.01_2014_04_08_0955AM\PDF_ExChange_Upgrade_10168f0f-402f-4201-a91f-cf5f9b45993c.log"
2014-04-08 10:22:49.921 Windows version: 6.1.7601 SP1 (NT platform: Yes)
2014-04-08 10:22:49.921 64-bit Windows: Yes
2014-04-08 10:22:49.921 Processor architecture: x64
2014-04-08 10:22:49.921 User privileges: Administrative
2014-04-08 10:22:49.937 64-bit install mode: Yes
2014-04-08 10:22:49.937 Created temporary directory: C:\Users\locadmin\AppData\Local\Temp\is-989KP.tmp
2014-04-08 10:22:50.935 RestartManager found an application using one of our files: System
2014-04-08 10:22:50.935 Can use RestartManager to avoid reboot? No (3)
2014-04-08 10:22:50.935 Starting the installation process.
2014-04-08 10:22:50.966 Creating directory: C:\Program Files\Tracker Software\PDF-XChange 4\Temp
2014-04-08 10:22:50.966 Creating directory: C:\Program Files\Tracker Software\PDF-XChange 4\Temp\w2k
2014-04-08 10:22:50.966 Creating directory: C:\Program Files\Tracker Software\PDF-XChange 4\Temp\x64
2014-04-08 10:22:50.966 Directory for uninstall files: C:\Program Files\Tracker Software\PDF-XChange 4
2014-04-08 10:22:50.966 Will append to existing uninstall log: C:\Program Files\Tracker Software\PDF-XChange 4\unins000.dat
2014-04-08 10:22:51.028 -- File entry --
2014-04-08 10:22:51.028 Dest filename: C:\Program Files\Tracker Software\PDF-XChange 4\unins000.exe
2014-04-08 10:22:51.028 Non-default bitness: 32-bit
2014-04-08 10:22:51.028 Time stamp of our file: 2014-04-08 10:22:49.796
2014-04-08 10:22:51.028 Dest file exists.
2014-04-08 10:22:51.028 Time stamp of existing file: 2014-04-07 15:33:39.379
2014-04-08 10:22:51.028 Version of our file: 51.52.0.0
2014-04-08 10:22:51.075 Version of existing file: 51.52.0.0
2014-04-08 10:22:51.075 Installing the file.
2014-04-08 10:22:51.091 Uninstaller requires administrator: Yes
2014-04-08 10:22:51.091 Leaving temporary file in place for now.
2014-04-08 10:22:51.091 -- File entry --
2014-04-08 10:22:51.091 Dest filename: C:\Program Files\Tracker Software\PDF-XChange 4\Temp\w2k\PXC40f.dll
2014-04-08 10:22:51.091 Time stamp of our file: 2014-01-08 08:01:06.000
2014-04-08 10:22:51.091 Installing the file.
2014-04-08 10:22:51.262 Successfully installed the file.
2014-04-08 10:22:51.262 -- File entry --
2014-04-08 10:22:51.262 Dest filename: C:\Program Files\Tracker Software\PDF-XChange 4\Temp\w2k\PXC40pm.dll
2014-04-08 10:22:51.262 Time stamp of our file: 2014-01-08 08:01:08.000
2014-04-08 10:22:51.262 Installing the file.
2014-04-08 10:22:51.262 Successfully installed the file.
2014-04-08 10:22:51.262 -- File entry --
2014-04-08 10:22:51.262 Dest filename: C:\Program Files\Tracker Software\PDF-XChange 4\Temp\w2k\PXC40uif.dll
2014-04-08 10:22:51.262 Time stamp of our file: 2014-01-08 08:01:08.000
2014-04-08 10:22:51.262 Installing the file.
2014-04-08 10:22:51.262 Successfully installed the file.
2014-04-08 10:22:51.262 -- File entry --
2014-04-08 10:22:51.262 Dest filename: C:\Program Files\Tracker Software\PDF-XChange 4\Temp\x64\PXC40f.dll
2014-04-08 10:22:51.262 Time stamp of our file: 2014-01-08 08:01:08.000
2014-04-08 10:22:51.262 Installing the file.
2014-04-08 10:22:51.278 Successfully installed the file.
2014-04-08 10:22:51.278 -- File entry --
2014-04-08 10:22:51.278 Dest filename: C:\Program Files\Tracker Software\PDF-XChange 4\Temp\x64\PXC40pm.dll
2014-04-08 10:22:51.278 Time stamp of our file: 2014-01-08 08:01:10.000
2014-04-08 10:22:51.278 Installing the file.
2014-04-08 10:22:51.278 Successfully installed the file.
2014-04-08 10:22:51.278 -- File entry --
2014-04-08 10:22:51.278 Dest filename: C:\Program Files\Tracker Software\PDF-XChange 4\Temp\x64\PXC40uif.dll
2014-04-08 10:22:51.278 Time stamp of our file: 2014-01-08 08:01:10.000
2014-04-08 10:22:51.278 Installing the file.
2014-04-08 10:22:51.278 Successfully installed the file.
2014-04-08 10:22:51.278 -- File entry --
2014-04-08 10:22:51.278 Dest filename: C:\Program Files\Tracker Software\PDF-XChange 4\PrnInst.inf
2014-04-08 10:22:51.278 Time stamp of our file: 2008-01-03 03:43:22.000
2014-04-08 10:22:51.278 Dest file exists.
2014-04-08 10:22:51.278 Time stamp of existing file: 2008-01-03 04:43:22.000
2014-04-08 10:22:51.278 Installing the file.
2014-04-08 10:22:51.278 Successfully installed the file.
2014-04-08 10:22:51.278 -- File entry --
2014-04-08 10:22:51.278 Dest filename: C:\Program Files\Tracker Software\PDF-XChange 4\PrnInstaller.exe
2014-04-08 10:22:51.278 Time stamp of our file: 2014-01-08 08:01:06.000
2014-04-08 10:22:51.278 Dest file exists.
2014-04-08 10:22:51.278 Time stamp of existing file: 2011-03-25 12:10:20.000
2014-04-08 10:22:51.278 Installing the file.
2014-04-08 10:22:51.293 Successfully installed the file.
2014-04-08 10:22:51.293 -- File entry --
2014-04-08 10:22:51.293 Dest filename: C:\Program Files\Tracker Software\PDF-XChange 4\Win32\drvui40.dll
2014-04-08 10:22:51.293 Time stamp of our file: 2014-01-08 08:01:02.000
2014-04-08 10:22:51.293 Dest file exists.
2014-04-08 10:22:51.293 Time stamp of existing file: 2011-03-25 12:10:18.000
2014-04-08 10:22:51.293 Installing the file.
2014-04-08 10:22:51.418 Successfully installed the file.
2014-04-08 10:22:51.418 -- File entry --
2014-04-08 10:22:51.418 Dest filename: C:\Program Files\Tracker Software\PDF-XChange 4\drvui40.dll
2014-04-08 10:22:51.418 Time stamp of our file: 2014-01-08 08:01:04.000
2014-04-08 10:22:51.418 Dest file exists.
2014-04-08 10:22:51.418 Time stamp of existing file: 2011-03-25 12:10:20.000
2014-04-08 10:22:51.418 Installing the file.
2014-04-08 10:22:51.636 Successfully installed the file.
2014-04-08 10:22:51.636 -- File entry --
2014-04-08 10:22:51.636 Dest filename: C:\Program Files\Tracker Software\PDF-XChange 4\PdfSaver4.exe
2014-04-08 10:22:51.636 Time stamp of our file: 2014-01-08 08:01:02.000
2014-04-08 10:22:51.636 Dest file exists.
2014-04-08 10:22:51.636 Time stamp of existing file: 2011-03-25 12:10:18.000
2014-04-08 10:22:51.636 Installing the file.
2014-04-08 10:22:51.808 Message box (Abort/Retry/Ignore):
C:\Program Files\Tracker Software\PDF-XChange 4\PdfSaver4.exe

An error occurred while trying to rename a file in the destination directory:
MoveFile failed; code 183.
Cannot create a file when that file already exists.

Click Retry to try again, Ignore to skip this file (not recommended), or Abort to cancel installation.


We're sure the PDF printer is not being use during the upgrade installation. I haven't clearly heard from you - should you support a live upgrade installation, or must it be always "uninstall/reboot/install"?

Regards,
Maciej
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17818
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: Error code 8 during installation?

Post by Tracker Supp-Stefan »

Thanks Maciej Tokarski,

Passed this to one of our installer experts (Oleh) for a review.

Regards,
Stefan
Post Reply