PDA

View Full Version : Unzip a file during instalation



vaskas
04-10-2006, 04:16 PM
Hi all,

I just started working with InatallShield and have a question. My appliction comes bundled in a zip archive and to install it I need to first unpack the file. The application is to be installed on different platforms, so I need a platform indepenent way to unzip a file diring instalation process.

I have tried adding "Execute Process" product action to Sequences. The process that I used was "unzip" with appropriate parameters. I belive this comand is available on all platforms that I'm interested in.

However, the intalation process complains wiht a java error:

(Apr 10, 2006 4:44:11 PM), Install, com.installshield.product.actions.ExecAction, err, ProductException: (error code = 200; message="Java error"; exception = [ServiceException: (error code = 200; severity = 0; exception = [java.lang.NullPointerException])])

As much as I understand, unzip is the problem. The system can't find it on my Windows machine. Is there any other way to do this?

I have searched the forums and google but see nothing on this topic.

RobertDickau
04-10-2006, 06:07 PM
If nothing else, perhaps see the "Expand Archive" example here: http://www.installshield.com//downloads/beans.asp?prod=mpf.

vaskas
04-12-2006, 10:42 AM
If nothing else, perhaps see the "Expand Archive" example here: http://www.installshield.com//downloads/beans.asp?prod=mpf.

Works great, thank you.

nicoeschpiko
06-26-2007, 07:36 PM
I am trying to follow the following procedure:

In order to perform an installation of a single bean...

* Download the bean from one of the links above.
* Unzip the file into the "classes" directory where MultiPlatform or InstallShield 10.5 is installed.
* Append the contents of the unzipped "ismp.registry" file to the ismp.registry file that is in the directory where MultiPlatform or InstallShield 10.5 is installed.
* Restart MultiPlatform or InstallShield 10.5
* You should now see the bean that you added when you go to insert a bean.


...from http://www.installshield.com//downloads/beans.asp?prod=mpf
but cannot find the classes directory in the Installshield 12 directory (C:\Program Files\Macrovision\IS12). I understand that the procedure mentions an earlier version, but I am thinking that people don't normally have to rewrite things in later versions. How might this bean be applied?

Techie42
05-29-2008, 02:30 PM
If nothing else, perhaps see the "Expand Archive" example here: http://www.installshield.com//downloads/beans.asp?prod=mpf.

Robert, The change to Acresso seems to have broken this link. Can you give us an updated link?

Thanks,

Bradley

RobertDickau
05-29-2008, 03:31 PM
As you say, those resources don't seem to have been migrated over yet; for the time being, there seems to be an older version of the same thing here: http://community.acresso.com/forumdisplay.php?f=56...

Techie42
06-01-2008, 09:05 PM
Thanks Robert!

You are the best of the best!

Bradley