5
1
I need to unpack (not execute, unpack) a msi in a cygwin makefile.
If I invoke from the windows command prompt the following
msiexec /a package.msi /qn TARGETDIR=C:\foo
The package is correctly deployed in C:\foo. However, if I try to perform the exact same operation from the cygwin prompt
msiexec /a package.msi /qn TARGETDIR=C:\\foobaz
All I get is the msiexec window stating the usage. I can solve this problem in two ways, either running successfully msiexec as above, or by starting a windows command from the makefile, and have it invoke that operation.
Any ideas?
You don't need to extract the msi from within cygwin to extract the msi.... – Ramhound – 2014-06-06T15:05:02.933
@Ramhound: I do. The makefile has to unpack the msi somehow. – Stefano Borini – 2014-06-06T15:05:39.890
Does
TARGETDIR=/cygdrive/c/foo
give better results? – Der Hochstapler – 2014-06-06T15:13:06.733@OliverSalzburg: nope – Stefano Borini – 2014-06-06T15:13:34.463