Thank you Jacob!  That worked!  

-----Original Message-----
From: Hoover, Jacob [mailto:jacob.hoo...@greenheck.com] 
Sent: Tuesday, January 10, 2012 1:06 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Combobox dropdown

Try:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
  <assemblyIdentity version="1.0.0.0" name="Setup" type="win32" />
  <dependency>
    <dependentAssembly>
      <assemblyIdentity type="win32"
name="Microsoft.Windows.Common-Controls" version="6.0.0.0"
publicKeyToken="6595b64144ccf1df" language="*"
processorArchitecture="*"></assemblyIdentity>
    </dependentAssembly>
  </dependency>
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="requireAdministrator"
uiAccess="false" />
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>


-----Original Message-----
From: Scharp, Craig [mailto:craig.sch...@fuelquest.com] 
Sent: Tuesday, January 10, 2012 12:09 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Combobox dropdown

After more research, I have found it is my manifest that is causing the
issue, not wix 3.5.  However, I still have not found a solution. I have
tried several changes to manifest with varying errors.  I have also
tried uiAccess="true", but that caused " a referral was returned from
the server" error.  Sounds like for that to be true I need it to be
signed.  

I haven't used manifest files before, so I'm hoping I'm just missing
some attribute or something.  Has anyone run into this?  Thanks in
advance.

Here's more info if needed:
I'm on Windows 7 64-bit machine building from visual studio 2010, using
wix 3.5.  I added a manifest so I could elevate privileges prior to any
dialogs showing. After building, when I run the msi (from command line
as administrator), the combobox works. But, when I run setup.exe instead
of msi, the uac elevates properly, but my combobox won't drop down when
I click on it.  Values are listed fine in the combobox and I can use
up/down arrows to select, but clicking on it does nothing.

Here are my pre and post build events to include the manifest and build
the setup.exe:

Pre-build event
"C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\mt.exe"
-manifest "$(ProjectDir)My.manifest"
-outputresource:"$(ProjectDir)Setup.exe";#1

Post-build event
"C:\Program Files (x86)\Windows Installer XML v3.5\bin\setupbld.exe"
-out "$(TargetDir)Setup.exe" -msu "$(TargetDir)MyMsi.msi" -setup
"$(ProjectDir)Setup.exe"

Here's my manifest file:
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1"
manifestVersion="1.0">
  <assemblyIdentity version="1.0.0.0" name="Setup" type="win32" />
  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel level="requireAdministrator"
uiAccess="false" />
      </requestedPrivileges>
    </security>
  </trustInfo>
</assembly>

-----Original Message-----
From: Scharp, Craig [mailto:craig.sch...@fuelquest.com] 
Sent: Monday, January 09, 2012 5:59 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Combobox dropdown

Hi wix users,

I have a custom dialog where I use a ComboBox dropdown with a list of
websites to upgrade.  My immediate ca's populate the Combobox fine but
when I click on the combobox to change selection, it doesn't do
anything.  I can change the values using the up/down arrows, but
clicking on the combobox does nothing.  This worked in wix 3.0, but
appears not to in 3.5.  I haven't found any posts for this, so asking if
anyone has seen this and if anyone has ideas.

Here's what my code looks like:
<Control Type="ComboBox" Width="269" Height="16" X="26" Y="79"
Id="ExistingWebsite" Property="ExistingWebsite" Sorted="no"
ComboList="yes" />

I have tried with property and Id all upper cased, sorted as yes and no,
with or without ComboList attribute.

Thanks, Craig
------------------------------------------------------------------------
------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a
complex
infrastructure or vast IT resources to deliver seamless, secure access
to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI
infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------
------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create

new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to