Driver as Not Installed Feature Fails Install - Advanced Installer Community
gwood@q
Posts: 5
Joined: Wed Jun 17, 2026 9:07 pm

Driver as Not Installed Feature Fails Install

Using Version 23.8 (29516700)

Create Enterprise .aip
Add one file to main feature
Set Theme to Classic Aero
Remove Welcome dialog
Add SetupTypeDlg
Add Driver using New Driver wizard
Driver Feature Properties: Display Expanded, Installed.
Test install in Windows Sandbox
Install using Typical or Custom with no changes, install succeeds.
Test install in Windows Sandbox
Install using Custom with driver feature deselected, install fails.

.aip and failing log file attached.
Attachments
temp2.txt
(125 KiB) Downloaded 1608 times
Your Application.aip
(24.46 KiB) Downloaded 1683 times
gwood@q
Posts: 5
Joined: Wed Jun 17, 2026 9:07 pm

Re: Driver as Not Installed Feature Fails Install

Have modified .aip to eliminate Resources > Drivers and replaced with Custom Action Launch file after Execute Sequences > Add Resources > Install to run pnputil directly.
This works and allows the driver features to be optionally installed.
When Launch File runs, it opens a command window which cannot, it seems, be suppressed, which is sub-optimal.

Still looking for the optimal solution.
Attachments
RxAnInstall.aip
(525.21 KiB) Downloaded 1607 times
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Driver as Not Installed Feature Fails Install

Hello,

Apologies for the quite delayed reply here.
Have modified .aip to eliminate Resources > Drivers and replaced with Custom Action Launch file after Execute Sequences > Add Resources > Install to run pnputil directly.
This works and allows the driver features to be optionally installed.
When Launch File runs, it opens a command window which cannot, it seems, be suppressed, which is sub-optimal.
I have tested this with the same configuration as in your case and no UI appears for me.

Indeed, without the "Hide program's window", a cmd quickly flashes, but with that option enabled, nothing happens.

Have checked afterwards and the driver was installed just fine.
Screenshot_148.png
Screenshot_148.png (32 KiB) Viewed 15171 times

Are you able to reproduce this consistently? For example, could you please try to reproduce this on a VM and let me know if it still happens?
Create Enterprise .aip
Add one file to main feature
Set Theme to Classic Aero
Remove Welcome dialog
Add SetupTypeDlg
Add Driver using New Driver wizard
Driver Feature Properties: Display Expanded, Installed.
Test install in Windows Sandbox
Install using Typical or Custom with no changes, install succeeds.
Test install in Windows Sandbox
Install using Custom with driver feature deselected, install fails.
Regarding this, please note that I have tested it and can confirm the behavior.

I will create a ticket so that this can be fixed in a future version of Advanced Installer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7847
Joined: Wed Jun 13, 2018 7:49 am

Re: Driver as Not Installed Feature Fails Install

Hello,

This has been fixed in version 24.1 of Advanced Installer.

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

Return to “Common Problems”