/build/static/layout/Breadcrumb_cap_w.png

SIMATIC STEP 7 from Siemens

How to create the package for application SIMATIC STEP 7 from Siemens?
It consist of 8 to 10 MSI's wich gets call from Setup.exe.

0 Comments   [ + ] Show comments

Answers (18)

Posted by: Jara 11 years ago
White Belt
0

I have downloaded a document and copied the contents below: Hope it will help

 

Installation Guide

A5E00841454-03 1

Central Installation

Introduction to the Central Installation

STEP 7 is installed with a setup program. Screen prompts will guide you step-bystep

through the entire installation process.

As of STEP 7 V5.3 SP3, a Record function is provides support for the central

installation beyond the usual setup program. You can use this function if you need

to perform a single type of installation on several computers.

Record Function

The Record function is a recording function that enables you to perform multiple

installations of the system setup or selected installation components on different

computers with identical options.

Whereas you previously had to navigate through all setup dialogs and enter the

required information for each installation, you can now create a control file with the

name "Ra_Auto.ini" to simplify the installation procedure.

Central Installation

Installation Guide

2 A5E00841454-03

Overview of the Procedure for the Central Installation

The following tasks must be performed for a central installation:

• Save the folders with the names "CD_1" and "CD_2" from the product DVD on

a central server or PC.

• Call up the Record function and create the "Ra_Auto.ini" control file.

• Save the "Ra-Auto.ini" control file either in the directory where "Setup.exe" is

located or in any other directory.

• Edit the file "Step7.ssf".

• Edit the file "Setups.cfg" if it exists.

• Start the central installation by double-clicking on the "Setup.exe" file if the

"Ra-Auto.ini" file is located in the same directory. If the "Ra_Auto.ini" file is

located in another directory, start the central installation with "<path>\setup.exe

/silent=<path>\Ra_Auto.ini". The installation is then run through without any

further input prompts.

• The installation program must be called up for each computer.

Central Installation

Installation Guide

A5E00841454-03 3

Calling up the “Record” Function for the Central Installation

• Use the Record function to create the "Ra_Auto.ini" control file that is to

contain all the information required for the central installation.

• You will need administrator rights for the Record function.

Calling up the Record Function

1. Insert the supplied DVD and copy the folders with the names "CD_1" and

"CD_2" to a central server or PC.

2. Select the menu command Start > Rung to open the "Run" dialog.

3. Enter the path to the installation data you have copied to a central server or PC

followed by the parameter ”setup.exe /record”. Then click on "OK".

Result: The "Setup" dialog for the language selection is displayed.

4. Select the desired language and click on "OK".

Result: The "Setup" dialog with the Record function is displayed.

5. Select the directory where you wish to save the new control file named

"Ra_Auto.ini": the file must be saved either in the same directory as the

"Setup.exe" file or in any other location. Click "Next".

Central Installation

Installation Guide

4 A5E00841454-03

6. In the subsequent dialog, select the desired components for the installation

and click on "Next".

Result: The "Ra_Auto.ini" control file is created and saved in the selected

directory.

7. Click "Exit".

Central Installation

Installation Guide

A5E00841454-03 5

Editing the “Step7.ssf” file

The "Step7.ssf" file must be edited by adding the parameters listed below. This

parameters enable you to select options for the central installation. It can be

displayed and edited with any ASCII text editor.

Proceed as follows:

1. Open the "Step7.ssf" file in the "Step7" directory with Notepad or another

ASCII text editor.

2. Add the parameters at the end of the file beginning with the section

[OPFILEENTRIES_BEGIN] and ending with [OPFILEENTRIES_END].

3. Change the parameter values to suit your wishes and requirements. You will

find an explanation of the respective parameters in the table below.

!

Caution

If you are overinstalling, enter the same path ('DestinationDrive' and

'DestinationPath') as used in the existing installation.

4. Save the amended "Step7.ssf" file.

Parameters to add at the end of the "Step7.ssf" file:

.[...]

[OPFILEENTRIES_BEGIN]

SetupMode=Batch

LanguagesToInstall=A,B,C,D,E

StartLanguage=A

NameOfUser=John Doe

NameOfCompany=Doe Inc.

DestinationDrive=C

