ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Issue with resource file

Hi,

I am getting one issue, I am not sure that it is installer issue or code issue.
Actually in my product I added icons as resource in my project (.net project). Whenever I am binding my project these icons are coming in Resource Folder in Release folder.
Now issue, when I installed my installer, every thing is working fine, that times no issue.
But some time it is happening, if I restart the system, these resource files are getting deleted (it is happening some time only).
I have not clue what is going wrong.

Did you ever saw this kind of issue. Please suggest.

Thanks
Amit
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Issue with resource file

Hi Amit,

All the files that the package installs are the ones from the Files and Folder page, if this folder and its content is not there
it means it is not created by the MSI.

Are you using any custom actions that could create this folder and its contents during the installation of the application?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
ramit
Posts: 90
Joined: Thu Dec 18, 2008 11:51 am

Re: Issue with resource file

If I got your question, you are asking that Is I am generating those files dynamically through some custom logic. If that then below is my answer.

No actually at the time of creating the MSi those files will be there, after the installation also the files will be there and it happen like I can work for many days on the same installed product, but suddenly any day it happen like I start my system and I found the resource file deleted.

Means there is no pattern of happening this issue. It can happen any day that is why I am not able to find out where is the issue.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Issue with resource file

Hi Amit,

From what I can understand you are installing your application into a location that already contains some files (i.e. the resources)?

Can you please explain why are you not deploying the resources using the installation package?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”