creating installation package.

Hi,
Have any one worked on Landesk package builder. Iam trying to create a outlook 2003 installation package using landesk package builder. installation goes fine but when i try to run the application it comes up with the error path not find.  Can anyone please help me on this?
hsyashwanthAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

hsyashwanthAuthor Commented:
Guys,
Can any one help me on this? i dont mind if it is not a landesk package builder. My requirement is i need to create a singe EXE file, on double clicking it should install the whole application without user intervention for a single time. I am trying to install outlook 2003 and we need to click next and key in the CD key and all the stuff. I want to do this for a single time and create a package, so that end user should only double click the file and application should get installed.. any one who can help me?
0
hsyashwanthAuthor Commented:
Any help please?
0
mirtheilSoftware DeveloperCommented:
If you're trying to make an unattended install of Office 2003, you might want to look at http://unattended.msfn.org/unattended.xp/view/web/50/
I've used the guide as part of an unattended XP CD/DVD.  
0
matrixnzCommented:
Hi hsyashwanth

Here's some instructions I wrote for the company I work for this allows you just to run the Office 2003 executable to install with all the appropriate settings:

Create a Directory on your computer for e.g. C:\MSOffice_2003
Copy your Office 2003 Contents from the CD to this directory.

Create a Directory on your computer for e.g. C:\MSOffice_2003\Add-Ons\MSOffice.2007\
Download MSOffice 2007 Compatibility Pack http://www.microsoft.com/downloads/details.aspx?FamilyId=941b3470-3ae9-4aee-8f43-c6bb74cd1466&displaylang=en
Save to C:\MSOffice_2003\Add-Ons\MSOffice.2007\

Download Microsoft® Office 2003 Resource Kit http://download.microsoft.com/download/0/e/d/0eda9ae6-f5c9-44be-98c7-ccc3016a296a/ork.exe
ORK.exe 7.3mb
Install selecting Complete Install using the defaults.

Download Microsoft Office ENTSetup.exe Advanced Setup.exe for Compressed Installation Images
http://download.microsoft.com/download/C/4/A/C4A1310D-4C72-40AC-B317-55347270504C/EntSetup.exe
Save this file and extract the Setup.exe to C:\MSOffice_2003 rename Setup.exe to MSOFFICE.exe

Create a Directory on your computer and download the latest updates for Office to this folder for e.g. C:\MSOffice_Updates

Extract the files using Winzip or 7zip to C:\MSOffice_2003\Files\Patches or use a commandline for e.g.
C:\MSOffice_Updates\Office2003-kb885828-client-enu.exe /c /t: C:\MSOffice_2003\Files\Patches

Rename the extracted Filename.MSP file to KBxxxxxx-Filename.MSP
For eg the Office2003-kb885828-client-enu.exe above has a MSP file MSOop.MSP
Rename the MSOop.MSP to KB885828-MSOop.MSP
You will notice updates will be in sequence starting from the Microsoft Office 2003 SP1 or SP2 depending on which version you wish to use for e.g. Office 2003 SP1 is Office2003SP1-kb842532-client-enu.exe
Why do this, because when we apply the hotfixes the OHotFix tool will apply all the MSP files in the C:\MSOffice_2003\Files\Patches folder in alphabetical order.  An problem will occur if a MSP file tries to run before another dependant update has been run, for eg, the Service Pack 1 Patch.

After all Updates have been extracted and renamed, navigate to C:\MSOffice_2003\Files\Patches\ and open the OHotFix.ini with Notepad
Note: Edit the OHotFix.ini with the following settings; Do not display the success dialog and Do not automatically reboot the computer if a reboot is required in quiet mode. (see below)

------ Start Here ------

; A final dialog can be displayed to indicate that the update was applied
; successfully.  This dialog will only be displayed if ShowSuccessDialog is
; set to 1 and OHotfixUILevel is set to n.
; 1 = Display the success dialog.
; 0 = Do not display the success dialog.
;
ShowSuccessDialog=0

; If OhotfixUILevel is set to q and IsNormalUpdate is set to 1,
; Ohotfix can automatically reboot the computer if a reboot is required
; to complete the installation.
; 1 = Automatically reboot the computer if a reboot is required in quiet mode.
; 0 = Do not automatically reboot the computer if a reboot is required
;     in quiet mode.
;
RebootInQuietMode=0

------ End Here ------

Create yourself a MST file with the Custom Installation Wizard found in Start - Programs - Microsoft Office 2003 Resource Kit
At Step 23 of 24
Select NOFEATURESTATEMIGRATION - Do not match feature states during the installation

Once completed

Open C:\MSOffice_2003\Files\Setup\
Create a copy of PRO11.XML and rename to MSOFFICE.XML
Create a copy of SETUPPRO.INI and rename to MSOFFICE.INI
Edit the MSOFFICE.INI similar to the following

------ Start Here ------

; Microsoft Office SETUP.EXE settings file.

[MSI]
; The MSI section gives the name of the MSI file to install. This file must be in
; the same folder as Setup.exe, and both must be in the root of the installation
; tree.
MSI=PRO11.MSI

[Product]
ProductCode={90110409-6000-11D3-8CFE-0150048383C9}
ProductName=Microsoft Office 2003
ProductVersion=11.0.5614.0
Recache=1

[MST]
; The MST section gives the full path to a transform that should be applied.
;MST1=\\server\share\some transform.mst
;MST1=D:\transforms\my transform.mst
MST1=MYCustom.MST

