![]() when you enclose the whole variable/filename in quotation marks (as above), you can have spaces in the path and/or the msi file name without any troubles.ģ. ![]() %~dp0 - returns the current path where this very bat file is (and where the msi and the mst files are too.)Ģ. Msiexec /i "%~dp0MyMsiInstall.msi" TRANSFORMS="%~dp0MyTransform.mst"ġ. Instead, I always create this simple bat file and keep it together with the Off Msiexec /i \MyInstall.msi /t \MyTransform.mst Normally I'd need to browse to the network share and manually enter (or drag/drop) in Start/Run: The following is more useful when you have and MSI and an MST that are giving you hassle.Įvery now and again I need to execute an MSI and an MST from a previously unknown network location - for instance SMS distribution share, Altiris deployment server etc.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |