Re: [WiX-users] shortcut element

2010-05-02 Thread vinod kulkarni
Hello,

Try the following Url
http://blogs.technet.com/alexshev/archive/2008/02/20/from-msi-to-wix-part-10-shortcuts.aspx
--Vinod K
On Sat, May 1, 2010 at 8:03 PM, subramanyeswari  wrote:

>
> Hi,
>
> Can anyone give me good link for shortcut menu as i have to add a shortcut
> for a item in the program menu.
>
> Thanks in advance, Subramanyeswari
> --
> View this message in context:
> http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/shortcut-element-tp4990196p4990196.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
> --
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
Regards,
Vinod K
http://kulkarnivinod.blogspot.com
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How To Skip Custom Dilalog On Repair ?

2010-05-02 Thread Vishwajit Walke
Hi,

I've custom dialog in my wix3.0 project. My requirement is to skip the 
occurrence of this Custom Dialog on Repair.
It should be visible only at Fresh Installation.

 [Condition to check Fresh Installation only and not 
Repair] 

Any help on this would be much appreciated.

Thanks.  Vishwajit.


READER BEWARE: Unencrypted, unsigned Internet e-mail is inherently insecure.

Internet messages may be corrupted, incomplete, misdirected or may
incorrectly identify the sender. Therefore, nothing in this message or
attachments may be considered legally binding.

THIS MESSAGE IS ONLY INTENDED FOR THE USE OF THE INDIVIDUAL
OR ENTITY TO WHICH IT IS ADDRESSED AND MAY BE PRIVILEGED.

If you are not the intended recipient or their authorized agent, you
may not forward or copy this information and must delete or destroy all
copies of this message and attachments received.

If you have received this communication in error, please notify
Matrikon Inc. by telephone at (780) 448-1010 or emailing ad...@matrikon.com.
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Createing a ProgId that references VS2010

2010-05-02 Thread Jim Deville
That worked. Any recommendations on a KeyPath for this component though? I 
would expect to be able to set the ProgId or something in there to the KeyPath, 
but that isn't valid. I'm planning on adding a dummy registry key if nothing 
else works.

JD

-Original Message-
From: Rob Mensching [mailto:r...@robmensching.com] 
Sent: Sunday, May 02, 2010 7:39 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Createing a ProgId that references VS2010

