PDA

View Full Version : Generating a PreReq from an MSI



kirants
07-14-2008, 02:30 PM
I have a requirement where an MSI A is invoked by another installer B. As such the MSI A is generated at runtime , and the main installer B than invokes this also is generated at runtime, the input to this being the MSI A.

Given this requirement, since the installer B chains multiple MSIs, we need to use the PreReqs for each of these. Is there a way to crank these PreReqs using a command line or something of that sort ?

RobertDickau
07-15-2008, 05:45 PM
The .prq file should list the path to the MSI file for the prerequisite (in the LocalFile element, I seem to recall); after you build A.msi, can you copy it to the location specified in the prerequisite definition?

kirants
07-15-2008, 07:03 PM
Thanks a lot for your input. Copying an MSI to a specific location will not be a problem. However, once placed there, is there a command line way of kicking off an update of the Prereq using the newly built MSI ?

kirants
07-16-2008, 12:00 PM
RobertDickau, thanks for the hint. I think I see what you are saying.

All this while I thought thr prq was self contained, but it seems it just references the MSI and just swapping out the MSIs from that fixed location would work for me.

Thanks again. This thread is now resolved.

RobertDickau
07-16-2008, 12:12 PM
I'm glad it worked---and thank you for posting a follow-up!