[Options]
; The option section is used for specifying individual Installer Properties.
;USERNAME=Customer
;COMPANYNAME=my company
;INSTALLLOCATION=C:\Program Files\MyApp

[Display]
; The diplay section is used for overriding the default UI
;       Value           Default         Description
;       Display         full            Option to override the default UI
;                                       [none, quiet, basic, reduced, full]
;       CompletionNotice Yes            Option to display a setup completion
;                                       notice for otherwise quiet setup
;Display=None
;CompletionNotice=Yes
Display=Basic

[Logging]
; The logging section provides settings for controlling the Setup log files.
;       Value           Default         Description
;       Type            vpiwaeo         Logging modes  
;                                       [a, c, e, i, m, o, p, r, u , v,
;                                       w, *, +]
;       Path            %TEMP%          Path to create logfiles
;       Template        SetupLog(*).txt File name for log file should end in
;                                       "(*).txt"; the * is replaced with a 4
;                                       digit number to make the file name unique
Template=Microsoft Office 2003 Setup(*).txt
Type=piwaeo
;Path=\\MyServer\logfiles\
;Template=Product %UserName%(*).txt

[MinOSRequirement]
; MinOSRequirement is used for defining the minimal OS requirement for
; installing the product.
VersionNT_1=500
WindowsBuild_1=2195
ServicePackLevel_1=3

[Cache]
; The cache section provides settings for caching the install source locally
;       Value           Default         Description
;       CDCACHE            2             Option to specify cache level
;                                       [auto, 0, 1, 2]
;       LOCALCACHEDRIVE <predefined>    Option to specify a drive to cache
;                                       the install source to
;       DELETABLECACHE  1                Option to display UI to remove the
;                                       cache at the end of setup [0,1]
;       PURGE           0               Option to always remove cache at end of
;                                       setup [0,1]
CDCACHE=2
;LOCALCACHEDRIVE=C:\
DELETABLECACHE=0
PURGE=0
ENFORCECACHE=1


[OfficeWebComponents]
MSI=OWC11.MSI

; Note if you wish to install the MSOffice 2007 Compatibility Pack than you can do it within the install itself just uncomment the following 4 lines
[ChainedInstall_1]
PATH=\Add-Ons\MSOffice.2007\FileFormatConverters.exe
TASKTYPE=exe
CMDLINE=/quiet

[ChainedInstall_2]
PATH=\FILES\Patches\OHotFix.exe
TASKTYPE=exe

------ End Here ------

Now save the C:\MSOffice_2003\ folder to \\SERVER\SHARE\, now all you need to do is run MSOFFICE.EXE no switches, because this is handled from the MSOFFICE.INI file.

In addition to the information above for your Exchange Information please use the following:

Step 17 of 24 Customize Default Profile
Select New Profile
Type Profile Name: CustomPRF

Click Next to continue

Step 18 of 24 Specify Exchange Settings
Select Configure an Exchange Server connection
Type User Name: %UserName%
Type Exchange Server: \\Exchange\Domain.com

Click More Settings

Step 18 of 24 Specify Exchange Settings
Leave Blank

Click OK and Next to Continue

Step 19 of 24 Outlook Add Accounts
Select Do not customize Outlook profile and account information

Click Next to continue

Step 20 of 24 Remove Accounts and Export Settings
Click Export Profile Settings& button

Step 20 of 24 Remove Accounts and Export Settings
Type File name: CustomPRF.PRF to C:\Program Files\Microsoft Office\ Directory
Click Save

-------------------------------------------------------------------------------

Open Windows Explorer
Navigate to C:\Program Files\Microsoft Office\ and open the CustomPRF.PRF with Notepad

In order to avoid creation of duplicate profile entries, the following is required in Section 1 of the PRF file

Note: Edit the CustomPRF.PRF with the following settings:
[General]
BackupProfile=No

;Automatically generated PRF file from the Microsoft Office Customization and Installation Wizard

; **************************************************************
; Section 1 - Profile Defaults
; **************************************************************

[General]
BackupProfile=No
Custom=1
ProfileName=CustomPRF
DefaultProfile=Yes
OverwriteProfile=Yes
ModifyDefaultProfileIfPresent=FALSE

-------------------------------------------------------------------------------

Click Back x 9 to Step 11 of 24 to continue

Step 11 of 24 Add/Remove Files
Click Add&

Navigate to and select CustomPRF.PRF from C:\Program Files\Microsoft Office\ Directory
Click Add

Select <ProgramFiles\Microsoft Office> from Destination path on the users computer: drop down list.

Click OK
Click Next x 6 to Step 17 of 24 to continue

Step 17 of 24 Customize Default Profile
Select Apply PRF:
Type Apply the following profile (PRF file): C:\Program Files\Microsoft Office\CustomPRF.PRF

Click Next to continue

Step 21 of 24 Customize Default Settings
Tick Customize Outlook e-mail defaults
Select Default e-mail editor: Outlook
Select Default e-mail format: html

Click Next to continue

Step 22 of 24 Outlook: Specify Send/Receive Group Settings (Exchange Only)
Select Do not configure Send/Receive Settings

Click Next to continue

Now you can push this out to all your clients via login script or a shortcut with the following command.

Outlook.exe /importPRF \\Server\Share\CustomPRF.PRF

All Done.  Cheers

Hope that helps

Cheers
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Server Hardware

From novice to tech pro — start learning today.