Custom Action - 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!

Nick Price
Posts: 19
Joined: Mon Jul 04, 2011 4:06 pm

Custom Action

Hi again, following previous posts.

I've now added a custom action to call a exe file, which in turn calls the correct version of dpInst. (32 or 64 bit version).

All the files are located in the same folder and installed with the MSI. The custom action takes place on the commit.

The exe file runs, but it can't find the file in the same folder.

How do I get around this?

Regards

Nick
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Custom Action

Hi Nick,

If you are executing a custom action that runs an .EXE from the package then the .EXE must be installed on the target machine. To do this you must schedule it after the Install standard action with "Deferred, with no impersonation" execution option.

Are these your current settings?

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”