Discussion:
editing msi to set a custom action for a silent install
(too old to reply)
Paul McGeoghan
2008-08-26 10:46:01 UTC
Permalink
Hi,

I need to modify an MSI which I have open using Orca.

The custom action SETALLUSERSPROFILE2K is present only in the "UI" sequence.

I have been told by the manufacturer that I need set this action to execute
during a silent install as well but no other info than that.

Where I need to add the custom action using Orca?

In the table InstallUISequence, I can see the custom action
SETALLUSERSPROFILE2K which has condition VersionNT >= 500 and Sequence 990

Also, in the CustomAction table, there is action SETALLUSERSPROFILE2K, type
51, source ALLUSERSPROFILE, target [%ALLUSERSPROFILE]

Thanks,
Paul
Owen Gilmore
2008-08-26 20:01:48 UTC
Permalink
On Aug 26, 3:46 am, Paul McGeoghan <Paul
Post by Paul McGeoghan
Hi,
I need to modify an MSI which I have open using Orca.
The custom action SETALLUSERSPROFILE2K is present only in the "UI" sequence.
I have been told by the manufacturer that I need set this action to execute
during a silent install as well but no other info than that.
Where I need to add the custom action using Orca?
In the table InstallUISequence, I can see the custom action
SETALLUSERSPROFILE2K which has condition VersionNT >= 500 and Sequence 990
Also, in the CustomAction table, there is action SETALLUSERSPROFILE2K, type
51, source ALLUSERSPROFILE, target [%ALLUSERSPROFILE]
Thanks,
Paul
In the InstallExecute table, insert a row. Put SETALLUSERSPROFILE2K
in Action, Condition blank, Sequence, an integer greater than that of
AppSearch but less than that of FindRelatedProducts.

Good luck!
OG
Paul McGeoghan
2008-08-27 15:27:01 UTC
Permalink
Owen,

Thanks for help.
Have done what you suggested but doesn't seem to fix the problem with the
application though. The Sequence values for Appsearch were 400 and
FindRelatedProducts was 420 so I entered a Sequence value of 410 for
SETALLUSERSPROFILE2K.

Also, tried copying the entire existing row for SETALLUSERSPROFILE2K from
InstallUISequence to InstallExecute table.

The above does seem to do what is indicated in the supplier's workaround but
still doesn't fix the problem with the application when installed via a
silent install.

Installing the msi without any switches and the problem doesn't occur.

If you are interested in the specific problem, the supplier suggestion is
detailed at:
http://support.spss.com/
login as guest and password guest and go to knowledgebase search and search
for resolution 77952.

Thanks anyhow,
Paul
On Aug 26, 3:46 am, Paul McGeoghan <Paul
Post by Paul McGeoghan
Hi,
I need to modify an MSI which I have open using Orca.
The custom action SETALLUSERSPROFILE2K is present only in the "UI" sequence.
I have been told by the manufacturer that I need set this action to execute
during a silent install as well but no other info than that.
Where I need to add the custom action using Orca?
In the table InstallUISequence, I can see the custom action
SETALLUSERSPROFILE2K which has condition VersionNT >= 500 and Sequence 990
Also, in the CustomAction table, there is action SETALLUSERSPROFILE2K, type
51, source ALLUSERSPROFILE, target [%ALLUSERSPROFILE]
Thanks,
Paul
In the InstallExecute table, insert a row. Put SETALLUSERSPROFILE2K
in Action, Condition blank, Sequence, an integer greater than that of
AppSearch but less than that of FindRelatedProducts.
Good luck!
OG
Dennis Bareis
2008-08-28 08:51:12 UTC
Permalink
Hi,
Post by Paul McGeoghan
Owen,
Thanks for help.
Have done what you suggested but doesn't seem to fix the problem with the
application though. The Sequence values for Appsearch were 400 and
FindRelatedProducts was 420 so I entered a Sequence value of 410 for
SETALLUSERSPROFILE2K.
If it were me I'd try 990 as per the InstallUISequence value, as I have no idea
of sequencing in that msi I'd try keeping it the same first. Other than that you might need
to keep moving up until it works.

Bye,
Dennis
Dennis Bareis [Microsoft MVP] (***@KillSpam.gmail.com)
http://dennisbareis.com/
Freeware Windows Installer creation tool (+ "ORCA automation"):
http://makemsi.dennisbareis.com/
Owen Gilmore
2008-09-03 00:09:37 UTC
Permalink
On Aug 27, 8:27 am, Paul McGeoghan
Post by Paul McGeoghan
Owen,
Thanks for help.
Have done what you suggested but doesn't seem to fix the problem with the
application though. The Sequence values for Appsearch were 400 and
FindRelatedProducts was 420 so I entered a Sequence value of 410 for
SETALLUSERSPROFILE2K.
Also, tried copying the entire existing row for SETALLUSERSPROFILE2K from
InstallUISequence to InstallExecute table.
The above does seem to do what is indicated in the supplier's workaround but
still doesn't fix the problem with the application when installed via a
silent install.
Installing the msi without any switches and the problem doesn't occur.
If you are interested in the specific problem, the supplier suggestion is
detailed at:http://support.spss.com/
login as guest and password guest and go to knowledgebase search and search
for resolution 77952.
Thanks anyhow,
Paul
On Aug 26, 3:46 am, Paul McGeoghan <Paul
Post by Paul McGeoghan
Hi,
I need to modify an MSI which I have open using Orca.
The custom action SETALLUSERSPROFILE2K is present only in the "UI" sequence.
I have been told by the manufacturer that I need set this action to execute
during a silent install as well but no other info than that.
Where I need to add the custom action using Orca?
In the table InstallUISequence, I can see the custom action
SETALLUSERSPROFILE2K which has condition VersionNT >= 500 and Sequence 990
Also, in the CustomAction table, there is action SETALLUSERSPROFILE2K, type
51, source ALLUSERSPROFILE, target [%ALLUSERSPROFILE]
Thanks,
Paul
In the InstallExecute table, insert a row.  Put SETALLUSERSPROFILE2K
in Action, Condition blank, Sequence, an integer greater than that of
AppSearch but less than that of FindRelatedProducts.
Good luck!
OG- Hide quoted text -
- Show quoted text -
Yeah, I did look at that and it appears that they admit to having some
problems with whatever shell they are using to run the MSI with,
(installshield?)

this is the very simplest type of custom action, it simply sets the
property ALLUSERSPROFILE (source ), to the target [%ALLUSERSPROFILE] -
the % denotes an environment variable. Thus, there's no reason I can
see why this should not work. It also mentions spsscom.ini - Is this
file in the installation source directory with the MSI file? How is
the msi run, with a setup.exe and an INI file or are you running
msiexec?

It also says "Reinstalling the application may fix this problem" Does
it? Maybe you could put a shell in to repair it.

Also it says functionality has been corrected in SPSS 17.
Is that available to you?

Loading...