Hi,
I want to execute exe before MSI installation. On the basis of output of that exe I want to terminate the MSI process. How can I achieve this?
Thanks
Ankit
Code: Select all
(NOT Installed)When using the "Call a function from a standard dll" custom action, you can specify a function with any signature from its Edit Function dialog.I added "call function from standard dll" at install standard action. As mentioned in you help, all function in dll will automatically load in drop down.
Unfortunately Windows Installer supports only native C++ DLLs for custom actions. Therefore, Advanced Installer cannot use a .NET DLL.Can you give me any example in vb or c#?
Code: Select all
<AI_CUSTACTS>stdDllWrapper.dllCode: Select all
Dynamic linked library (*.dll)Code: Select all
CallStdFcnAfter you decide which of the above custom actions you will use, you can exit the setup with an "Error Message" custom action which has an execution condition set to the return property of your function. Here is the user guide reference for the "Error Message" custom action.If value is false then exit setup with error message else true then proceed.
FOLLOW US
Get the latest news in Application Packaging