Video Screencast Help
Search Video Help Close Back
to help
New in the Rewards Catalog: Vouchers for "Symantec Technical Specialist" and "Symantec Certified Specialist" exams.

Using WiseScript to install files.

Updated: 11 Aug 2010 | 3 comments
Rivin's picture
0 0 Votes
Login to vote

Hi All.
I have more than 8000 files in my install ( I am using Wise Installation Studio 7). So to install some of then I use wisescript, which I call from main msi.
The question is, where is the best place to call this CA, and if i should call it in Execute Immediate or Execute Deferred.
Thanks in advance.

discussion Filed Under:

Comments

EdT's picture
09
Feb
2010
1 Vote +1
Login to vote

Deferred

The installation process of an MSI only makes installation changes to the target system during the Execute Deferred sequence, so that is where your custom actions should ideally be sequenced, and as near as possible to the InstallFiles action, which is the action that installs files in the MSI.
You should condition your Wisescript actions with the "NOT Installed" condition and you should also provide an "uninstall" custom action which removes the files installed by your wisescript(s), and condition this action with the REMOVE="ALL" condition.

8000 files is not actually that many compared to some projects I've seen, so is there a reason why you have chosen to handle some of the installation via Wisescripts? 

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.

Rivin's picture
10
Feb
2010
0 Votes 0
Login to vote

Hi EdT Thank you for

Hi EdT
Thank you for replay.
 I install some files using wisescript because it takes too long to compile or when I make some changes to the installation then, it takes a long time to go from one page to another.
Did you have any expirience with cab files? can I use for this purpose cab files from Installation Expert -> Media page?

thank you.

EdT's picture
10
Feb
2010
0 Votes 0
Login to vote

Saviing time during development

While you are still making changes to the install, why not set your compilation options to "External uncompressed" files. That will avoid the long compile process while all the files are compressed into CABS. Once your install is working correctly, just change the compile process to what you need for the final release.

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.