Re: [WiX-users] Wix Burn LogoFile doesn't work on Windows XP

2012-04-01 Thread Neil Sleightholm
Long shot but is your icon file a valid icon on Windows XP? Try copying it to 
an XP machine and assigning it to a shortcut. I seem to remember that the bit 
depth, icon size or alpha channel changed after Windows XP.

Neil

-Original Message-
From: Wesley Manning [mailto:wmann...@dynagen.ca] 
Sent: 29 March 2012 16:23
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Wix Burn LogoFile doesn't work on Windows XP

Hi,

I create a burn exe and as long as I don't specify a LogoFile attribute for 
the bal:WixStandardBootstrapperApplication element I have no problems.  But 
when I do add this attribute it works fine on Windows 7 but does not work on 
Windows XP.  On XP the GUI does not even load.

In the log I get:
 [07D8:081C][2012-03-29T12:16:16]: Error 0x8007000d: Failed to load theme 
controls.
[07D8:081C][2012-03-29T12:16:16]: Error 0x80004005: Failed to create main 
window.
[07D8:080C][2012-03-29T12:16:16]: Shutting down, exit code: 0x80004005

My XML is below.  The only difference in the XML between the two cases is the 
LogoFile attribute.  I also tried to use a Payload element for image as I seen 
a post by someone else using a custom theme but it didn't make a difference.

Bundle Name=Dynagen Configurator Version=0.9.0.0 Manufacturer=Dynagen 
Technologies Inc. UpgradeCode=e5ce911c-cae5-43f8-b11e-878989f1fec5
  IconSourceFile=$(var.ConfigExePath)\DynagenProgramIcon.ico 
HelpUrl=www.dynagen.ca 
  Condition=NOT ( ((VersionNT=600) OR ((VersionNT=501) AND 
(ServicePackLevel=3))) AND (VersionMsi=301) )
  

BootstrapperApplicationRef
  Id=WixStandardBootstrapperApplication.HyperlinkLicense
  
  bal:WixStandardBootstrapperApplication
LogoFile=$(var.ConfigExePath)\DynagenProgramIcon.ico
LicenseUrl=http://www.dynagen.ca;
SuppressOptionsUI=yes
/
  !--  --
  !--Payload SourceFile=$(var.ConfigExePath)\DynagenProgramIcon.ico/--
/BootstrapperApplicationRef

Chain
  PackageGroupRef Id='Netfx4Full' /
  PackageGroupRef Id=VS2010_Cpp/
  PackageGroupRef Id=Shell_Installer/
/Chain

/Bundle

A bug or am I doing something wrong?

Wes Manning


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure 
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix Burn LogoFile doesn't work on Windows XP

2012-04-01 Thread Milan Kaše
Try to use PNG image format for the LogoFile instead of the ICO format.

--
Milan
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] upgrade didn't remove the earlier product from ARP

2012-04-01 Thread Bob Arnson
On 29-Mar-12 07:31, Kyle Lee wrote:
 However, if I upgrade Office from Office 2003 to Office 2007 and then
 perform the MSI upgrade, not only Word 2003 feature / Word 2007 feature
 were installed, but also there are two entries (MyProduct v1.0 and
 MyProduct v2.0) in ARP. If I tried to uninstall v1.0 in ARP, it seemed to
 uninstall it, but if I refresh ARP, v1.0 re-appears, so I couldn't even
 uninstall v1.0.
http://www.joyofsetup.com/2008/05/16/make-sure-features-are-always-enabled-so-they-can-be-removed/

-- 
sig://boB
http://joyofsetup.com/


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix Burn LogoFile doesn't work on Windows XP

2012-04-01 Thread Bob Arnson
On 01-Apr-12 05:57, Milan Kaše wrote:
 Try to use PNG image format for the LogoFile instead of the ICO format.
Yep: LogoFile uses GDI+ to load the image and GDI+ doesn't support icons.

-- 
sig://boB
http://joyofsetup.com/


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Burn Theme

2012-04-01 Thread Wesley Manning
One thing I found with themes is that you have to do a rebuild.  A build will 
not pick up any changes to the theme.xml file.

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: March-30-12 12:44 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Burn Theme

