msi file size after adding 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!

Borek
Posts: 10
Joined: Wed May 21, 2008 3:59 pm

msi file size after adding custom action

Tried to search forums first, but "custom actions" are reported as too common words, so search is not working.

I want to add a registry key during installation; unfortunately, information entered is a number that have to be calculated - so it requires some script or program. I tried to execute my own program with a parameter during commit phase. That works, but msi file that was around 650 kB grows - just because of this single change - almost twice, to 1250 kB or something close. Is it normal? Unavoidable?
F
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Re: msi file size after adding custom action

Hi,
Tried to search forums first, but "custom actions" are reported as too common words, so search is not working.
Please try using the search feature on our website. It allows you to see the results from the User Guide and from the forum.
I tried to execute my own program with a parameter during commit phase. That works, but msi file that was around 650 kB grows - just because of this single change - almost twice, to 1250 kB or something close. Is it normal? Unavoidable?
If you are using an installed or attached custom action, the size of the custom action file will be added to the size of the package. What is the size of the custom action file?

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Borek
Posts: 10
Joined: Wed May 21, 2008 3:59 pm

Re: msi file size after adding custom action

cosmin wrote:If you are using an installed or attached custom action, the size of the custom action file will be added to the size of the package. What is the size of the custom action file?
That's sounds logical in terms of files sizes, but I am no adding new file - I am using my main exe, that is already included in msi.

OK, I think I know what happened - I have added attached custom action instead of installed custom action, so the file was included twice. Thank you for asking a good question :)
F

Return to “Common Problems”