Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
345 views
in Technique[技术] by (71.8m points)

wix3.5 - msiexec /a deploying .msi file[WIX]

I have been asked to only deploy files that are bundled into MSI package. MSI contains 4 files, For that I'm using this command:

`msiexec /a [path to MSI] TARGETDIR =[Application folder path]`

Problem with above command is that it also deploys .MSI file to specified TARGETDIR which i don't want. Is there any workaround/way that i can only deploy that 4 files?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Not to my knowledge, no. This is an administrative installation, and it is essentially just an extraction of the files embedded in the MSI file along with the MSI file itself - now adjusted to use external source files for installation, and without embedded cab files (making it much smaller than the original MSI).

This extracted folder is intended to be put on the network to allow people to trigger an installation to their computers from this source folder. This allows the feature "run from source" - which allows you to run (parts of) the application directly from the network share. This is rarely used for reliability reasons - and various oddities and bugs.

Administrative installations have many other aspects and these are explained in more detail here:

Essentially it is an important feature for corporate deployment, application repackaging, patching and to ensure that repair and modify operations from Add / Remove programs run correctly - with access to the necessary source files so you don't have to run off to get your installation CDs/DVSs (back in the day), or find the original installation media in most of today's deployment scenarios. Essentially the feature is more important for corporate use than for home use.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...