Removing files after installation

Got a problem you cannot solve? Try here.
Post Reply
jls
Posts: 26
Joined: Wed Jun 06, 2007 5:17 am
Location: Norway

Removing files after installation

Post by jls »

After I have installed my application the support files are still in the destination folder, Is that correct and how can i remove the support files?

I also executes some programs. These program should be removed after I have installed the application. How do I do this correct?


Jørgen
jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Post by jimo »

If the files you are refering to are files you added to your project under Support Files (MSI Code view), Creatives (Visual IDE), then they should be deleted when the installer finishes.

If these are files you are moving around etc., use delete files recursive, which executes directly.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
jls
Posts: 26
Joined: Wed Jun 06, 2007 5:17 am
Location: Norway

It works

Post by jls »

I had placed the files in the wrong folder and used
* for adding all files in that folder, moved the files and it works.

One more question

I have 2 executables and 1 dll used by the installer.
These files are not needed after the install is finished.

I understand that I can remove the files afterwords,
but is it possible to add these files as Support Files?

Jørgen
jimo
Posts: 342
Joined: Fri Aug 19, 2005 10:59 am
Location: Atlanta, GA
Contact:

Post by jimo »

Yes, in the VIsual IDE add them as creatives or in the MSICode view add them as Support Files, or alternatively use File bag to bundle them up and deliver them to the end users system.
Jim Oswell
Software Engineering Manager, Dental
Greenway Health, LLC
http://greenwaymedical.com
jls
Posts: 26
Joined: Wed Jun 06, 2007 5:17 am
Location: Norway

Thank you

Post by jls »

I think I will add Support Files.

Thank you for the help.



Jørgen
Post Reply