
bernardoely1.5524913875647078E12 asked a question.
InstallShield releasing outdated DLL from Temp. ASP.NET files instead of /bin/Release
Greetings.
We're using .NET v4.0, VS2012 Update 1 and latest version of InstallShield 2012 Spring Limited Edition.
We got scared when noticed that InstallShield doesn't rely on latest built libraries from project output. Instead, it gets the oldest version as possible from*Temporary ASP.NET Files folder! (C:\Windows\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files)
Unless we clean up Temporary ASP.NET Files, there is no way for InstallShield to embed the actual latest DLL from project output.
Furthermore, I had two outdated versions of that DLL in*Temporary ASP.NET Files folder, and InstallShield got the oldest one. After I deleted the oldest it got another outdated DLL from there. Finally, I cleaned up*Temporary ASP.NET Files and it got the DLL from Bin/Release (which should be the only and obvious place to get the DLLs from).
Once we cannot rely on a manual procedure of cleaning up*Temporary ASP.NET Files folder, we just don't know what to do.
We hope we don't need to build our own Setup mechanism...
Kindly advise.*
Regards,
Bernardo Ely
I have not seen anything like this? how are verifying that it takes old version? do you have an sample which replicates this? "
Hello Shekar. We verify it's using an old version of the DLL by checking its Modified Date. We can consistently replicate this in our project. I'll try to build a sample app to replicate it.
Thanks,
Bernardo
Have you been able to find any resolution to this?Setup
What should I do? In the short term I am going to try directly referencing the files instead of using the project output.
Have you tried adding the libraries directly to your InstallShield project instead of adding from project output group reference?
Thanks,
Chiranjeevi
I have run into this problem a couple of times now and adding the DLL directly to the install will work, but is not the ideal solution. I posted a thread right before I read this and deleting the Temp Folder solves the problem, at least temporary.
It seems to manifest itself after you change the references in a project to something different.