Add Printer Custom action on Windows 7 - Advanced Installer Community

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!

RDC
Posts: 7
Joined: Thu Mar 05, 2009 2:17 pm

Add Printer Custom action on Windows 7

Hi,
I have an AI project which as part of the commit phase has a custom action (deferred, no impersonation) which creates a local printer and which is working fine with both XP and Vista; However when run under Windows 7 I get access denied whilst creating the printer. The custom action works correctly if I test running it outside of the install process on Win7. Interestingly I can delete printers within the installer OK, only creation fails.

Any suggestions?

Thanks.
RDC
Posts: 7
Joined: Thu Mar 05, 2009 2:17 pm

Re: Add Printer Custom action on Windows 7

Moving the custom action from Commit to InstallFinalize seems to have solved the Win7 access denied problem.

Return to “Common Problems”