PDA

View Full Version : Trying to create a "Batch" file during an install



NewsArchive
06-12-2005, 07:41 AM
I have the following in the INI section of my script (See Image)

It creates the "NewSetUp.cmd" , but it is empty... I did this type of thing
in SB4 w/o problems!

-- are you "Validating" what I am writing and ignoring my code?

Thanks

NewsArchive
06-12-2005, 07:41 AM
Kevin,

This is not a valid INI operation.

Contents:

[in] Enter the modifications to be made to the .INI file. The lines in
this field are interpreted as follows:

- Lines with text enclosed in square brackets, such as [Section],
instruct the installation to put the lines that follow in the indicated
section of the .INI file.

- If you include a section name with no entries after it, that section
and all its entries are deleted.

- Lines that start with a parameter name followed by an equals sign (=)
and a value are added to the .INI file. For example,
MyPath=%_SB_INSTALLDIR%. If the .INI file already contains an entry for the
specified parameter, the existing entry is replaced.

- If you include a parameter name with no value, for example, MyPath=,
that entry is deleted if it exists.

- You can enter variables in Contents to insert the values of script
variables into the .INI file.

Please use the "Text File Operations" function to create and edit your
"NewSetUp.cmd" file.

Does this help?

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

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

NewsArchive
06-12-2005, 07:42 AM
By the way, just entered the same data into SB4 Web Edition, and the
compiler reported an "ERR: INI definition error".

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

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

NewsArchive
06-13-2005, 08:41 AM
Well is there a way to create a text file (Batch) during the installation?

NewsArchive
06-13-2005, 08:41 AM
Kevin,

Please use the "Text File Operations" function to create and edit your
"NewSetUp.cmd" file.

Does this help?

Friedrich

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

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