Strange Error with Custom Action names - 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!

rosen.nedialkov
Posts: 19
Joined: Wed Feb 07, 2007 11:43 am
Contact: ICQ

Strange Error with Custom Action names

If I rename an attached custom action as "InstallServices" I get the following error while building:

Code: Select all

Building package (en): some.msi 
Applying file transforms... done.
Creating CAB file(s)... done.
Creating MSI database... error.
Exception - Reason: Error calling Msi API: 1627 Method: MsiViewExecute Table: InstallExecuteSequence Extended Error: 
1: 2259 2: some.msi 3:  4:  .

Build finished because an error was encountered.
If I rename this custom action everything is perfect
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi,

You cannot name a custom action as "InstallServices". This is because "InstallServices" is a reserved name for a standard action. You can read more about "InstallServices" standard action here:
http://msdn2.microsoft.com/en-us/library/aa369540.aspx

Note that you can specify services to be installed in the "Services" page. Also you can specify "Control Operations" for a service (start/stop, etc). You can read more about how to install services with AI here:
http://www.advancedinstaller.com/user-g ... vices.html

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

Return to “Common Problems”