Hi,
This aproach does not appear to work. If I call the installer directly from the command line (elevated to admin) then I can install SQL 2008 x64, but the custom action always fails.
I'm not sure I understand the problem you are encountering. How does the custom action fail if SQL Server is installed correctly? Can you please give me more details about this?
Since the custom action is scheduled under "InstallFinalize", it will run as Immediate with the user privileges. If you need it to run with Administrator privileges you can enable the
bootstrapper and set a
Require Administrator execution level.
It appears that the SQL installer is running from a different root process than when we run it from the command line. I belive this is why it will not install correctly.
Please note that an EXE custom action will always use a different process.
I take it that this was checked as a valid aproach for chaining installs before it was suggested?
Yes, this approach was tested numerous times and problems appeared only when the custom action was not set as asynchronous without waiting for return.
If the problem persists, can you please send us the .AIP (project) file you are using to
support at advancedinstaller dot com so we can investigate it?
Regards,
Cosmin