dzar
Posts: 10
Joined: Tue Apr 04, 2006 3:15 am

Custom action (.exe file) not running under Vista

I have an install file that includes DPinst to install some drivers that works perfectly well under Windows XP. When I use the same installer on Vista, it installs everything in the right places but does not run DPinst. If I run it, manually, after the installation, it works as expected.

I have signed drivers, MSI and EXE files (both the installer and DPinst.exe just in case), but that doesn't seem to matter. Any other thoughts as to why this won't run?

Thanks,
Dave
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Dave,

Use "Deferred with no impersonation" execution option for the custom action. Let me know if this solves the problem.

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
dzar
Posts: 10
Joined: Tue Apr 04, 2006 3:15 am

Thanks. That fixed the problem. If you don't mind, could you describe what those options are for? I don't see them in the manual, yet. Maybe just added?

Thanks, again.

Dave
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Dave,

Deferred - the Custom Action will be executed in order as part of the script built out of all the non-immediate actions.

Impersonation - run the Custom Action as the user installing the application, not under the local System account.

"Deferred with no impersonation" is a combination between "Deferred" and "Impersonation" flags. This option means that the custom action is executed at scheduled point within script. Executes with no user impersonation. Runs in system context.

http://www.advancedinstaller.com/user-g ... rties.html

Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com
v_534
Posts: 1
Joined: Mon Mar 05, 2007 8:12 pm

I have an installation that has no problems on most machines. However, when I try to install on one particular machine, none of my custom actions are being run during installation on that machine.

There doesn't seem to be anything different about that machine. I also tried changing the type of my custom actions from 1025 to 3073 (defferred with no impersonation), but that did not seem to work.

Does anyone have any insights?
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

What OS and Windows Installer version are installed on that machine? Maybe there is a problem with the Windows Installer version on that machine. Try to reinstall it and tell us if the problem persist.

Regards,
Gigi
_______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”