I have a project with lot of plugins and config files for them. Now I am doing a Visual Studio Setup Project for it.   

I don't want to add each config file manually to the setup project, so I thought to do this:

* create an empty zip file, say config.zip, and add it to the setup project
* Add a pre-build action to zip all the config files into config.zip
* Add a custom action that runs a vbs script that unzip config.zip to the right folder and deletes it.

The vbs script is the following:

```vb
sArchiveName = "Config.zip"
sLocation = "C:\Data\Configurations"

Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oShell = CreateObject("Wscript.Shell")

oShell.Run """" & s7zLocation & "7z.exe"" x " & sLocation & "\" & sArchiveName & " -aoa -o" & sLocation, 1, True

'--- If I uncomment the following 2 lines, 
'--- as I click on the shortcuts the installation rollbacks.
'--- If I leave them the shortcuts work fine. 
'Set f = oFSO.GetFile(sLocation & "\" & sArchiveName)
'f.Delete True

```

My problem is that the shortcuts that I add in the programs menu causes the rollback of the installation. The reason is the deletion of config.zip at the end of the installation process. If I leave it everything works fine.  

I have googled for a solution but cannot find anything, can someone help me?