DestinationPath=\Program Files\Siemens\Step7

AuthorizationDrive=A

LicenseDestination=C

LicenseRequested=1

LicenseManagerHandling=0

[OPFILEENTRIES_END]

Central Installation

Installation Guide

6 A5E00841454-03

Explanation of the Parameters

Parameters

Explanation

[OFILEENTRIES_BEGIN]

SetupMode=Batch This specifies which setup mode to use. It should not

be changed.

LanguagesToInstall=A,B,C,D,E You can enter the values A to E.

A=German

B=English

C=French

D=Spanish

E=Italian

StartLanguage=A This is where you specify the language in which the

software should be started.

NameOfUser=John Doe Enter your name here.

NameOfCompany=Doe Inc. Enter the name of your company here.

DestinationDrive=C Enter the destination drive here.

DestinationPath=\Program Files\Siemens\Step7 Enter the destination path here. All subdirectories

are created in this path.

AuthorizationDrive=A This is where you specify the drive from where the

license should be loaded.

LicenseDestination=C Enter the drive where the license should be saved.

LicenseRequested=1 You can enter 1 or 0. "1" means that a license

should be transferred, "0" means that no license

should be transferred.

[OPFIELEENTRIES_END]

Central Installation

Installation Guide

A5E00841454-03 7

Editing the “Setups.cfg” File

Check if the "Setups.cfg" file is included in the "CD1" folder on your product DVD.

• If this file is not included, nothing needs to be done.

• If the file is included, you need to add an entry to the file.

Proceed as follows:

1. Copy the folders with the names "CD_1" and "CD_2" to a central server or PC

if you have not already done so.

2. Open the "Setups.cfg" file in the "CD_1" folder with Notepad or another ASCII

text editor.

3. At the end of the file in the [Files] section after the last FileName entry, enter

the following parameter: "FileNamexyz=Ra_Auto.ini". Replace the wild card

"xyz" by an incremented number.

4. Save the extended "Setups.cfg" file in the same directory as the installation file

"Setup.exe".

Central Installation

Installation Guide

8 A5E00841454-03

Example Format for "Setups.cfg"

[General]

CopyToDisk=YES

DestDir=system setup

ExeName=setup.exe

[Files]

FileName1=setup.exe

FileName2=setup.ex_

FileName3=VB6STKIT.DLL

FileName4=setups.ini

FileName5=msvbvm60.dll

FileName6=Welcome.bmp

FileName7=Splash.bmp

FileName8=Top.bmp

FileName9=Ra_Auto.ini

[IniFile]

FileName1=setups.ini

Section1=SETTINGS

Entry1=DRIVE

NewValue1=%CD%

FileName2=setups.ini

Section2=SETTINGS

Entry2=PATH

NewValue2=%CD%

Central Installation

Installation Guide

A5E00841454-03 9

Starting the Central Installation

Requirement

The following requirements must be met in order to start a central installation:

• You have copied the product DVD with the installation data to a central server

or PC.

• You have created the "Ra_Auto.ini" file with the record function.

• You have amended the "Step7.ssf" file with the parameters described above

and adapted it to your needs.

• You have checked if the "Setups.cfg" file is included with your installation data

and, if so, amended and saved it as described above.

Proceed as follows to start the central installation:

1. Check if the requirements described above have been met.

2. Start the central installation by double-clicking on the "Setup.exe" file if the file

"Ra_Auto.ini" is located in the same directory. If this is located in a different

directory, start the central installation with "<path>\setup.exe

/silent=<path>\Ra_Auto.ini". A message is displayed when the central

installation is completed.

3. Repeat this procedure for each computer planned.

Posted by: anonymous_9363 13 years ago
Red Belt
0
Create what package? You already have the MSIs. All you need do now is create MSTs for them.
Posted by: santoshdhadave 13 years ago
Senior Yellow Belt
0
I have created MST's but behaviour with MSI and MST is different than that of with setup.exe. Need silent installation command.
Posted by: timmsie 13 years ago
Fourth Degree Brown Belt
0
You'll need to create a wrapper to install all of the msi's with your mst's using your scripting language of choice.
You can call them then with whichever silent switches you choose /q /qb /qb! etc
Posted by: anonymous_9363 13 years ago
Red Belt
0
I don't fancy re-typing, so search AppDeploy for the phrase "gap capture" or "delta capture". Failing that, search for "InstallWatch".

