Custom Actions run in InstallUISequence
Hi all,
I'm not sure if anyone is going to be able to help here as this seems to be specific to the Vendor msi that i am trying to create a Transform for but here goes......
The Vendor msi during install writes a file called cslswiSupport.exe into the [TEMPFOLDER] for the user installing it. I have figured out that there are Custom Actions involved in creating this file and using it to perform certain tasks during install, necessary tasks.
When I try to run my install silently I get errors complaining that it cannot find this file. I've figured out that the cause of the error is that the file isn't present because a Custom Action involved in creating/copying this file to this location has been skipped. (InstallUISequence).
After viewing many log files(many different attempts) I have figured out that when the app is run silently, the UI Sequence isn't performed and therefore many Custom Actions get left out.
My question is -
Is it viable for me to just move these Custom Actions into the InstallExecute sequence or is this fiddling a bit too much?
The Custom Actions in sequence order from the UISequence table are as follows.....
Note that there are a few that refer to the "SupprtPath" or "SupportFile".
AppSearch
Silent
Debug
CheckIfReboot
OpenBackgroundImage
SplashBitmap
InstallConditionsCheck
InstallConditions
SetSupportPath
SupportFileCheck
MissingSupportFiles
InstallationsRequiredCheck
InstallationsRequired
RegistryCreateRunOnce
ExtractSupportFiles
SetSupportExePath
Set_JRELocation
MissingAdobe
SetupInitialization
FindRelatedProducts
ValidateProductID
CostInitialize
ResolveSource
FileCost
IsolateComponents
CostFinalize
GetInstallDirFolder
GetTempFolder
MigrateFeatureStates
InstallWelcome
SetupProgress
ExecuteAction
MSISize
MSICopy
MSIDummyFilesDelete
setCompany)Name
setTomCatInstallPath
TomCatInfCreate
TomCat
SetQueingInstallPathNT
SwiftMQInfCreate
QueingInstallOnNT
I've tried moving the Custom Actions I thought would be relevant into the InstallExecute sequence table but this hasn't worked. I'm missing something.
I have a feeling that there may be one or two properties set from a dialog during install that i am missing out on.
Has anyone ever come across something similar?
Please say yes! I'm stuck!!
I'm not sure if anyone is going to be able to help here as this seems to be specific to the Vendor msi that i am trying to create a Transform for but here goes......
The Vendor msi during install writes a file called cslswiSupport.exe into the [TEMPFOLDER] for the user installing it. I have figured out that there are Custom Actions involved in creating this file and using it to perform certain tasks during install, necessary tasks.
When I try to run my install silently I get errors complaining that it cannot find this file. I've figured out that the cause of the error is that the file isn't present because a Custom Action involved in creating/copying this file to this location has been skipped. (InstallUISequence).
After viewing many log files(many different attempts) I have figured out that when the app is run silently, the UI Sequence isn't performed and therefore many Custom Actions get left out.
My question is -
Is it viable for me to just move these Custom Actions into the InstallExecute sequence or is this fiddling a bit too much?
The Custom Actions in sequence order from the UISequence table are as follows.....
Note that there are a few that refer to the "SupprtPath" or "SupportFile".
AppSearch
Silent
Debug
CheckIfReboot
OpenBackgroundImage
SplashBitmap
InstallConditionsCheck
InstallConditions
SetSupportPath
SupportFileCheck
MissingSupportFiles
InstallationsRequiredCheck
InstallationsRequired
RegistryCreateRunOnce
ExtractSupportFiles
SetSupportExePath
Set_JRELocation
MissingAdobe
SetupInitialization
FindRelatedProducts
ValidateProductID
CostInitialize
ResolveSource
FileCost
IsolateComponents
CostFinalize
GetInstallDirFolder
GetTempFolder
MigrateFeatureStates
InstallWelcome
SetupProgress
ExecuteAction
MSISize
MSICopy
MSIDummyFilesDelete
setCompany)Name
setTomCatInstallPath
TomCatInfCreate
TomCat
SetQueingInstallPathNT
SwiftMQInfCreate
QueingInstallOnNT
I've tried moving the Custom Actions I thought would be relevant into the InstallExecute sequence table but this hasn't worked. I'm missing something.
I have a feeling that there may be one or two properties set from a dialog during install that i am missing out on.
Has anyone ever come across something similar?
Please say yes! I'm stuck!!
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
KrisBcn
17 years ago
Hi Mark,
Have you checked that the support file is installed in tempfolder when installing silently?
if not, you can add it to the mst and also copy the CA to the InstallExecute Sequence...
Other thing is that the component of this file can have a condition...
Which tool are you using to transform?
KrisBcn
Have you checked that the support file is installed in tempfolder when installing silently?
if not, you can add it to the mst and also copy the CA to the InstallExecute Sequence...
Other thing is that the component of this file can have a condition...
Which tool are you using to transform?
KrisBcn
Posted by:
gmorgan618
17 years ago
You don't need to move it... you just need to add "ExtractSupportFiles" it to the InstallExecute...
Then check the conditions and remove any reference to UILEVEL=* ...
fyi - it doesn't create an exe ... there is either a zip or cab file embedded in the MSI's substorage that it is calling during this action to extract it, then most likely it is deleted.
Good luck...
Then check the conditions and remove any reference to UILEVEL=* ...
fyi - it doesn't create an exe ... there is either a zip or cab file embedded in the MSI's substorage that it is calling during this action to extract it, then most likely it is deleted.
Good luck...
Posted by:
gmorgan618
17 years ago
Posted by:
mark_holland21
17 years ago
Posted by:
mark_holland21
17 years ago
HI guys,
I figured it out.
I have decided to use the "/qr" switch which runs the installation silently but with a higher UILEVEL than if I'd used /qb.
I still had to remove a Custom Action from the sequence though. It was called InstallConditionsCheck and it was launching a window that advised not enough memory present. Not needed.
So, it's working fine now. Thanks for all the ideas.
Rgds,
Mark
I figured it out.
I have decided to use the "/qr" switch which runs the installation silently but with a higher UILEVEL than if I'd used /qb.
I still had to remove a Custom Action from the sequence though. It was called InstallConditionsCheck and it was launching a window that advised not enough memory present. Not needed.
So, it's working fine now. Thanks for all the ideas.
Rgds,
Mark
Posted by:
jamsek19
17 years ago
Hello.
If you run installation silently (switch /q) whole or mostly all InstallUI sequence table is skipped. Therefore you have to plan this when you creates a package: you need to set up the same action in both tables InstallUI and InstallExecute Sequence and mark those action with special flag "execute only once" which means that if you run regularly - with UI, action from InstallUI sequence will be run and action from InstallExecute sequence will be skipped. Otherwise, for silent install just action in InstallExecute sequence will be run.
Best regards
Andreo
If you run installation silently (switch /q) whole or mostly all InstallUI sequence table is skipped. Therefore you have to plan this when you creates a package: you need to set up the same action in both tables InstallUI and InstallExecute Sequence and mark those action with special flag "execute only once" which means that if you run regularly - with UI, action from InstallUI sequence will be run and action from InstallExecute sequence will be skipped. Otherwise, for silent install just action in InstallExecute sequence will be run.
Best regards
Andreo
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.