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!

Tim

Problem with custom action / regasm

Hi,

i try to run regasm during install on a .NET-Assembly-dll which will be installed in the gac.

Till now i could not manage to find out how to do that.

Last thing i tried was

File Search [REGASM] <- regasm.exe

From the log i see that it proceeds. The property REGASM contains the full path to the regasm.exe

When i try then a custom action with exe from Property and Argument [#dll-name] it fails (Error Code 1721)

It works from the CMDLine.

Please Help

best regards and thanks in advance
Tim
Guest

Hi Tim,

In order for the [#dll-name] to be expanded into the full name of the file, the custom action should be placed on a section after the installation of file (the Commit section for example).

Also the argument should be embedded in quotes ("[#dll-name]") since it might expand into a string that contains spaces.

Hope this solves the problem.

Regards,
Mihai

Return to “Common Problems”