Help needed with Wise Package studio
Hi,
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.
thanks
Keep talking
Words
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.
thanks
Keep talking
Words
0 Comments
[ + ] Show comments
Answers (2)
Please log in to answer
Posted by:
rpfenninger
18 years ago
Posted by:
shogun_ro
18 years ago
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.
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.