Setup Project : Removing files after installation

Giganews Newsgroups
Subject: Setup Project : Removing files after installation
Posted by:  dbu19…@gmail.com
Date: 16 May 2007

I am new to creating Setup projects in VStudio. I am using 2005. My
experience is with C++.

My problem is that I am using a custom build steps to call an
executable that

(1) Writes an encrypted string to a registry value,
(2) Edits an installed *.ini file.

The custom build step calls my executable from the application folder.
What I don't like is that the exe's are left in the target directory
when the install is finished.

Is there a way to remove the exe after installation, or is they a more
elegant solution? I am sure this is easy, but I am a stuck. Is is
possible to have a custom build step do system calls?

Replies