Changing the CA.dll not working - Advanced Installer Community
swhitsell
Posts: 6
Joined: Thu May 15, 2014 10:49 pm

Changing the CA.dll not working

If I delete the old CA.dll file and add files the new CA.dll with changes and then rebuild none of the changes are there. Is there something I am doing wrong?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Changing the CA.dll not working

Hello and welcome to Advanced Installer forums,

Thank you for your interest in Advanced Installer.

I've tested the scenario, but I cannot replicate the behavior. Can you please give us a detailed step by step test case scenario which always replicates this? Also, it would be useful if you could isolate the behavior in a sample and send it us alongside a test case to support at advancedinstaller dot com so we can investigate.

Also, you can take a look on our "On upgrade previous version custom action running" thread which expose a similar behavior.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
swhitsell
Posts: 6
Joined: Thu May 15, 2014 10:49 pm

Re: Changing the CA.dll not working

The steps are
Build the C# project
copy the CA-dll to the project director
Delete the current CA-dll in the Windows Volume\Temporary folder
Add the new CA-dll to the Windows Volume\Temporary folder
Build
Run the installer for the run arrow.

After making a number of changes and following the above procedure the changes are not in advance installer. This shown most often by the corrected behavior not being corrected or in debug mode the message box to attach never showing.
swhitsell
Posts: 6
Joined: Thu May 15, 2014 10:49 pm

Re: Changing the CA.dll not working

What is the excepted steps when programming changes are made to the custom action for advanced installer to pick up the changes?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Changing the CA.dll not working

Hello,
Delete the current CA-dll in the Windows Volume\Temporary folder
Add the new CA-dll to the Windows Volume\Temporary folder
I'm afraid I don't fully understand these steps. Can you please elaborate a bit?
What is the excepted steps when programming changes are made to the custom action for advanced installer to pick up the changes?
For this you should change the version of your custom action DLL.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
swhitsell
Posts: 6
Joined: Thu May 15, 2014 10:49 pm

Re: Changing the CA.dll not working

That is in the add file windows volume is on folder and the temporary is a folder under that. It would be a big help if you could detail the steps needed when the C# CA.dll is changed and recompiled to ensure the changes will be available to Advanced Installer
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Changing the CA.dll not working

Hello,

Here are the steps to proceed:
- after making changes into your C# custom action code go to your Visual Studio project properties and increase the version number of your assembly and DLL file
- rebuild the VS custom action project
- on your Advanced Installer project folder replace the old CA.dll with the new version of the CA.dll file
- open Advanced Installer and rebuild the .aip (project file)
- test the built setup

Let us know if this helped, otherwise please send us the .aip (project file) and a detailed test case scenario to support at advancedinstaller dot com so we can investigate it.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
swhitsell
Posts: 6
Joined: Thu May 15, 2014 10:49 pm

Re: Changing the CA.dll not working

Problem solved was not letting the msi continue. Since letting the msi complete no problem at all. Thanks for your help
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Changing the CA.dll not working

You're welcome. I'm glad you sorted this out.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”