/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (2)

Posted by: rpfenninger 18 years ago
Second Degree Green Belt
0
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.

Cheers
Roland
Posted by: shogun_ro 18 years ago
Orange Belt
0
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