Need to do custom action with an MSI + MST.
I used ; "Install MSI from Relative path"
a) Custom action name : action
b) Installation to run : [path]MyMSI.msi
c) Property settings: TRANSFORMS=[path]myMST.mst

got an error during the installation on my custom action. Im pretty sure its my MST syntax.

*Tried to merge my MST in my msi with MSITRAN.exe , it doesnt work (vendor msi)

any suggestions ?
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 Yannick,
where did you call this 'Custom Action'?
Be aware, that only on MSI setup can be started at a certain time.
That means, your CA only runs from the 'InstallUISequence' table or from the 'InstallExecuteSequence' if your action is called after 'InstallFinalize'!
Can you live with this restrictions?
Regards, Nick
Answered 11/07/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Guys, it really not work on my side. Is somebody has a .WSE example with a MSI inlcude in an other MSI via a custom action like Inst MSI from relative path. It compile correctly but the msi attached in my original msi start with an error. I insert it after the InstallFinalize CA.

Where I can get a simply example of that ?
[email=yannick_bouchard@hotmail.com]yannick_bouchard@hotmail.com[/email]

thks
Answered 11/12/2007 by: princecraft
Orange Belt

Please log in to comment
0
Hi Yannick,
tell us the hole line, which is being inserted into the CA table.
Use table mode to see that or even better open the resulting MSI in ORCA.
Regards, Nick
Answered 11/12/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Install MSI from Relative Path

*Details tab
Custom Action Name : ACTION1
Installation to Run : C:\test\orca.msi ( file present on my test wks)
property settings : <none>

*Location tab
Sequence : Normal execute Immediate/Deferred
.
..
...
InstallFinalize
ACTION1 [no condition]
RemoveExistingProducts
WiseCleanup


*Properties Tab
in-Script options : Immediate Execution
Processins : Synchronous
Scheduling Option : Always Execute


Error message that I have :
Installer Information
Error 1713. Test cannot install one of its required products. Contact your technical support group.
Answered 11/12/2007 by: princecraft
Orange Belt

Please log in to comment
0
Hi Yannick,
your settings produce a so called "nested installation", which nowadays is strongly discouraged by MS.
In the actual SDK docu, they are not mentioned anymore.
If you want walk this route anyway, read this: http://support.microsoft.com/kb/306439.
Other ways, change the CA to one oft the the "Execute Program from..." CA's.
you need to make this CA asynchronous and set it to "no wait fo completion".
That would mean: To call a line like this "msiexec /i "property of the installed.msi file".
Hope this gives you some ideas.
Regards, Nick
Answered 11/12/2007 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
Nick,

Thanks it worked with Install program from Destination.
I selected ASYNC,NO WAIT. If not my MSI pop me a msg saying that an ohter process is already running.
New poblem ; I have 6 MSI to merge in one MSI !
Because I selected Async,No Wait, My master MSI is close. Then it can not start the 5 other MSI. Or it will start it in parralle (not good).

Any idea instead of opening all vendor MSI and add to each of them a CA calling the other one?
Answered 11/12/2007 by: princecraft
Orange Belt

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