Hi All,
I've moved on from my earlier problems with Vista to new exciting
problems! Since moving a custom action for launching IE out of the UI
sequence the installer is now not elevating privileges under Vista at
all during install (but does so during uninstall).
So I created a batch file to launch the MSI and right clicked on the
batch file (run as admin) and now, even when the product is completely
uninstalled I get 'another version' is already installed. So I think a
previous install went on a per machine basis and the tests I have been
doing are on a per user basis. I never intended to create a per user app
so I need to look at this.
My questions are;
1) Should it not automatically ask for elevation (the shield icon is
showing up nicely on my button, which sounds correct) according to code
snippet 1 below?
2) Somehow I am creating a per-user / hybrid install, will creating a
shortcut under program files do this?
Thanks in advance
Ryan
Snippet 1:
<Product Name="MY Internet Explorer toolbar"
Id="{2A426A63-3F69-48AD-B28A-2EA97457B08C}" Language="1033"
Codepage="1252" Version="1.0" Manufacturer="ME"
UpgradeCode="{5608688A-0582-48C4-8900-1C65E2FB5345}">
<Package Languages="1033" Keywords="Installer" Description="MY
toolbar installer" Comments="blah" Manufacturer="ME"
InstallerVersion="100" Compressed="yes" SummaryCodepage="1252"
InstallPrivileges="elevated" />
<Media Id="1" Cabinet="ME.cab" EmbedCab="yes" DiskPrompt="CD-ROM
#1" />
<Property Id="DiskPrompt" Value="My toolbar Installation [1]" />
<Property Id="IEXPLORE">
<RegistrySearch Id="FIND_IEXPLORE" Root="HKLM"
Key="SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\IEXPLORE.EXE"
Type="raw" />
</Property>
<Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="PFiles">
<Directory Id="INSTALLDIR" Name="MY Internet Explorer
toolbar">
<Component Id="C_MainDll"
Guid="{DB020289-44CE-4A4C-9821-C96718B0FF3E}">
<File Id="FL_IEToolbar.dll" ShortName="IETool"
Name="IEToolbar.dll"
Source="..\IEToolbar\ReleaseUMinDependency\IEToolbar.dll" DiskId="1"
KeyPath="yes" />
<RegistryKey Root="HKLM"
Key="Software\Microsoft\Internet Explorer\Toolbar">
<RegistryValue Type="string" Value="" />
<RegistryValue
Name="{FD7DC3F5-F8EA-4F91-9665-4B8661392667}" Type="string" Value="My
toolbar" />
</RegistryKey>
<RegistryValue Root="HKCR"
Key="CLSID\{FD7DC3F5-F8EA-4F91-9665-4B8661392667}" Value="My toolbar"
Type="string" />
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users