Re: [WiX-users] Fallback when not getting admin rights

2013-08-27 Thread Trond Andersen
Thank you for your feeback.
 I forget what the DropBox install experience was, but when I look at
 those shell extensions they are all in HKCU, so they are per-user and
 not per-system. That might work for you too.

I run Regshot on my computer and looked at the changes in registry. A lot
of the changes are in HKU, but there are quite a few changes in HKLM as
shown below.

We are currently using regasm to get our shell extension registered. Is it
possible to avoid using regasm for shell extension registration? Any
pointers to how this can be achieved? Currently we are using custom tasks
for this. Here is an example on how we do it:

CustomAction Id=CA.CmdLine.RegisterShellExt Property=QtExecCmdLine
  Value='[NETFRAMEWORK40CLIENTINSTALLROOTDIR64]RegAsm.exe
/codebase [INSTALLLOCATION]$(var.SE.TargetFileName)' /
CustomAction Id=CA.RegisterShellExt BinaryKey='WixCA'
DllEntry='CAQuietExec' Execute='immediate' Return='check' /

Overview of registry changes while Dropbox installer was run:

Keys added:
HKLM\SOFTWARE\Microsoft\Windows Media Player
NSS\3.0\Events\{7F6A42D2-D502-47C2-A2D4-A5A62B1226B7}
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\DropboxExt1
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\DropboxExt2
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\DropboxExt3

The first one probably doesn't matter for us, but we also will need icon
overlay.

Values added:
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\DropboxExt1\:
{FB314ED9-A251-47B7-93E1-CDD82E34AF8B}
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\DropboxExt2\:
{FB314EDA-A251-47B7-93E1-CDD82E34AF8B}
HKLM\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\explorer\ShellIconOverlayIdentifiers\DropboxExt3\:
{FB314EDB-A251-47B7-93E1-CDD82E34AF8B}
HKLM\SYSTEM\ControlSet001\Control\Session
Manager\PendingFileRenameOperations:  ...
HKLM\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\FirewallRules\{7D6075E4-64CB-4AED-80A3-6DF08642ABE8}:
v2.10|Action=Allow|Active=TRUE|Dir=In|Protocol=6|Profile=Private|App=C:\Users\Tester\AppData\Roaming\Dropbox\bin\Dropbox.exe|Name=Dropbox|
HKLM\SYSTEM\ControlSet001\services\SharedAccess\Parameters\FirewallPolicy\FirewallRules\{D72FE29F-B264-46D2-A8E0-FFCADCF3E83F}:
v2.10|Action=Allow|Active=TRUE|Dir=In|Protocol=17|Profile=Private|App=C:\Users\Tester\AppData\Roaming\Dropbox\bin\Dropbox.exe|Name=Dropbox|
HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\PendingFileRenameOperations: ...
HKLM\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters\FirewallPolicy\FirewallRules\{7D6075E4-64CB-4AED-80A3-6DF08642ABE8}:
v2.10|Action=Allow|Active=TRUE|Dir=In|Protocol=6|Profile=Private|App=C:\Users\Tester\AppData\Roaming\Dropbox\bin\Dropbox.exe|Name=Dropbox|
HKLM\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters\FirewallPolicy\FirewallRules\{D72FE29F-B264-46D2-A8E0-FFCADCF3E83F}:
v2.10|Action=Allow|Active=TRUE|Dir=In|Protocol=17|Profile=Private|App=C:\Users\Tester\AppData\Roaming\Dropbox\bin\Dropbox.exe|Name=Dropbox|


Not sure how many of these would be applicable for us. Firewall rules -
probably not.


Values modified:
HKLM\SOFTWARE\Microsoft\Reliability Analysis\RAC\WmiLastTime:  75 A0 B5 46
5E A2 CE 01
HKLM\SOFTWARE\Microsoft\Reliability Analysis\RAC\WmiLastTime:  C7 D0 DD 4D
01 A3 CE 01
HKLM\SOFTWARE\Microsoft\SystemCertificates\AuthRoot\AutoUpdate\DisallowedCertLastSyncTime:
 38 1D 55 ED 36 A2 CE 01
