I'm trid to create an MSI from an already installed exe. When Itry to complie the msi in the same machine where the application was installed, eveything goes fine. But when I open my msi in another machine and try to compile it then it throws error saying "Unable to compress some of the file xxx in the location yyy". I sorted out the cause as the first compilation takes files from their original location in the machine. Is there a way to make sure that the files associated with msi is captured and copied to the working folder. Any pointers on how to do this would be really helpful for me.

Keep talking
0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


You can create a .wsi file by choosing 'MSI to WSI Conversion' (under Tools). Then it extracts all the files included in a path you can specify. After this you can change your .wsi as needed and compile it back to a .msi without problems.

Answered 11/30/2005 by: rpfenninger
Second Degree Green Belt

Please log in to comment
The problem is the WiseSourcePath table. There Wise stores the location of the files needed for compilation.
In order for you to work with the WSI on some other machine you should do the following:

- in the directory of your .wsi file you should make a new directory called CleanBuild;
- you should copy/paste your needed files from the original location (usually Program Files) to the CleanBuild directory.
(If your application is installed in C:\Program Files\Winamp you should copy it to CleanBuild\Program Files\Winamp);
- you should change the column SourcePath from the WiseSourcePath table. Instead of the "hardcoded" entries like "C:\Program Files\Winamp\winamp.exe" you should have ".\CleanBuild\Program Files\Winamp\winamp.exe"
- everytime you copy the wsi to another machine you should also copy the CleanBuild directory.

I hope this helps you in any way.
Answered 12/01/2005 by: shogun_ro
Orange Belt

Please log in to comment