PDA

View Full Version : installing several demos for several cla versions



NewsArchive
06-14-2011, 12:35 AM
Hello Fredrich,

I am redoing my demo dmc installer for the RT engine and I am trying to
avoid duplicating all files so I opted for using ZIP archives prebuilt
containing all relevant files

Copying them %TMPWINDIR% which is correct as another operation there
works fine

Unzipping them to %_SB_INSTALLDIR% which is correct as other files are
installed there

I use this code to install
Install File "D:\Apps\DmcRt Converter\Projects.zip" to
"%TMPWINDIR%\Projects.zip" (Always Install)
Install File "D:\Apps\DmcRt Converter\DmcRtConverter6.zip" to
"%TMPWINDIR%\DmcRtConverter6.zip" (Always Install)

and this code to unzip
Unzip Archive "%TMPWINDIR%\DmcRtConvert6.zip" to "%_SB_INSTALLDIR%"
Unzip Archive "%TMPWINDIR%\Projects.zip" to "%_SB_INSTALLDIR%"

Now the projects archive DOES contain a path (relative) to create a sub
folder but the other one has no path - only files

The projects.zip unzips perfectly
The other one returns NO error (quiet flag unchecked) but unzips
nothing in my folder

How could I check to see why so pls ?

--
JP
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com

NewsArchive
06-14-2011, 12:36 AM
I tried installing directly the second zip in %_SB_INSTALLDIR% and it
does go there but unzipping does nothing :-?

--
JP
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com

NewsArchive
06-14-2011, 12:37 AM
I put a stop message after the copying and if I unzip manualy all is
fine but from my script nothing ..... :'(

--
JP
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com

NewsArchive
06-14-2011, 12:38 AM
I have attached a demo for you. It unzipps the files without any problem
(including the sub-folders that are stored in the test34.zip archive).

Does this help?

Friedrich

NewsArchive
06-14-2011, 12:38 AM
if I zip WITH a path in the archive it works

something wring here but what - why .....

--
JP
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com

NewsArchive
06-14-2011, 12:38 AM
Hi JP,

> if I zip WITH a path in the archive it works
>
> something wring here but what - why .....

The above "jp_zip.sb7" demo unzips .ZIP archives with (test34.zip) and
without (test12.zip) subfolders. Tested with 7.4.3313.

Friedrich

NewsArchive
06-14-2011, 12:39 AM
I am using a workaround as I am VERY short on time (added a folder in
zip) as the webinar starts in an hour's time and ..... <g>

i'll take a look asap

Merci

--
JP
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com

NewsArchive
06-14-2011, 12:40 AM
> Copying them %TMPWINDIR% which is correct as another operation there works
> fine

BTW, just a quick note: I would avoid %TMPWINDIR% (the temporary Windows
folder) here. Use %TMPDIR% (the unique temporary installer folder) instead.

Friedrich

NewsArchive
06-14-2011, 12:40 AM
Thanks for the tip

Will change in script

JP

--
JP
__________________________________________________ _____

For those who do not understand ... : "Qui bene amat bene castigat."
__________________________________________________ _____

DMC - Data Management Center : a tool to let you Migrate Import Export
Transfer your Data
www.dmc-fr.com