Yes, sorry, should have mentioned that in the beginning. You want 
Verb/@TargetProperty (and then you don't need the square brackets yourself).

On Sun, May 2, 2010 at 5:07 PM, Jim Deville  wrote:

> So is there any way to do this outside of writing the reg key myself?
>
> Sent from my HTC
>
> -Original Message-
> From: Rob Mensching 
> Sent: Sunday, May 02, 2010 2:25 PM
> To: General discussion for Windows Installer XML toolset. < 
> wix-users@lists.sourceforge.net>
> Subject: Re: [WiX-users] Createing a ProgId that references VS2010
>
>
> Verb/@TargetFile must reference a File/@Id in one of your .wxs files 
> somewhere.
>
> On Sun, May 2, 2010 at 1:59 PM, Jim Deville 
> wrote:
>
> > I'm making a installer for a VS 2010 addin, and I'd like to have it 
> > register files with the OS to open with Visual Studio. Is there a 
> > way to
> do
> > this with ProgID? Currently I have the following:
> >
> >  >   Guid="F269E7D4-9149-4157-98B8-6011FDBB6A9B">
> >   >  Description="$(var.ProjFileDescription)">
> > >   ContentType="text/plain">
> >   >Command="Open"
> >TargetFile="[VS2010DEVENV]"
> >Argument=""%1"" />
> >
> >  
> >
> >
> > But I get an error in Light: error LGHT0094: Unresolved reference to
> symbol
> > 'File:[VS2010DEVENV]' in section
> > 'Product:{ED3D4FF1-50EE-469A-90AC-0C7B00CB48AF}'
> >
> > I have the PropertyRef for VS2010DEVENV earlier in the file, but
> apparently
> > I'm missing something important.
> >
> > Jim Deville
> > http://ironruby.net
> > IronRuby SDET
> >
> >
> >
> --
> 
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
>
> --
> virtually, Rob Mensching - http://RobMensching.com LLC
>
> --
>  ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> --
>  ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


--
virtually, Rob Mensching - http://RobMensching.com LLC
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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


Re: [WiX-users] Property/@Secure - when to use?

2010-05-02 Thread Nick Ramirez

Okay. It took quite a while to get some results, but I've finally managed to
get the properties to not pass from the UI sequence to the Execute sequence.
The key factor seems to be whether or not you're prompted to elevate your
privileges during the install.

On Vista, you're almost always prompted for an administrator's credentials
if you're not an admin and if you're already an admin, you've already got
the access. Once the privileges are elevated, I haven't seen any problems
with properties passing from UI to Execute. This is without the Secure
attribute.

However, if you're not prompted, then a property called
"RestrictedUserControl" is set to "1", which tells the installer to only
pass properties listed in the SecureCustomProperties list to the Execute
sequence. 

To not be prompted, you can set the AlwaysInstallElevated value in the
Registry to "1" or do an advertised installation from a file share. I did
the former and haven't tested the latter, but it seems that that's how it
would work. Anything to prevent Vista from explicitly elevating your
privileges.

So, without setting a property as secure, I now see this happening (after
setting AlwaysInstallElevated to "1"):

MSI (s) (C8:BC) [23:49:58:906]: Machine policy value 'EnableUserControl' is
0
MSI (s) (C8:BC) [23:49:58:906]: PROPERTY CHANGE: Adding
RestrictedUserControl property. Its value is '1'.
MSI (s) (C8:BC) [23:49:58:906]: Ignoring disallowed property MYPROPERTY

Awesome. I've created a scenario where the Secure attribute is needed just
like I wanted. Matt, is your situation different? Yours happened on
uninstall. Is any of this similar? Do you try to prevent the user from being
prompted to elevate their privileges?


-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Property-Secure-when-to-use-tp4982590p4995282.html
Sent from the wix-users mailing list archive at Nabble.com.

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


Re: [WiX-users] Update progress bar from deferred custom action

2010-05-02 Thread Matt Johnson
Dariel, I'm doing this in a managed custom action (c#).  I'll post it  
here first thing tomorrow.

-Matt

Sent from my iPhone

On May 2, 2010, at 7:52 PM, "Rob Mensching"   
wrote:

> The WiX toolset uses WcaProgressMessage() to do this. There are a  
> number of
> examples in the WiX custom action code using it.
>
> On Sun, May 2, 2010 at 7:03 PM, Dariel Marlow  
>  wrote:
>
>> I've followed the example on MSDN (
>> http://msdn.microsoft.com/en-us/library/aa367525(VS.85).aspx) about  
>> adding
>> custom actions to the progress bar, however, only the action text  
>> updates.
>> The progress bar does not move. Does anyone have an example of how  
>> to update
>> the progress bar from within a custom action?
>>
>> Thanks,
>>
>> Dariel
>>
>> --- 
>> --- 
>> --- 
>> -
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>
>
> -- 
> virtually, Rob Mensching - http://RobMensching.com LLC
> --- 
> --- 
> --- 
> -
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users

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


Re: [WiX-users] Update progress bar from deferred custom action

2010-05-02 Thread Rob Mensching
The WiX toolset uses WcaProgressMessage() to do this. There are a number of
examples in the WiX custom action code using it.

On Sun, May 2, 2010 at 7:03 PM, Dariel Marlow  wrote:

> I've followed the example on MSDN (
> http://msdn.microsoft.com/en-us/library/aa367525(VS.85).aspx) about adding
> custom actions to the progress bar, however, only the action text updates.
> The progress bar does not move. Does anyone have an example of how to update
> the progress bar from within a custom action?
>
> Thanks,
>
> Dariel
>
> --
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Createing a ProgId that references VS2010

2010-05-02 Thread Rob Mensching
Yes, sorry, should have mentioned that in the beginning. You want
Verb/@TargetProperty (and then you don't need the square brackets yourself).

On Sun, May 2, 2010 at 5:07 PM, Jim Deville  wrote:

> So is there any way to do this outside of writing the reg key myself?
>
> Sent from my HTC
>
> -Original Message-
> From: Rob Mensching 
> Sent: Sunday, May 02, 2010 2:25 PM
> To: General discussion for Windows Installer XML toolset. <
> wix-users@lists.sourceforge.net>
> Subject: Re: [WiX-users] Createing a ProgId that references VS2010
>
>
> Verb/@TargetFile must reference a File/@Id in one of your .wxs files
> somewhere.
>
> On Sun, May 2, 2010 at 1:59 PM, Jim Deville 
> wrote:
>
> > I'm making a installer for a VS 2010 addin, and I'd like to have it
> > register files with the OS to open with Visual Studio. Is there a way to
> do
> > this with ProgID? Currently I have the following:
> >
> >  >   Guid="F269E7D4-9149-4157-98B8-6011FDBB6A9B">
> >   >  Description="$(var.ProjFileDescription)">
> > >   ContentType="text/plain">
> >   >Command="Open"
> >TargetFile="[VS2010DEVENV]"
> >Argument=""%1"" />
> >
> >  
> >
> >
> > But I get an error in Light: error LGHT0094: Unresolved reference to
> symbol
> > 'File:[VS2010DEVENV]' in section
> > 'Product:{ED3D4FF1-50EE-469A-90AC-0C7B00CB48AF}'
> >
> > I have the PropertyRef for VS2010DEVENV earlier in the file, but
> apparently
> > I'm missing something important.
> >
> > Jim Deville
> > http://ironruby.net
> > IronRuby SDET
> >
> >
> >
> --
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> >
>
>
> --
> virtually, Rob Mensching - http://RobMensching.com LLC
>
> --
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
>
> --
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Update progress bar from deferred custom action

2010-05-02 Thread Dariel Marlow
I've followed the example on MSDN 
(http://msdn.microsoft.com/en-us/library/aa367525(VS.85).aspx) about adding 
custom actions to the progress bar, however, only the action text updates. The 
progress bar does not move. Does anyone have an example of how to update the 
progress bar from within a custom action?

Thanks,

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


Re: [WiX-users] Createing a ProgId that references VS2010

2010-05-02 Thread Jim Deville
So is there any way to do this outside of writing the reg key myself?

Sent from my HTC

-Original Message-
From: Rob Mensching 
Sent: Sunday, May 02, 2010 2:25 PM
To: General discussion for Windows Installer XML toolset. 

Subject: Re: [WiX-users] Createing a ProgId that references VS2010


Verb/@TargetFile must reference a File/@Id in one of your .wxs files
somewhere.

On Sun, May 2, 2010 at 1:59 PM, Jim Deville  wrote:

> I'm making a installer for a VS 2010 addin, and I'd like to have it
> register files with the OS to open with Visual Studio. Is there a way to do
> this with ProgID? Currently I have the following:
>
>Guid="F269E7D4-9149-4157-98B8-6011FDBB6A9B">
>Description="$(var.ProjFileDescription)">
>   ContentType="text/plain">
>  Command="Open"
>TargetFile="[VS2010DEVENV]"
>Argument=""%1"" />
>
>  
>
>
> But I get an error in Light: error LGHT0094: Unresolved reference to symbol
> 'File:[VS2010DEVENV]' in section
> 'Product:{ED3D4FF1-50EE-469A-90AC-0C7B00CB48AF}'
>
> I have the PropertyRef for VS2010DEVENV earlier in the file, but apparently
> I'm missing something important.
>
> Jim Deville
> http://ironruby.net
> IronRuby SDET
>
>
> --
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


--
virtually, Rob Mensching - http://RobMensching.com LLC
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


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


Re: [WiX-users] Createing a ProgId that references VS2010

2010-05-02 Thread Rob Mensching
Verb/@TargetFile must reference a File/@Id in one of your .wxs files
somewhere.

On Sun, May 2, 2010 at 1:59 PM, Jim Deville  wrote:

> I'm making a installer for a VS 2010 addin, and I'd like to have it
> register files with the OS to open with Visual Studio. Is there a way to do
> this with ProgID? Currently I have the following:
>
>Guid="F269E7D4-9149-4157-98B8-6011FDBB6A9B">
>Description="$(var.ProjFileDescription)">
>   ContentType="text/plain">
>  Command="Open"
>TargetFile="[VS2010DEVENV]"
>Argument=""%1"" />
>
>  
>
>
> But I get an error in Light: error LGHT0094: Unresolved reference to symbol
> 'File:[VS2010DEVENV]' in section
> 'Product:{ED3D4FF1-50EE-469A-90AC-0C7B00CB48AF}'
>
> I have the PropertyRef for VS2010DEVENV earlier in the file, but apparently
> I'm missing something important.
>
> Jim Deville
> http://ironruby.net
> IronRuby SDET
>
>
> --
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Createing a ProgId that references VS2010

2010-05-02 Thread Jim Deville
I'm making a installer for a VS 2010 addin, and I'd like to have it register 
files with the OS to open with Visual Studio. Is there a way to do this with 
ProgID? Currently I have the following:


  

  

  


But I get an error in Light: error LGHT0094: Unresolved reference to symbol 
'File:[VS2010DEVENV]' in section 
'Product:{ED3D4FF1-50EE-469A-90AC-0C7B00CB48AF}'

I have the PropertyRef for VS2010DEVENV earlier in the file, but apparently I'm 
missing something important.

Jim Deville
http://ironruby.net
IronRuby SDET

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


Re: [WiX-users] Avoid install on removable drives

2010-05-02 Thread Andy.Kruger

Ok this one's cool.

But I want to use an immediate CA in the UI sequence which can prevent the
user from selecting the removable drive itself.
I suppose this VC++ CA needs to be elevated and we should pass the appDrive
value to a deferred CA??



-
Andy
MSI Developer
Schneider Electric
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Avoid-install-on-removable-drives-tp711163p4994094.html
Sent from the wix-users mailing list archive at Nabble.com.

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


[WiX-users] Avoid showing removable drive in the BrowseDlg

2010-05-02 Thread Andy.Kruger


Is there a way i can prevent the user from selecting a removable drive for
installation??
 say : USB drive??

-
Andy
MSI Developer
Schneider Electric
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Avoid-showing-removable-drive-in-the-BrowseDlg-tp4994070p4994070.html
Sent from the wix-users mailing list archive at Nabble.com.

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


[WiX-users] Alice LAMPE

2010-05-02 Thread sujanakar reddy
http://www.meilleurs-casinos-de-monde.com/home.php
  
_
South Cinema This Decade
http://entertainment.in.msn.com/southcinemathisdecade/
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using WiX 3.5 to generate an executable

2010-05-02 Thread Rob Mensching
Burn is not 64-bit today.

Also, FYI, that functionality will be moving to WiX v3.6:
http://robmensching.com/blog/posts/2010/4/28/Change-of-plans-for-WiX-v3.5
 

On Sun, May 2, 2010 at 7:15 AM, Dror Helper  wrote:

> Hello,
>
> I've noticed that new WiX project in visual studio has an option to output
> an exe instead of msi. I''ve tried using it but the resulting executable
> seems to be x86 only.
>
> How can I create an output that will run on both x64 & x86
>
> --
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>


-- 
virtually, Rob Mensching - http://RobMensching.com LLC
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Writing INSTALLLOCATION to registry fails!

2010-05-02 Thread Kristoffer Danielsson

I had forgot to add the brackets in one of my wxs-files. Now it works!
 
> From: kristoffer.daniels...@live.se
> To: wix-users@lists.sourceforge.net
> Date: Sun, 2 May 2010 15:50:29 +0200
> Subject: [WiX-users] Writing INSTALLLOCATION to registry fails!
> 
> 
> 
> I'm trying to write the installation path to the registry, but it keeps 
> writing "INSTALLLOCATION" instead of its value. What am I doing wrong?
> 
> Please help!
> 
> 
> 
>  Action="createAndRemoveOnUninstall">
> 
>  KeyPath="yes" />
> 
> 
> 
> 
> 
> ...
> 
> 
> 
> 
> 
> _
> Klicka här!
> http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx
> --
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
  
_
Messenger i mobilen!
http://new.windowslivemobile.msn.com/SE-SE/windows-live-messenger-wap/default.aspx
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Using WiX 3.5 to generate an executable

2010-05-02 Thread Dror Helper
Hello,

I've noticed that new WiX project in visual studio has an option to output
an exe instead of msi. I''ve tried using it but the resulting executable
seems to be x86 only.

How can I create an output that will run on both x64 & x86
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Writing INSTALLLOCATION to registry fails!

2010-05-02 Thread Kristoffer Danielsson


I'm trying to write the installation path to the registry, but it keeps writing 
"INSTALLLOCATION" instead of its value. What am I doing wrong?

Please help!

 







 

...

 


  
_
Klicka här!
http://new.windowslivemobile.msn.com/SE-SE/windows-live-hotmail/default.aspx
--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users