Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

MSP Installation


1 reply to this topic

Mayank

Mayank
  • Full Members
  • 16 posts

Posted 24 December 2010 - 14:59


Hi,

I've created MSP for patch installation, i am not hitting any error during patch installation but patch is not updating most of the files.
I am setting REINSTALLMODE to vomus and setting REINSTALL=”ALL” from command for patch installation which should resolve to
REINSTALL=”Feature1,Feature2.. All Installed Features” but in my case it’s resolving as below
MSI (s) (78:64) [23:35:41:861]: PROPERTY CHANGE: Adding REINSTALL property. Its value is 'qckbld,station,config_studio,dspbld,netapi,odbcclnt,point_browser,shapelib,Clnt_COM_Components'.
Windows installer is not adding features pcdm_cs into REINSTALL property and files belongs to pcdm_cs are not getting updated.

I tried setting REINSTALL='qckbld,station,config_studio,dspbld,netapi,odbcclnt,point_browser,shapelib,Clnt_COM_Components, pcdm_CS' from command prompt but in later stage of installation REINSTALL property gets changed as below

PROPERTY CHANGE: Adding REINSTALL property. Its value is 'qckbld,station,config_studio,dspbld,netapi,odbcclnt,point_browser,shapelib,Clnt_COM_Components'.

Hence, request of feature pcdm_cs is getting changed to local (as below)
Feature: pcdm_CS; Installed: Local; Request: Local; Action: Local

None of the files are getting installed which belongs to pcdm_CS feature. Also, I looked into install code but could not see that we are modifying REINSTALL property.

Below is the sequence of one particular file “hscopcserv3.exe” which needs to be copied in RUN directory and it belongs to pcdm_CS feature.

MSI © (68:50) [20:43:42:837]: Baseline: hscopcserv3.exe.30790ED2_1AC8_4AEC_B5AE_25BD89FA316C version for baseline at patch Native: 900.0.15.0, 3081, 1226752.
.
.
MSI © (68:50) [20:43:42:881]: Baseline: hscopcserv3.exe.30790ED2_1AC8_4AEC_B5AE_25BD89FA316C version for baseline at patch {AFA2F24B-E44E-4F37-AEE6-6B5A278A87FF}: 900.0.16.0, 3081, 1226752.
.
.
MSI © (68:50) [20:47:14:763]: Native File: hscopcserv3.exe.30790ED2_1AC8_4AEC_B5AE_25BD89FA316C ValData: 900.0.15.0 3081 1226752
.
.
MSI © (68:50) [20:47:14:774]: {AFA2F24B-E44E-4F37-AEE6-6B5A278A87FF} File: hscopcserv3.exe.30790ED2_1AC8_4AEC_B5AE_25BD89FA316C ValData: 900.0.16.0 3081 1226752
.
.
MSI (s) (F0:5C) [21:02:58:704]: Baseline: Patch {AFA2F24B-E44E-4F37-AEE6-6B5A278A87FF} modified hscopcserv3.exe.30790ED2_1AC8_4AEC_B5AE_25BD89FA316C with full-file update.
.
.
MSI (s) (F0:5C) [21:02:58:704]: Baseline: First patch for hscopcserv3.exe.30790ED2_1AC8_4AEC_B5AE_25BD89FA316C, saving native info.
.
.
MSI (s) (F0:5C) [21:02:58:704]: Baseline: hscopcserv3.exe.30790ED2_1AC8_4AEC_B5AE_25BD89FA316C version for baseline at patch Native: 900.0.15.0, 3081, 1226752.
.
.
MSI (s) (F0:5C) [21:02:58:744]: Baseline: hscopcserv3.exe.30790ED2_1AC8_4AEC_B5AE_25BD89FA316C version for baseline at patch {AFA2F24B-E44E-4F37-AEE6-6B5A278A87FF}: 900.0.16.0, 3081, 1226752.
.
.
MSI (s) (F0:5C) [21:02:58:768]: File = hscopcserv3.exe.30790ED2_1AC8_4AEC_B5AE_25BD89FA316C: Final State = Install
.
.
MSI (s) (F0:5C) [21:03:22:328]: Native File: hscopcserv3.exe.30790ED2_1AC8_4AEC_B5AE_25BD89FA316C ValData: 900.0.15.0 3081 1226752
.
.
MSI (s) (F0:5C) [21:03:22:352]: {AFA2F24B-E44E-4F37-AEE6-6B5A278A87FF} File: hscopcserv3.exe.30790ED2_1AC8_4AEC_B5AE_25BD89FA316C ValData: 900.0.16.0 3081 1226752
.
.
MSI (s) (F0:5C) [21:04:04:375]: Component: hscopcserv3.exe.30790ED2_1AC8_4AEC_B5AE_25BD89FA316C; Installed: Local; Request: Null; Action: Null; Client State: Local
.
.
MSI (s) (F0:5C) [21:04:04:378]: Component: __hscopcserv3.exe.30790ED2_1AC8_4AEC_B5AE_25BD89FA316C65; Installed: Null; Request: Null; Action: Null; Client State: Null
.
.
MSI (s) (F0:5C) [21:18:38:288]: The file represented by File table key 'hscopcserv3.exe.30790ED2_1AC8_4AEC_B5AE_25BD89FA316C' has no eligible binary patches

Please help me in resolving this.


Thanks in advance,
Mayank




Mayank

Mayank
  • Full Members
  • 16 posts

Posted 10 March 2011 - 04:22

There was some code in the installer which was changing feature state at runtime i condioned that code to not to execute during patch installation and after that MSP started working properly.