PDA

View Full Version : going from 4 to 5



NewsArchive
04-28-2006, 04:21 AM
Friedrich

I have an install in SB4 that I now want to convert to SB5, I know there is
no conversion utility, so I have to create a new one in 5 - that is ok

here is my question

In 4 I called a DLL to check to check for a file, read some data and write
some data
In 5 can I do this within the scripting language or do I just call the dll
again?

What is the best way to do this?

What I need to do is easy

1. rename a file
2. open the file, look for a field, if the date is more than 1 year old,
display a message and exit the install, if not, then continue to install

--
Eric Jacobowitz
www.castlecomputer.com

NewsArchive
04-28-2006, 04:22 AM
Eric,

> I have an install in SB4 that I now want to convert to SB5, I know there
> is no conversion utility, so I have to create a new one in 5 - that is ok
>
> here is my question
>
> In 4 I called a DLL to check to check for a file, read some data and write
> some data In 5 can I do this within the scripting language or do I just
> call the dll again?

You can call the DLL or use the script language.

> What is the best way to do this?
>
> What I need to do is easy
>
> 1. rename a file

Please use the "Rename File/Folder..." script function.

> 2. open the file, look for a field, if the date is more than 1 year old,
> display a message and exit the install, if not, then continue to install

Is this an ASCII text file?

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5

NewsArchive
04-29-2006, 05:50 AM
No, actually it is a TPS file

--
Eric Jacobowitz
www.castlecomputer.com

NewsArchive
04-29-2006, 05:50 AM
Eric,

Then you can call into a Clarion DLL.

Friedrich

--
Friedrich Linder
CEO, Lindersoft
www.lindersoft.com
+1.954.252.3910

"point. click. ship" - that's SetupBuilder 5