We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mccorkled
Posts: 23
Joined: Wed Feb 05, 2020 5:32 am

Driver Issue

I have read a few posts about installers failing when using an inf but I cannot figure out what my issue is. I have attached my log, but I am not sure if that will help any.
log.zip
(99.99 KiB) Downloaded 371 times
I have tried to select the option to force driver install even if a driver is present thinking that was the issue but it still failed.

Thank you.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Driver Issue

Hello,

Thank you for the provided log file.

I have investigated it and I could notice the following error:

Code: Select all

DIFXAPP: ERROR - You need to use the 64-bit version of DIFXAPP.DLL to install drivers on this machine.
The above error might be encountered if your package type is of "32-bit" type and the setup tries to use the 32-bit version of DIFXAPP.dll. Could you please try to change the installation type to "64-bit" and let me know if that helps?

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mccorkled
Posts: 23
Joined: Wed Feb 05, 2020 5:32 am

Re: Driver Issue

I set it to 64-bit and the installer runs extremely slow now. It was only taking a few minutes before but it's taking so long now that I cancelled it. I have attached the drivers here. I believe there are both x32 and x64 versions.
Attachments
Virtual Bus Driver.zip
(501.66 KiB) Downloaded 418 times
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Driver Issue

Hello,

Thank you for the provided files.

Unfortunately, the provided files do not work to be installed on my machine (Windows 10). When having the 32-bit package type, I receive the same error as described by you in your first thread.

However, when installing it as a 64-bit package, the log files outputs the followng:
DIFXAPP: ENTER: InstallDriverPackages()
DIFXAPP: INFO: 'CustomActionData' property 'DIFxApp Version' is '2.1.1'.
DIFXAPP: INFO: 'CustomActionData' property 'UI Level' is '5'.
DIFXAPP: INFO: 'CustomActionData' property 'componentId' is '{1ED97E40-8A18-4D80-8693-8C874FB3D26B}'.
DIFXAPP: INFO: 'CustomActionData' property 'componentPath' is 'C:\Program Files\Your Company\Your Application\'.
DIFXAPP: INFO: 'CustomActionData' property 'flags' is 0x8.
DIFXAPP: INFO: 'CustomActionData' property 'installState' is '2'.
DIFXAPP: INFO: 'CustomActionData' property 'ProductName' is 'Your Application'.
DIFXAPP: INFO: 'CustomActionData' property 'ManufacturerName' is 'Your Company'.
DIFXAPP: INFO: user SID of user performing the install is 'S-1-5-21-4251495038-196184933-990649927-1001'.
DIFXAPP: INFO: opening HKEY_USERS\S-1-5-21-4251495038-196184933-990649927-1001\Software\Microsoft\Windows\CurrentVersion\DIFxApp\Components\{1ED97E40-8A18-4D80-8693-8C874FB3D26B} (User's SID: 'S-1-5-21-4251495038-196184933-990649927-1001') ...
DIFXAPP: INFO: ENTER: DriverPackageInstallW
DIFXAPP: WARNING:DRIVER_PACKAGE_LEGACY_MODE flag set but not supported on Plug and Play driver on VISTA. Flag will be ignored.
DIFXAPP: ERROR: One or more files referenced by 'C:\Program Files\Your Company\Your Application\ScpVBus.inf' cannot be found in the package.
DIFXAPP: INFO: RETURN: DriverPackageInstallW (0xE0000303)
DIFXAPP: ERROR: encountered while installing driver package 'C:\Program Files\Your Company\Your Application\ScpVBus.inf'
DIFXAPP: ERROR: InstallDriverPackages failed with error 0xE0000303
DIFXAPP: RETURN: InstallDriverPackages() 3758097155 (0xE0000303)
CustomAction MsiInstallDrivers returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 15:33:22: InstallExecute. Return value 3.
I have added the following items in Files and Folders page:
  • ScpDriver.exe
  • ScpVBus.cat
  • ScpVBus.inf
  • ScpVBus.sys --> from the 64-bit folder
After doing so, I have added the .INF file in the "Drivers" page.

Is there something I am missing here?

Are you sure you have sent me all the required files?

Additionally, have you tried installing the .INF file manually? If so, did it work as expected?

Looking forward to hearing from you.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mccorkled
Posts: 23
Joined: Wed Feb 05, 2020 5:32 am

Re: Driver Issue

Here is the complete program with driver that is to be installed...

https://github.com/Ryochan7/DS4Windows

Thank you.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Driver Issue

Hello,

First of all, thank you for the provided files.

I have further investigated this and I was finally able to install the driver.

Please follow these steps in order to install the driver:

- go to "Files and Folders" page

- under "Application Folder", add the following files:
  • ScpDriver.exe
  • ScpVBus.cat
  • ScpVBus.inf
- under "Application Folder", please create the following folder:

Code: Select all

amd64
- under "amd64" folder, please add the following file:
  • ScpVBus.sys
- add the "ScpVBus.sys" file in the "Drivers" page as well

Note: your package type should be of 64-bit.

The problem was a copy operation failing. It basically tried to copy the .sys file from the following location:

C:\Program Files\Your Company\Your Application\amd64\ScpVBus.sys

and the file was actually located at:

C:\Program Files\Your Company\Your Application\ScpVBus.sys

therefore the "File not found" error.

After adding the amd64 folder to the setup, the installation was successful.

Hope this helps.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mccorkled
Posts: 23
Joined: Wed Feb 05, 2020 5:32 am

Re: Driver Issue

Thank you Catalin, I was able to get this working.
Catalin
Posts: 7853
Joined: Wed Jun 13, 2018 7:49 am

Re: Driver Issue

You are always welcome!

I am glad you got this working.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”