» »

WiX, dark.exe

WiX, dark.exe

DubleG ::

Z dark.exe hočem odpakirati .msi, katere datoteke bi potem uporabil v končnem msiju.
Zaženem s parametri:

dark.exe "Manager.msi" -sct -sdet -sras -sui -x "Manager_Files" -o "Manager.wxs"


dark.exe(0,0): warning DARK1065: The AdvtUISequence table is not supported by the Windows Installer XML toolset because it has been deprecated by the Windows Installer team. Any information in this table will be left out of the decompiled output.

Manager.msi(0,0): warning DARK1062: The ModuleSignature table can only be represented in Windows Installer XML for merge modules. The information in this table will be left out of the decompiled output.

Manager.msi(0,0): warning DARK1062: The ModuleComponents table can only be represented in Windows Installer XML for merge modules. The information in this table will be left out of the decompiled output.

Manager.msi(0,0): warning DARK1066: The MsiPatchHeaders table is added to the install package by a transform from a patch package (.msp) and not authored directly into an install package (.msi). The information in this table will be left out of the decompiled output.

Manager.msi(0,0): warning DARK1066: The Patch table is added to the install package by a transform from a patch package (.msp) and not authored directly into an install package (.msi). The information in this table will be left out of the decompiled output.

Manager.msi(0,0): warning DARK1066: The PatchPackage table is added to the install package by a transform from a patch package (.msp) and not authored directly into an install package (.msi). The information in this table will be left out of the decompiled output.

dark.exe(0,0): warning DARK1058: The AdvtExecuteSequence table contains an action 'MsiUnpublishAssemblies' which is not allowed in this table. If this is a standard action then it is not valid for this table, if it is a custom action or dialog then this table does not accept actions of that type. This action will be left out of the decompiled output.

Microsoft Ÿ Windows Installer Xml Decompiler version 3.5.1923.0


Berem sicer, da je to bug... ampak nekako se ga mora dat zaobit.

Lp
GA-P55M-UD2,i5,12GB RAM,Radeon HD 4850,Crucial SSD 64GB,
WD 320GB,WD 5000GB,RevoDrive X2 100GB
  • spremenil: DubleG ()

DubleG ::

VS 2010 je nekako rešil ta problem.
GA-P55M-UD2,i5,12GB RAM,Radeon HD 4850,Crucial SSD 64GB,
WD 320GB,WD 5000GB,RevoDrive X2 100GB

DubleG ::

Na dialogu DirectoryBrowse od WiXa pošljem triger za custum action
<Publish Event="DoAction" Value="DataBaseConnectionString">1</Publish>


 <Binary Id="DB" SourceFile="DB.exe"/>
 <CustomAction Id="DataBaseConnectionString" BinaryKey="DB" ExeCommand="" Execute='immediate'/>


To mi odpre APP, napisan v C#. Podatke, ki bi jih ta DB.exe vrnil, bi potreboval na DirectoryBrowse dialogu, da bi na koncu vedel, kaj namestiti. Kako se to počne?
GA-P55M-UD2,i5,12GB RAM,Radeon HD 4850,Crucial SSD 64GB,
WD 320GB,WD 5000GB,RevoDrive X2 100GB

DubleG ::

Bom še četrti post napisal :)

C#/DTF vam preko MakeSfxCA zbuilda CustomAction1.CA.dll ki ga kot custom action zaženete
 <CustomAction Id="someID" BinaryKey="someKey" DllEntry="CustomAction1" Execute="immediate"  />
    <Binary Id="someKey" SourceFile="CustomAction1.CA.dll" />

(DllEntry je dejansko ime metode znotraj Custom Action projekta v VS)

Triger je gumb:
<Control Id="button3" Type="PushButton" Height="19" Width="83" X="186" Y="20" Text="DatabaseOptionsOff" Bitmap="yes"  >
          <Publish Event="DoAction" Value="someID">1</Publish>
        </Control>


Preko custom action projekta pa dostopate do spremenljivk seje
string povezava="bla";
session["connStr"] = povezava;

saj Product.wxs vsebuje:
 <Property Id="connStr" Value=" " ></Property>

Preko propertija pa lahko določamo tekst label in textboxov na dialogu od wixa.

Upam, da bom komu pomagal. :)

LP
GA-P55M-UD2,i5,12GB RAM,Radeon HD 4850,Crucial SSD 64GB,
WD 320GB,WD 5000GB,RevoDrive X2 100GB


Vredno ogleda ...

TemaSporočilaOglediZadnje sporočilo
TemaSporočilaOglediZadnje sporočilo
»

Pomoč C++

Oddelek: Pomoč in nasveti
71347 (1066) samo111
»

ruter

Oddelek: Omrežja in internet
181327 (934) Blisk
»

Ubuntu netbook 10.4 in particioniranje

Oddelek: Operacijski sistemi
181939 (1651) Icematxyz
»

Debian Gnu/Linux kot workstation (strani: 1 2 3 437 38 39 40 )

Oddelek: Operacijski sistemi
1960119316 (34990) RedDrake
»

Linux / ATI Radeon / problem z driverji

Oddelek: Operacijski sistemi
131743 (1560) ahac

Več podobnih tem