I need to prepare SAP GUI 7.20 for deployment , i wont try to repackage it into an MSI, will only be using silent switches.

After the install --> My problem is the following: i need to deploy some files (ini,and transaction history files) into the APPDATA folder (specific to each user) i.e-->documents and settings\<Username>\application Data\SAP

How can i accomplish that? if it were an MSI i could use the advertisement feature, but best practices says SAP is one of those vendors we shouldn't repackage into and MSI.

Any advise?
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
ORIGINAL: latino_packager

I wont try to repackage it into an MSI, will only be using silent switches.



True, it would probably not be a great idea to repackage SAP 7.20 but instead you could consider creating a wrapper MSI to run the vendor's original installer with the necessary silent switches. The wrapper MSI could also deploy the extra files you mentioned and finally you could then use Active Setup to ensure these files are propagated to each user.

(Wrapper MSI's and Active Setup are discussed extensively elsewhere in this forum, so you shouldn't be short of help)

Spartacus
Answered 03/17/2011 by: spartacus
Black Belt

Please log in to comment
0
Thanks Spartacus..I use Adminstudio 9.5 and installshield 2010.

Can you point me to a post where they mention how to wrap the exe into an MSI using the above tools?
Answered 03/17/2011 by: latino_packager
Senior Yellow Belt

Please log in to comment
0
Try here for guidance on wrapper MSI construction (it discusses using WPS, but the principle is the same for InstallShield)

and you could look here for Active Setup (again, the article is geared to WPS, but you can do the equivalent in InstallShield)

Spartacus
Answered 03/17/2011 by: spartacus
Black Belt

Please log in to comment
0
i've fixed this by moving the ini file to a common folder and creating an system environment variable to point to it. the var is SAPLOGON_INI_FILE. you can create it with setx.exe that comes with the windows resource kit. setx.exe creates a var and apply it to the system without a reboot.

hope this helps!
Answered 03/17/2011 by: kardock
Second Degree Green Belt

Please log in to comment
0
The last version of SAP I worked on was 7.10. Does this mean that SAP finally moved the saplogon.ini file out of the Windows folder and is trying to comply with Windows application development standards?
Answered 03/17/2011 by: mazessj
Blue Belt

Please log in to comment
0
I've recently packaged 7.2 and used the SAP installation server Administration Tool to create a package (.\setup\NwSapSetupAdmin.exe)
It seems to do the job and you can add scripts to the package within the tool to copy files etc
Answered 03/18/2011 by: timmsie
Fourth Degree Brown Belt

Please log in to comment
0
Hi all

I must make an msi for SAP GUI 7.20 and copy ini fils to Windows filder and %USERNAME%... can some one help me ? am new :(
Answered 07/22/2011 by: roni86
Blue Belt

Please log in to comment
0
Have you read the pages pointed to in post # 4? Isn't there a 'Package KB' article about SAP GUI?
Answered 07/22/2011 by: VBScab
Red Belt

Please log in to comment
0
yes but I dont know if a understend. the gool it to cope the saplogon to %username%/apppdata/SAP.... could you help my o this one?
Answered 07/22/2011 by: roni86
Blue Belt

Please log in to comment
0
put an hkcu entry in the component that holds the file mark it as the keypath. job done.
Answered 07/23/2011 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
0
It dosent work when i install it over system account :( ore Im doing something wrog

after the instalation nothing apper in the hkcu
Answered 07/25/2011 by: roni86
Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity