Thank you for replying....
The problem is the msiProperty itself. The Value of the MSINEWINSTANCE is
not based on 1 or 0.
If you use msiexec.exe and place MSINEWINSTANCE=[0/1] it will fail to
uninstall.
Example:
To install a instancetransform MyApp1:
msiexec.exe /i L:\bldtools\Setup\DVD\RAD2D\MyInstallation MSINEWINSTANCE=1
TRANSFORMS=:MyApp1 INSTALLFOLDER=c:\app\MyApp1
(Note: It will fail to install without the MSINEWINSTANCE.)
If I decide to uninstall doing this :
msiexec.exe /x L:\bldtools\Setup\DVD\RAD2D\MyInstallation MSINEWINSTANCE=0
TRANSFORMS=:MyApp1 INSTALLFOLDER=c:\app\MyApp1
This will fail.
If I do this :
msiexec.exe /x L:\bldtools\Setup\DVD\RAD2D\MyInstallation TRANSFORMS=:MyApp1
INSTALLFOLDER=c:\app\MyApp1
this will succeed.
In Wix, I don't know how to tell wix to apply the msiProperty or not apply
msiProperty.
Example: (Bootstrapper code snippet)
<Chain>
<MsiPackage Id="MyInstall1" InstallSize="112640" Cache="yes"
Compressed="no" Name="MyInstall1"
SourceFile="L:\bldtools\Setup\DVD\RAD2D\MyInstallation.msi" Vital="yes">
<MsiProperty Name="MSINEWINSTANCE" Value="1"/>
<MsiProperty Name="INSTALLFOLDER" Value="c:\app\MyApp1"/>
<MsiProperty Name="ARPSYSTEMCOMPONENT" Value="1"/>
<MsiProperty Name="INSTALLLEVEL" Value="20"/>
<MsiProperty Name="TRANSFORMS" Value=":MyApp1"/>
</MsiPackage>
</Chain>
It would seem to me that the issue to uninstall a multi-instancetransform
would be already addressed...but All I get is Microsoft telling me there is
no reason to use MSINEWINSTANCE and yet WIX I cannot install correctly
without it and then I cannot repair or uninstall...and right now I am
guessing patches dont' work either have not gotten that far yet.
It is very frustrating. I am even trying to step through WIX toolkit core
code...knowing that I don't want to change anything in it. But realizing
that I may not be able to resolve this volcano.
As I said I am new to installer, so I was wondering if I can some how use
wix to create transforms that are not instance transforms. I have yet to
find a example of a typical transform...I am not talking about the mst file
itself...I mean the embedded transform in the msi that the mst applies too?
I don't even know all the terms. I have tried to use torch.exe to generate
a .mst. I took my original msi and then I changed the wix source to use
the application id information for another msi I compiled and then torched
it. Got a mst but it does not work.
Or can I extract a mst from my current multi-instance transform for the
instances I want? would that work?
-----
- jon
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Creating-MultiTransform-msi-using-wix-tp7584138p7584170.html
Sent from the wix-devs mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs