cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
JesseBearden
Level 5

Help With Patch and Action: Null

I've got an installation that seems to be working fine on first install, but during a patch, two of the features switch to 'Action: Null' and therefore are not patched properly.

The Database feature has a condition on it, so maybe that is part of the issue? I didn't think the condition would be re-evaluated on a patch, and this has worked in the past anyhow. The "FileStore" feature on the other hand has no conditions, and I have no idea why it would switch.

Any help would be greatly appreciated.

[CODE]MSI (s) (2C:C4) [10:01:25:062]: Feature: Database; Installed: Local; Request: Null; Action: Null
MSI (s) (2C:C4) [10:01:25:062]: Feature: AutoCAD; Installed: Absent; Request: Null; Action: Null
MSI (s) (2C:C4) [10:01:25:062]: Feature: Plugins; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: ClientTools; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: Console; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: Admin; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: FileStore; Installed: Local; Request: Null; Action: Null
MSI (s) (2C:C4) [10:01:25:062]: Feature: IIS; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: Print; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: PrintDrivers; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: AdminDanish; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: AdminDutch; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: AdminEnglish; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: AdminFinnish; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: AdminFrench; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: AdminGerman; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: AdminItalian; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: AdminJapanese; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: AdminNorwegian; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: AdminPortuguese; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: AdminSpanish; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: AdminSwedish; Installed: Local; Request: Reinstall; Action: Reinstall
MSI (s) (2C:C4) [10:01:25:062]: Feature: AutoCADDanish; Installed: Absent; Request: Null; Action: Null
M[/CODE]

Jesse
Labels (1)
0 Kudos
(3) Replies
JesseBearden
Level 5

Well, the issue appears to be the line:

[CODE]MSI (c) (28:38) [09:59:57:546]: PROPERTY CHANGE: Adding REINSTALL property. Its value is 'Plugins,ClientTools,Console,Admin,IIS,Print,PrintDrivers,AdminDanish,AdminDutch,AdminEnglish,AdminFinnish,AdminFrench,AdminGerman,AdminItalian,AdminJapanese,AdminNorwegian,AdminPortuguese,AdminSpanish,AdminSwedish,CTDanish,CTDutch,CTEnglish,CTFinnish,CTFrench,CTGerman,CTItalian,CTJapanese,CTNorwegian,CTPortuguese,CTSpanish,CTSwedish,ConsoleDanish,ConsoleDutch,ConsoleEnglish,ConsoleFinnish,ConsoleFrench,ConsoleGerman,ConsoleItalian,ConsoleJapanese,ConsoleNorwegian,ConsolePortuguese,ConsoleSpanish,ConsoleSwedish,PrinterDanish,PrinterDutch,PrinterEnglish,PrinterFinnish,PrinterFrench,PrinterGerman,PrinterItalian,PrinterJapanese,PrinterNorwegian,PrinterPortuguese,PrinterSpanish,PrinterSwedish'.[/CODE]

It doesn't include the two features that were missing. Passing a "REINSTALL=ALL" on the command line fixed it, but it'd be nice if I could do that without a command line.

What's the normal way to set those for an msp? Why is it leaving those 2 features out by default?

Jesse
0 Kudos
JesseBearden
Level 5

For anyone curious, I finally figured out what this issue was... mostly.

Our SQL scripts aren't versioned, and are designed to always run. They take care of versioning issues internally.

My "Database" feature doesn't have any real files in it, just SQL scripts. It therefore doesn't have any key files. When this update is run as a patch, the "Database" feature isn't set to reinstall. Oddly enough, in minor upgrade situation it is set to "Reinstall=ALL"

If I drop any kind of versioned binary in with my "Database" feature, then things work as intended.

I'm not really sure if this is how it's designed to work. It seems like a bug, but I'm not sure who's it would be.
0 Kudos
Kelter
Level 10

Installed: Is the current state of the component
Request: Is the result of evaluating feature and component conditions and the current state of the component (installed).
Action: Is the result of the above with regard to file overwriting rules. These are thus: If both are versioned, the higher version wins. If one is not versioned, the versioned file wins. If neither are versioned, newer file wins.
0 Kudos