Re: [WiX-users] Using dark on a MSI generated with WixUI

2006-10-19 Thread Jarl Friis
Bob Arnson <[EMAIL PROTECTED]> writes:

> Jarl Friis wrote:
>> That's pretty smart. But it seems to be a little too smart. Because if
>> I modify some UI stuff with Orca, and then darken it, it *incorrectly*
>> detects that the user interface is WixUI_Mondo. It is not WixUI_Mondo,
>> it is a *modified* version of WixUI_Mondo, so building the MSI file
>> back, will not include these changes.
>>
>
> The decompiler uses the presence of a WixUI_Mode property to detect
> when WixUI is being used. If you modify a standard WixUI set, you need
> to change the WixUI_Mode value if you want the decompiler to work as
> expected. And then you need to make sure there are no other conditions
> in the WixUI dialogs that will break if you change the value.

Thanks for explaining. Really cool.

As I also wrote, I can disable that smart detection by removing the
UIExtension in dark.exe.config.

Here is a Feature Request: A command line option to generate full UI
source code (independent of the value of this property).

Jarl

-- 
Jarl Friis
Softace ApS
Omøgade 8, 2.sal
2100 København Ø.
Denmark
Phone:  +45 26 13 20 90
E-mail: [EMAIL PROTECTED]
LinkedIn: https://www.linkedin.com/in/jarlfriis


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using dark on a MSI generated with WixUI

2006-10-19 Thread Bob Arnson
Jarl Friis wrote:
> That's pretty smart. But it seems to be a little too smart. Because if
> I modify some UI stuff with Orca, and then darken it, it *incorrectly*
> detects that the user interface is WixUI_Mondo. It is not WixUI_Mondo,
> it is a *modified* version of WixUI_Mondo, so building the MSI file
> back, will not include these changes.
>   

The decompiler uses the presence of a WixUI_Mode property to detect when 
WixUI is being used. If you modify a standard WixUI set, you need to 
change the WixUI_Mode value if you want the decompiler to work as 
expected. And then you need to make sure there are no other conditions 
in the WixUI dialogs that will break if you change the value.

-- 
sig://boB
http://bobs.org



-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using dark on a MSI generated with WixUI

2006-10-19 Thread Jarl Friis
Rob Mensching <[EMAIL PROTECTED]> writes:

> That's a thing Derek did a long time ago.  The decompiler is "smart"
> and puts in what you need to just refer to the .wixlib again.

That's pretty smart. But it seems to be a little too smart. Because if
I modify some UI stuff with Orca, and then darken it, it *incorrectly*
detects that the user interface is WixUI_Mondo. It is not WixUI_Mondo,
it is a *modified* version of WixUI_Mondo, so building the MSI file
back, will not include these changes.

> If you're looking for the source code of the Mondo UI, then just
> look in wix\src\ui\ext\UIExtension\wixlib.

Thanks. Well I guess I was just playing with the tools. In case others
are interested, I figured out that you can disable the UIExtension by
modifying the dark.exe.config (that will result in the UI being part
of the resulting wxs file.

Jarl

-- 
Jarl Friis
Softace ApS
Omøgade 8, 2.sal
2100 København Ø.
Denmark
Phone:  +45 26 13 20 90
E-mail: [EMAIL PROTECTED]
LinkedIn: https://www.linkedin.com/in/jarlfriis


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using dark on a MSI generated with WixUI

2006-10-19 Thread Rob Mensching
That's a thing Derek did a long time ago.  The decompiler is "smart" and puts 
in what you need to just refer to the .wixlib again.  If you're looking for the 
source code of the Mondo UI, then just look in 
wix\src\ui\ext\UIExtension\wixlib.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jarl Friis
Sent: Thursday, October 19, 2006 6:07 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Using dark on a MSI generated with WixUI

I just tried to craete a small MSI using WixUI_Mondo, then revert it
using dark.exe

When I use dark on that MSI, I am surprised to see that it has a
 element.

How can that be? I expected everything to be compiled into MSI
database tables, leaving no trace of how the information got there and
then when darkend. Using dark, these tables would then be reverse
engineered into a wxs file, everything specified in the resulting wxs
file. But somehow it assumes that the MSI has been generated with WixUI_Mondo

I even tried to change a few things using Orca, still it darkens to a
 element.

Can someone explain?

I am using Version 3.

jarl

--
Jarl Friis
Softace ApS
Omøgade 8, 2.sal
2100 København Ø.
Denmark
Phone:  +45 26 13 20 90
E-mail: [EMAIL PROTECTED]
LinkedIn: https://www.linkedin.com/in/jarlfriis




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Using dark on a MSI generated with WixUI

2006-10-19 Thread Jarl Friis
I just tried to craete a small MSI using WixUI_Mondo, then revert it
using dark.exe

When I use dark on that MSI, I am surprised to see that it has a 
 element.

How can that be? I expected everything to be compiled into MSI
database tables, leaving no trace of how the information got there and
then when darkend. Using dark, these tables would then be reverse
engineered into a wxs file, everything specified in the resulting wxs
file. But somehow it assumes that the MSI has been generated with WixUI_Mondo

I even tried to change a few things using Orca, still it darkens to a
 element.

Can someone explain?

I am using Version 3.

jarl

-- 
Jarl Friis
Softace ApS
Omøgade 8, 2.sal
2100 København Ø.
Denmark
Phone:  +45 26 13 20 90
E-mail: [EMAIL PROTECTED]
LinkedIn: https://www.linkedin.com/in/jarlfriis




-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users