BTW, look how much time you would have saved if you had outlined your problem in detail...
Posted by: ISTMETZ 13 years ago
Yellow Belt
0
Siemens Step 7 comes with an native unattend setup, try setup.exe /record
Posted by: AngelD 13 years ago
Red Belt
0
Don't know if this can help but here goes
http://xuek.ru/eblog/2009/10/step7-at-win7/
Posted by: Venruki 13 years ago
Yellow Belt
0
ORIGINAL: ISTMETZ

Siemens Step 7 comes with an native unattend setup, try setup.exe /record




Thanks alot! You made my day. This works perfectly =)

Do you happen to know how I run the setup calling the .ini file created by /record ?
Posted by: Venruki 13 years ago
Yellow Belt
0
Ok. If I save the record file in the same folder as setup I can run setup with "/silent". However the installation stops running silent when the actual Step7 package is being installed. I tried the record option directly on the the Step7 setup.exe, but that was not possible. The Step7 folder also contains a msi. I tried making a mst for that, but I get a warning saying "This package does not support hiding dialogs".

I guess I somehow have to generate a configuration file for Step7. Can't find out how though...
Posted by: pjgeutjens 13 years ago
Red Belt
0
"This package does not support hiding dialogs".

that probably just means they have a messed-up CA structure with some that only run in the UI sequence...
it's the equivalent of 'We suck at making MSIs' to me [:D]

PJ
Posted by: anonymous_9363 13 years ago
Red Belt
0
Ignore that message. It's telling you that because of the dialog sequencing, none can be hidden from the sequence. They can still be hidden in their entirety, though, in a silent install.
Posted by: darkhoras 13 years ago
Yellow Belt
0
Hi everyone.
I need your help with SIMATIC STEP7. I have this programm. It installs from setup.exe... And wule install it use ~20 MSI packages. Then I try install all this packages separetly from setup.exe. I got message, that this component cannot be installed alone! So, i think, that setup.exe gives some option to all MSI, then they must be installed. How i can capture this options? Because i need make transforms for all MSI packs there... Not make repack of this software. Please help me. I'm newbie in this work

ProcMon didn't help me, because there are too many events... and i got error about noy enough memory...
Posted by: anonymous_9363 13 years ago
Red Belt
0
Try adding 'ISSETUPDRIVEN=1' to your command line.ProcMon didn't help me, because there are too many eventsIn this case, it won't be of any use. For future reference, though, set ProcMon to filter events by right-clicking on the path, result or whatever and selecting 'Exclude [whatever].EXE'.
Posted by: darkhoras 13 years ago
Yellow Belt
0
I got new problem. I got script which install all programm silent. Nice. -1 problem.
New task, is to remove shortcuts from desktop after installation.
I have some ideas:
1. Write in install.vbs script, who delete shortcuts after installation. But problem is, that computer reboot after installation, and script didn't work.
2. Buit-in script in one of 25 MSI. And this script removes shortcuts.
3. Disable component or custom action, which create shortcuts on desktop...
Please help. 3 idea is a best... but i don't know how to find this action... or component...
Posted by: anonymous_9363 13 years ago
Red Belt
0
Shortcuts are normally handled by the Shortcut table. Just delete the row which references the Desktop in your transform file.
Posted by: darkhoras 13 years ago
Yellow Belt
0
I got new problem =(
Application reboot computer after installation... I put in ALL MSI REBOOT = ReallySuppress and it didn't help me =(
How i can turn off force reboot?
Posted by: anonymous_9363 13 years ago
Red Belt
0
I *hope* you meant that you added that property to your MSTs and not the MSIs directly. Also, the '=' bothers me...do you mean that you specified the property and value on the command line? If you incorporated it into the property table, can you post the relevant row from the property table here?
Posted by: darkhoras 13 years ago
Yellow Belt
0
Yes, i add this into MST =) In a property table
REBOOT and value: ReallySuppress.
Now i found CA: SetREBOOTALLOWED with value 1. I delete it. Didn't help... I don't have ideas... How to turn off reboot.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