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!!
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
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
Answered 03/06/2007 by: KrisBcn
Purple Belt

Please log in to comment
0
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...
Answered 03/06/2007 by: gmorgan618
Blue Belt

Please log in to comment
0
KrisBcn is right... but only if the CA is being called after the "InstallFiles" action
Answered 03/06/2007 by: gmorgan618
Blue Belt

Please log in to comment
0
Hi,

Thanks for the quick response!

I'm using Wise InstallTailor to create my transform.
The CA is being called well before the InstallFiles CA so that's that idea out the window.
I am just copying that Custom Action to the InstallExecuteSequence table now.
I'll keep you posted!

Thanks again
Answered 03/06/2007 by: mark_holland21
Fourth Degree Green Belt

Please log in to comment
0
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
Answered 03/07/2007 by: mark_holland21
Fourth Degree Green Belt

Please log in to comment
0
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
Answered 03/12/2007 by: jamsek19
Orange Senior Belt

Please log in to comment
Answer this question or Comment on this question for clarity