Re: [makemsi] Re: error installing a msi made by makemsi
I just ran the msi you created in "MSIBuilds\ossec\out\OssecHIDS.MM\MSI" which I assume is the one you are having trouble with, lot of different directories so not sure:In any case on my Windows 7 64 bit OS with UAC turned off, it worked fine, if I look at the add/remove info I can see your msi's entry plus the wrapped install "OSSEC HIDS 2.5.1", there is an option to hide that.
Anyway no issue here so if you can't install it it must be environmental.
Now if I try to uninstall the package then it does fail with a 1721 (uninstall.exe /S):
Action 14:13:02: WrapInstall1_U. Uninstalling: ossec-agent-win32-2.5.1.exe
MSI (s) (0C:94) [14:13:03:001]: Executing op: CustomActionSchedule(Action=WrapInstall1_U,ActionType=1058,Source=C:\Windows\SysWOW64\,Target="C:\Program Files (x86)\ossec-agent\uninstall.exe /S",)
MSI (s) (0C:94) [14:13:03:001]: Note: 1: 1721 2: WrapInstall1_U 3: C:\Windows\SysWOW64\ 4: "C:\Program Files (x86)\ossec-agent\uninstall.exe /S"
You should probably try setting the current directory "WorkDirU". In any case I just tried what you are doing myself (while dialog is still up):C:\> cd C:\Windows\SysWOW64\C:\Windows\SysWOW64> "C:\Program Files (x86)\ossec-agent\uninstall.exe /S"The directory name is invalid.Which is trueish... This is the faulty line in your code ("UninstallArgs" not used):UNINSTALLEXE="[INSTALLDIR]uninstall.exe /S"You are creating this as a framework for others? The doco has me a bit confused. If so I do not recommend changing ANY of the ".mmh" files that MAKEMSI installs:
On 18 October 2011 05:31, jason.youngquist wrote:
> Tried it on XP, and still had the same issue. I sent you a private email with all of the files I've been working with zipped up.
> Jason Youngquist