/build/static/layout/Breadcrumb_cap_w.png

Lotus 8.5.1

Hi,
Right now am working on Lotus 8.5.1.
Any one working on this app previously or present.

Thanks,
Annuj.

0 Comments   [ + ] Show comments

Answers (19)

Posted by: Yuvaraj_Subramanian 14 years ago
Senior Purple Belt
2
Hi Annuj,

I have added two custom actions one for file copying (this is because in Citrix server file called notes.ini is installing at C:\Windows\system32 hwere as in XP it is installed in C:\Program Files\Lotus \Notes\) and another for providing the folder permission to the standard users.PFA Custom action script below:

Custom Action Name : File Copy

Custom Action Script :

Const HKEY_LOCAL_MACHINE = &H80000002
Const ForAppending = 8
strComputer = "."
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
strComputer & "\root\default:StdRegProv")
Set WshShell = CreateObject("WScript.Shell")
Set objFSO = CreateObject("Scripting.FileSystemObject")
Dim FSO, WshShell, strF1,strDestinationFldr, strSourceFldr,strDestFldr,strLine
strDestFolder = Trim (WshShell.ExpandEnvironmentStrings("%ProgramFiles%"))
strDestinationFldr= strDestFolder + "\Lotus\Notes\data"
If objFSO.FileExists (strDestinationFldr & "\notes.ini") = False Then
'Copying Files
'------------------------------------------------------------------------------------------
'msgbox "File Doesnot exist and Copying File"
Set FSO = CreateObject("Scripting.FileSystemObject")
set WshShell = CreateObject("WScript.Shell")
strSourceFldr = WshShell.ExpandEnvironmentStrings("%windir%")
FSO.CopyFile strSourceFldr & "\notes.ini" , strDestinationFldr & "\notes.ini"
'------------------------------------------------------------------------------------------
'File Exist - Appending Content
'------------------------------------------------------------------------------------------
'msgbox "Appending Content"
strLine = "Directory=C:\Program Files\Lotus\Notes\data"
filename = strDestinationFldr + "\notes.ini"
If objFSO.fileExists(filename) then
Set objFile = objFSO.OpenTextFile(filename, ForAppending)
objFile.Write strLine
objFile.Close
End If
'------------------------------------------------------------------------------------------
End If
Set objFSO = Nothing


Custom Action Name : FilePermission
Custom Action Script :
'--------------------Begin -----------
'This script will assign Modify/C-Change (write) Permission To Power User on "C:\MyFolder" using cacls on NTFS formatted drive
Dim oShell, FoldPerm, Calcds, oFSO
Set oFSO = CreateObject("Scripting.FileSystemObject")
Set oShell = CreateObject("WScript.Shell")
sSysDir = oFSO.GetSpecialFolder(1).Path
If Right(sSysDir,1) <> "\" Then sSysDir = sSysDir & "\"
Calcds = sSysDir & "cacls"
'Chang The folder Name, User and Access rights in the following line of code
FoldPerm = """" & Calcds &"""" & """%ProgramFiles%\Lotus""" & " /E /T /C /G " & """Users""" & ":C"
oShell.Run FoldPerm, 0 ,True
'----------------End of Script---------
Posted by: mekaywe 14 years ago
Brown Belt
0
What do you want to know about Lotus app ..... mr.ekniranjan?
Posted by: ekniranjan 14 years ago
Purple Belt
0
I really appreciate you reply, first thanks for that.
We use Lotus notes in our corporation and we install it with .ipf file and am trying to find some knowledge base stuff. Still am not at started working on it, but in couple of weeks i will.
Before that i just want to know more packaging details about that.

Thanks,
Annuj.
Posted by: mekaywe 14 years ago
Brown Belt
0
I am not sure about using .ipf file but you can customize the application and create a wrapper which will install lotus according to your requirement.
Posted by: mekaywe 14 years ago
Brown Belt
0
have a look at this.. you might get some Idea [;)]
http://itninja.com/link/help---ibm-lotus-domino-and-notes-information-center
Posted by: ekniranjan 14 years ago
Purple Belt
0
Other than customizing the MST i need to check for the previous versions of Lotus notes, if there is any previous version exist, i need to delete them using any VBS or Autoit Script. We also need to verify the Operating system while installing, so this make me to write a script for installing. So if anyone worked on this or if he has anything to share that's really appreciated.

Once again thanks for your precious reply's. If you know any link of any documents in our site, please let me know.

Thanks,
Annuj.
Posted by: mekaywe 14 years ago
Brown Belt
0
Yes., you need to uninstall previous versions, check harddisk space, RAM, OS etc before you actually start Installing.
You need to develop scripts which perform above tasks.
Write a WiseScript if you are using WPS which takes care of all these actions.
Posted by: ekniranjan 14 years ago
Purple Belt
0
We are using Installshield, is there any VBS(VB Script) for that one or nay other script.

Thanks,
Annuj.
Nortel IVR.
Posted by: mekaywe 14 years ago
Brown Belt
0
you can develop VBScripts for each individual task you have to perform and sequence them accordingly
Posted by: anonymous_9363 14 years ago
Red Belt
0
I can't imagine why the discussion has turned to scripts. Notes is supplied as an MSI. Create a transform with InstallShield's Tuner. That's about it.

An IPF file is associated with SMS. It has nothing to do per se with the Notes installation.
Posted by: Yuvaraj_Subramanian 14 years ago
Senior Purple Belt
0
Hi ,

I created MST for Lotus Notes 6.5 version but the problem is the application was not working in servers. So check the os version where you will deploy the apps. I wrote two scripts for installing in server and to make the application work fine with standard user id.

Regards,
Yuvaraj.
Posted by: ekniranjan 14 years ago
Purple Belt
0
Hi Yuvaraj,
Can i see that script which you used for OS check. What type of script you used for that.
Posted by: ekniranjan 14 years ago
Purple Belt
0
HI VBScab,
You are right, but for installing we are using script of.ipf which install MSI with MST. In the same script we use all conditions of OS and all.
Posted by: ekniranjan 14 years ago
Purple Belt
0
Yuvaraj,
That's really nice & i started working on that script. But i need to write some different script like Autoit or .IPF or any .VBS.
We are just check the previous version and OS. If previous version exists then we delete through script and then install new on 8.5.1 checking against OS.
RIght now am trying to convert your script logic into VBS or Autoit. If you have any info on that, that's really appreciated. Once again thanks.
Posted by: Yuvaraj_Subramanian 14 years ago
Senior Purple Belt
0
Hi Annuj,

The script i have added is a vbscript only.

Regards,
Yuvi.
Posted by: anonymous_9363 14 years ago
Red Belt
0
Forgive me, no offence intended, but appending text is a bit of an amateurish way to write to an INI file. What happens if the section or value/data pair already exists in the file? I'll bet IBM's handling of that scenario would be....interesting.

Go to JSWare's site, grab the class pack which includes the INI file class and use that.
Posted by: ekniranjan 14 years ago
Purple Belt
0
Yeah Yuvraj,
That is VBS i know that, but the logic which you use is some what differ for me in my firm. SO am trying to convert it.
I don't need file copying and other stuff. Just i need OS check up and Uninstall previous versions.
Sorry to confuse you.
Posted by: Yuvaraj_Subramanian 14 years ago
Senior Purple Belt
0
Hi Annuj,

Ok thats fine. All thebest and let me know if any issues.

Regards,
Yuvaraj.
Posted by: ekniranjan 14 years ago
Purple Belt
0
Thank you so much. Get back to you with a bunch of question! Ha Ha .....Just kidding!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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