Re: Installing data files with application?



If the user is allowed to "Rename" the data files, then they should be put in his/her "My Documents" folder. If they are put in the "My Documents" folder then they probably should NOT be uninstalled when your app uninstalls... I mean after all, MS Word doesn't delete all your doc files when you uninstall it, right? So there is no need to keep track of them.

"Tracks" <Tracks@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:7D7D0F15-88EA-4B22-9A0F-E0F96FB9B38D@xxxxxxxxxxxxxxxx
I see. Thanks.

I was debating something like that also.

It still seems to me there is something not right here.

Does the unzip method work properly in Vista? What if there are two or more
users on one PC or Network? Does your program keep track of which users had
the files extracted into their local user folder? And if the user changes
their name does your program figure that out too? Just thinking out loud here.


"Family Tree Mike" wrote:

CMoya's approach is kind of what we do. We install zip files to a "support"
folder under the main app dir. On first run by a user, we unzip the files
using CSharpZip lib to the user's folder.

Occasionally where we have huge data files (1GB+) we write a custom action
to install the data to a common for all users.

VS Deployment projects care about the zip files, but not the contents after
they are extracted, even when within a custom action.

I hope this helps.

"Tracks" wrote:

> I include some sample binary data files (produced by my software) with > my
> application installation for the user to do what they want with. I put > the
> files in the Users Personal Data Folder/(myappsname) with VS 2005 > installer -
> File Types screen. All is well until the user changes the name of the > file (I
> want the user to be able to do this, move, or delete the files). When > the
> user changes the name, and then starts my application, the system tries > to
> re-install the file (and looks for the myaps.msi) instead of just > starting my
> application up. Not what I want. I dont care what the user does with > the file.
>
> I cant figure where this behavior is defined. Is there a "dont try to
> re-install this file if deleted" setting in the installer part of VS > 2005?
>
> I have set the files and the folder as Vital = false and Tranistive = > True
> (or false). What am I missing or doing wrong?
>
> Thanks,
>
> Tom
>

.



Relevant Pages

  • RE: Installing data files with application?
    ... Does the unzip method work properly in Vista? ... folder under the main app dir. ... All is well until the user changes the name of the file (I ... re-install this file if deleted" setting in the installer part of VS 2005? ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Virtualization
    ... One for the Common folder and one for User. ... I try in most cases to let me application create data files as needed, ... at install time, I install those files in the common data area. ...
    (microsoft.public.vb.general.discussion)
  • Re: Relative Links with includeText
    ... INCLUDETEXT, INCLUDEPICTURE and LINK don't support relative links. ... A generic master Document that pulls in additional data specific ... based upon the folder it is in. ... create the data files; I store those data files in separate folders. ...
    (microsoft.public.word.docmanagement)
  • Re: Owners and My Documents folders
    ... Will removing files from one folder, say Owner's Documents, ... Purchase an external hard drive. ... Copy data files (music, pictures, ... your system and do incremental backups. ...
    (microsoft.public.windowsxp.basics)
  • Re: Tell Me Where To Stick It!
    ... the user does /not/ normally need to browse to the folder. ... They use many of the same data files for program operation. ... People make their own versions, zip them up, reorganize by ... to a specific LOGICAL directory location, where the programs will pick up on ...
    (microsoft.public.vb.general.discussion)

Quantcast