tslewis
Posts: 65
Joined: Wed Mar 13, 2013 7:06 am

Re: Delete .NET Installer Class After Use as Custom Action

Attached another simple example. I want to copy a text file after a component resource has been installed does not work.
I have also tried the folder remove option several times. does not work for me when using for install situation.

Attached is a simple AIP project describing this.

I want these file operations to coccur at end of install time

Please can you check the attached and see what I have done wrong?

Thanks
Attachments
Setup.aip
(15.43 KiB) Downloaded 415 times
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Delete .NET Installer Class After Use as Custom Action

Hi,

The "File Operation" features are not meant to be used for files that are created during the installation because these operations are executed during the "Remove Resources" standard action which is before the "Add Resources" standard action. So, when these operations are executed the files are not yet created in the installation folder.

You can find an example of a case when the "File Copy" operation can be used in the Copy a named file in APPDIR thread.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tslewis
Posts: 65
Joined: Wed Mar 13, 2013 7:06 am

Re: Delete .NET Installer Class After Use as Custom Action

Thanks Daniel for your clarification, slowly getting the hang of this, again, great product. Your online help is very good and it would be almost impossible for me to tackle this without it and your feedback....
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Delete .NET Installer Class After Use as Custom Action

You're welcome. Glad to help.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”