Hi,
As the title says, I need to deploy some support files (used by my application) and was wondering what is the correct way to do this for a .NET deployment.
In VB6 I used to use Inno and would do something like :
Source: "c:\DllLatestVersions\MyFile.xml"; DestDir: "c:\Documents and Settings\All Users\Application Data\MyCompany\SupportFiles"; MinVersion: 4.0,4.0; Flags: ignoreversion
I already have a CustomInstallActions class in my project that is used during deployment to ensure that all necessary folders are present and sets access permissions. Would that be the place to install the support files? If so, how would I do that.
I suppose an alternative would be to deploy the files to the ProgramFiles area along with the application and move them at run time if they are not found to be in the correct location. That seems a bit messy to me.
Just looking for some "best practice" guidance.
Any help appeciated, as always.




Reply With Quote