ThmViewer.exe might help as well. It isn't perfect right now but it can rapidly 
speed up thm development.

On Thu, Mar 29, 2012 at 12:12 PM, robert_h_yang robert_y...@non.agilent.com
 wrote:

 I started tinkering with this, and got something like this to work :

BootstrapperApplicationRef
 Id=WixStandardBootstrapperApplication.RtfLicense
  bal:WixStandardBootstrapperApplication
  LicenseFile=license.rtf
  LogoFile=mylogo.bmp
  SuppressOptionsUI=yes
  ThemeFile=mytheme.xml
  LocalizationFile=mytheme.wxl
  /
  Payload Name=myico.ico Compressed=yes
 SourceFile=application.ico/
/BootstrapperApplicationRef

 Some explanation below :

 1. Some theme files can be found in the source under 
 src\ext\BalExtension\wixstdba\Resources

 2. I hacked up RtfTheme.[xml|wxl] to come up with my own Mytheme.* -- 
 the schema is documented in the Wix 3.6 help file (as of build 2719 at least).

 3. Myico.ico is used in my theme as a custom icon for the main window.

 Staring at WixStandardBootstrapperApplication.cpp and BalCompiler.cs 
 helps, as does searching the source tree ..


 Parkes, Kevin wrote
 
  I'm exploring Burn and would like to try using my own theme with 
  WixStandardBootstrapperApplication.Foundation. I'm probably being 
  dense but I haven't managed to get anything working so far and the
 documentation
  isn't exactly extensive (yet).
  A few quick pointers as to how to get started would be much appreciated.
  Thanks



--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix Burn LogoFile doesn't work on Windows XP

2012-04-01 Thread Wesley Manning
Ok thanks, that was it.

-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: April-01-12 11:10 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wix Burn LogoFile doesn't work on Windows XP

On 01-Apr-12 05:57, Milan Kaše wrote:
 Try to use PNG image format for the LogoFile instead of the ICO format.
Yep: LogoFile uses GDI+ to load the image and GDI+ doesn't support icons.

-- 


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Wix Burn Theme problem for WixStandardBootstrapperApplication

2012-04-01 Thread Wesley Manning
Hi,

I'm using WixStandardBootstrapperApplication.HyperlinkLicense and have created 
a custom theme by modifying the hyperlinklicence theme xml file.  I found when 
I try to put an image inside the install Page element the image is shown in 
the Modify setup page.  The image does not show up in the progress page, 
though.

Wes  

-Original Message-
From: Bob Arnson [mailto:b...@joyofsetup.com] 
Sent: April-01-12 11:10 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Wix Burn LogoFile doesn't work on Windows XP

On 01-Apr-12 05:57, Milan Kaše wrote:
 Try to use PNG image format for the LogoFile instead of the ICO format.
Yep: LogoFile uses GDI+ to load the image and GDI+ doesn't support icons.

-- 
sig://boB
http://joyofsetup.com/


--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] wix sql extension and localdb

2012-04-01 Thread Pavan Adharapurapu
Hi,

As you may know, Visual Studio 11 Beta now comes with native LocalDb
supporthttp://msdn.microsoft.com/en-us/library/87sfaezs(v=vs.110).aspxinstead
of SQL Express. I have a wix 3.6 project (that references the
WixSqlExtension) that creates a database and runs some SQL scripts against
this database. This runs fine when the the server name used is
.\SqlExpress. However, replacing it with
(LocalDB)\v11.0http://msdn.microsoft.com/en-us/library/hh510202.aspx
(the
connection string for localdb) does not work. I see the following error in
the log:

*InstallSqlData:  Skipping ScaSqlStrsRead() - SqlString and/or SqlDatabase
table not present*

My questions are:

   - Is there a way to use  WixSqlExtension with localdb?
   - If I write a C# CustomAction that manually creates the database
   using (LocalDB)\v11.0 connection string, will it work (the machine will
   have .NET 4.5)?

Here is a msdn forum post
http://social.msdn.microsoft.com/Forums/ar-SA/sqlexpress/thread/b5c9a1fa-75fc-41f2-a5d3-4b2b6ed4ebdethat
is similar to this problem.

Thanks,
Pavan
--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users