HKLM\SOFTWARE\Microsoft\SystemCertificates\AuthRoot\AutoUpdate\DisallowedCertLastSyncTime:
 25 93 69 47 01 A3 CE 01
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Perflib\009\Counter:  

There were some others in HKLM, but I don't think the Dropbox installer is
responsible for these changes.
--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Fallback when not getting admin rights

2013-08-23 Thread Trond Andersen
I have an application which uses Shell extensions to add a menu in Windows
Explorer, however I would like the installer to have a fallback if the user
is not able to give the installer admin rights in which the user can access
the functionality without using menus/toolbar in Windows Explorer. The
Dropbox installer does the same thing.

Does anyone have an example or other resources which could help me getting
this working.

For information - I'm using WIX 3.7 and Burn bootstrapper. Is this
something the bootstrapper should handle? Will the Burn bootstrapper be
able to do this or do I have to use a different bootstrapper/modify Burn?


-- 
Trond
--
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Localization issues when using firewall extension

2010-04-22 Thread Trond Andersen
I've written up a question on stackoverflow regarding a localization
issue. Hope the good people on this mailinglist is interested to
provide an answer on stackoverflow since the formatting is a better on
stackoverflow and the data which the user write (questions and
answers) is under a creative commons license.

http://stackoverflow.com/questions/2690517/localize-wix-installer-which-uses-the-firewall-extension


Regards,
Trond Andersen

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WixUI_InstallDir suggests wrong Program Files directoryfor norwegian version of Windows

2010-03-31 Thread Trond Andersen
Hi Palbinder Sandher.

Thanks for your answer.

 Which language code are you using in your Product Element?

I have the following in the product element:

Product Id=407cffe4-d1ea-452c-a45e-a86a91334f65
Name=$(var.ProductName) Language=1033
   Version=$(var.ProductVersion)
Manufacturer=$(var.Manufacturer)
UpgradeCode=f4fd9428-e0ba-47ec-a6ca-9dc764e7bbc3

I guess the language part might affect the directory choice. Any
pointers on how to make this more i18n friendly would be appreciated,
but I'll have a look at the documentation.


- Trond

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WixUI_InstallDir suggests wrong Program Files directory for norwegian version of Windows

2010-03-30 Thread Trond Andersen
I have a WiX project which uses the WixUI_InstallDir to let the user
pick the directory to install the application. In my setup I don't
hard code any reference to the Program Files directory. I've used the
following setup in my main wxs file:

Directory Id=ProgramFilesFolder
  Directory Id=INSTALLDIR Name=$(var.ProductName)

In the adapted WixUI_InstallDir.wxs file I've written the following:

Publish Dialog=InstallDirDlg Control=ChangeFolder
Property=_BrowseProperty Value=[WIXUI_INSTALLDIR]
Order=11/Publish

And the UI description I have the following:

Control Id=Folder Type=PathEdit X=20 Y=100 Width=320
Height=18 Property=WIXUI_INSTALLDIR Indirect=yes /

On a norwegian version of Windows this results in suggesting to use
C:\Program Files\(ProductName) instead of
C:\Programfiler\(ProductName) which is the correct directory for
norwegian version of Windows.

I have two questions:

1. Is there a work around which will work for both english and
norwegian version of Windows?
2. Is this because WiX 3.0 doesn't have a norwegian translation or is
there something else?


Kind regards,
Trond Andersen

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Shortcut to a virtual drive

2010-01-29 Thread Trond Andersen
I'm working on a project which creates a virtual drive which is made
available under Computer in Windows Explorer, but it hasn't assigned a
letter to the drive. I've struggled with creating a shortcut on the desktop
to this virtual drive. I've succeeded with creating a shortcut to an exe
file, but I not sure how to approach this with a virtual drive.

I have posted this as an question on stackoverflow.com:

http://stackoverflow.com/questions/2154835/wix-how-to-create-a-desktop-shortcut-pointing-to-a-virtual-drive-under-computer

Response on either the mailinglist or on the stackoverflow question will be
appreciated.

Thank you.
--
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users