Re: [WiX-users] How to register file type with wix 3 RTM?

2009-07-16 Thread Kim Gybels
Hi,
 Actually our product is a add-in package of VS. And we just want to
 register a file type. In other word, there is no exe or file can be used
 to open file of that type. It actually works before even we don't put
 actual FileId:). So do you think we should register that file type to
 devenv.exe of VS?


This article explains what is needed to register a file type:
http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/

It is for NSIS installer, but it is not hard to figure out even if you
dont know
NSIS.

Just add the correct registry entries and it should work :)

- Kim

--

*Kim Gybels
Software Developer
* kim.gyb...@metris.com mailto:kim.gyb...@metris.com
Tel: +32 16 74 01 01
Fax: +32 16 74 01 02



* Metris Europe
* Interleuvenlaan 86
3001 Leuven
Belgium
www.metris.com http://www.metris.com/




This message and any attachment are privileged, confidential and contain 
private information. If you are not the addressee named above any disclosure, 
reproduction, copying, distribution, or other dissemination or use of this 
communication is prohibited. If you have received this transmission in error, 
please notify the sender immediately and destroy this e-mail. Metris does not 
guarantee that the integrity of this communication has been maintained or that
this communication is free of viruses, interceptions or interference, and shall 
not be liable for the improper or incomplete transmission of the information 
contained in this communication nor for any delay in its receipt or damage to 
your system. Incoming and outgoing email communications may be monitored by 
Metris, as permitted by applicable law and regulations.

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to register file type with wix 3 RTM?

2009-07-15 Thread Quinton Tormanen
Sorry. That goes over my head! Hopefully someone else can help you on
this.

--Quinton

-Original Message-
From: Ryan Dai [mailto:ryan...@hotmail.com] 
Sent: Thursday, July 09, 2009 8:22 PM
To: Wix
Subject: Re: [WiX-users] How to register file type with wix 3 RTM?


Hi Quinton,

 

Actually our product is a add-in package of VS. And we just want to
register a file type. In other word, there is no exe or file can be used
to open file of that type. It actually works before even we don't put
actual FileId:). So do you think we should register that file type to
devenv.exe of VS?


 
 Date: Thu, 9 Jul 2009 09:11:27 -0700
 From: quint...@deltacompsys.com
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] How to register file type with wix 3 RTM?
 
 Ryan,
 
 Where do you have a file with @Id of FileId defined? I register an
 extension as shown:
 
 Component Id=ExeFile Guid=...
 File Id=FileId Source= MyApp.exe /
 ProgId Advertise=no Id=MyApp.MyExt.1 Icon=FileId IconIndex=1
 Description=MyApp File 
 Extension Id=myext ContentType=application/xml
 Verb Id=open TargetFile=FileId Argument=quot;%1quot; /
 /Extension
 /ProgId
 /Component
 
 Notice that I have the file and the extension both in the same
 component. Perhaps this isn't required, but it makes sense to me since
 they must go together for my application, but perhaps other apps want
 the extension to be optional. 
 
 Notice that both ProgId/@Icon and Verb/@TargetFile refer to File/@Id,
 which WiX 3.0 will convert to [#FileId] in the MSI file, which will
be
 the full installed filepath in the registry after installation.
 [#FileId] is nearly equivalent to [!FileId], except the latter uses
 short filenames. Notice that WiX includes the double-quotes around the
 [#FileId] to avoid problems with spaces in the path.
 
 There are some warnings in the MSI documentation about [#FileId] only
 being resolved if the component installing the file has already been
 installed, so perhaps that has something to do with your problem.
 
 --Quinton
 
 -Original Message-
 From: Ryan Dai [mailto:ryan...@hotmail.com] 
 Sent: Wednesday, July 08, 2009 4:23 PM
 To: Wix; b...@joyofsetup.com
 Subject: Re: [WiX-users] How to register file type with wix 3 RTM?
 
 
 Hi Bob,
 
 Thanks for your answer.
 After I remove the Sequence attribute, I still get errors.
 
 Component Id=myfile
 Guid=8E4C47A3-4CDB-4c2c-A783-0B21747DFC3C
 ProgId Id=myfileid
 Extension Id=my ContentType=application/text
 Verb Id=open Command=open
 TargetFile=FileId Argument=quot;%1quot; /
 /Extension
 /ProgId
 /Component
 
 error LGHT0094 : Unresolved reference to symbol 'File:FileId'
 
 Wixcop changed my original Target = [!FileId] to
TargetFile=FileId.
 So in wix 2, it works if we specify:
 
 Component Id=myfile
 Guid=8E4C47A3-4CDB-4c2c-A783-0B21747DFC3C
 ProgId Id=myfileid
 Extension Id=my ContentType=application/text
 Verb Id=open Command=open
 Target=[!FileId] Argument=quot;%1quot; /
 /Extension
 /ProgId
 /Component
 
 I think our orginal intention is just to register a file type for an
 editor of our Visual Studio package. So it seems like there is no
 something about the target file to be executed for the verb.
 
  Date: Wed, 8 Jul 2009 07:51:20 -0400
  From: b...@joyofsetup.com
  To: wix-users@lists.sourceforge.net
  Subject: Re: [WiX-users] How to register file type with wix 3 RTM?
  
  Ryan Dai wrote:
   error CNDL0035 : The Verb/@Sequence attribute cannot 
   be specified when attribute Advertise is present with value 'no'.
   
  
  If you have only a single Verb element, just omit the Sequence 
  attribute. WiX v2 accepted the Sequence attribute when
Advertised=no
 
  but did nothing with it; WiX v3 is more strict and doesn't just
throw 
  away what you give it.
  
  -- 
  sig://boB
  http://joyofsetup.com/
  
  
  
 


 --
  Enter the BlackBerry Developer Challenge 
  This is your chance to win up to $100,000 in prizes! For a limited
 time, 
  vendors submitting new applications to BlackBerry App World(TM) will
 have
  the opportunity to enter the BlackBerry Developer Challenge. See
full
 prize 
  details at: http://p.sf.net/sfu/Challenge
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 _
 Windows Live(tm): Keep your life in sync. Check it out!

http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009


 --
 Enter the BlackBerry Developer Challenge 
 This is your chance to win up to $100,000 in prizes! For a limited
time,
 
 vendors submitting new applications to BlackBerry App World(TM) will
 have
 the opportunity to enter the BlackBerry Developer Challenge. See full
 prize 
 details at: http://p.sf.net/sfu/Challenge

Re: [WiX-users] How to register file type with wix 3 RTM?

2009-07-09 Thread Quinton Tormanen
Ryan,

Where do you have a file with @Id of FileId defined? I register an
extension as shown:

Component Id=ExeFile Guid=...
  File Id=FileId Source= MyApp.exe /
  ProgId Advertise=no Id=MyApp.MyExt.1 Icon=FileId IconIndex=1
Description=MyApp File 
Extension Id=myext ContentType=application/xml
  Verb Id=open TargetFile=FileId Argument=quot;%1quot; /
/Extension
  /ProgId
/Component

Notice that I have the file and the extension both in the same
component. Perhaps this isn't required, but it makes sense to me since
they must go together for my application, but perhaps other apps want
the extension to be optional. 

Notice that both ProgId/@Icon and Verb/@TargetFile refer to File/@Id,
which WiX 3.0 will convert to [#FileId] in the MSI file, which will be
the full installed filepath in the registry after installation.
[#FileId] is nearly equivalent to [!FileId], except the latter uses
short filenames. Notice that WiX includes the double-quotes around the
[#FileId] to avoid problems with spaces in the path.

There are some warnings in the MSI documentation about [#FileId] only
being resolved if the component installing the file has already been
installed, so perhaps that has something to do with your problem.

--Quinton

-Original Message-
From: Ryan Dai [mailto:ryan...@hotmail.com] 
Sent: Wednesday, July 08, 2009 4:23 PM
To: Wix; b...@joyofsetup.com
Subject: Re: [WiX-users] How to register file type with wix 3 RTM?


Hi Bob,
 
Thanks for your answer.
After I remove the Sequence attribute, I still get errors.
 
Component Id=myfile
Guid=8E4C47A3-4CDB-4c2c-A783-0B21747DFC3C
ProgId Id=myfileid
Extension Id=my ContentType=application/text
Verb Id=open Command=open
TargetFile=FileId Argument=quot;%1quot; /
/Extension
/ProgId
/Component
 
error LGHT0094 : Unresolved reference to symbol 'File:FileId'
 
Wixcop changed my original Target = [!FileId] to TargetFile=FileId.
So in wix 2, it works if we specify:
 
Component Id=myfile
Guid=8E4C47A3-4CDB-4c2c-A783-0B21747DFC3C
ProgId Id=myfileid
Extension Id=my ContentType=application/text
Verb Id=open Command=open
Target=[!FileId] Argument=quot;%1quot; /
/Extension
/ProgId
/Component
 
I think our orginal intention is just to register a file type for an
editor of our Visual Studio package. So it seems like there is no
something about the target file to be executed for the verb.
 
 Date: Wed, 8 Jul 2009 07:51:20 -0400
 From: b...@joyofsetup.com
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] How to register file type with wix 3 RTM?
 
 Ryan Dai wrote:
  error CNDL0035 : The Verb/@Sequence attribute cannot 
  be specified when attribute Advertise is present with value 'no'.
  
 
 If you have only a single Verb element, just omit the Sequence 
 attribute. WiX v2 accepted the Sequence attribute when Advertised=no

 but did nothing with it; WiX v3 is more strict and doesn't just throw 
 away what you give it.
 
 -- 
 sig://boB
 http://joyofsetup.com/
 
 
 


--
 Enter the BlackBerry Developer Challenge 
 This is your chance to win up to $100,000 in prizes! For a limited
time, 
 vendors submitting new applications to BlackBerry App World(TM) will
have
 the opportunity to enter the BlackBerry Developer Challenge. See full
prize 
 details at: http://p.sf.net/sfu/Challenge
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

_
Windows Live(tm): Keep your life in sync. Check it out!
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time,

vendors submitting new applications to BlackBerry App World(TM) will
have
the opportunity to enter the BlackBerry Developer Challenge. See full
prize  
details at: http://p.sf.net/sfu/Challenge
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
WiX-users mailing list
WiX-users

Re: [WiX-users] How to register file type with wix 3 RTM?

2009-07-09 Thread Ryan Dai

Hi Quinton,

 

Actually our product is a add-in package of VS. And we just want to register a 
file type. In other word, there is no exe or file can be used to open file of 
that type. It actually works before even we don't put actual FileId:). So do 
you think we should register that file type to devenv.exe of VS?


 
 Date: Thu, 9 Jul 2009 09:11:27 -0700
 From: quint...@deltacompsys.com
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] How to register file type with wix 3 RTM?
 
 Ryan,
 
 Where do you have a file with @Id of FileId defined? I register an
 extension as shown:
 
 Component Id=ExeFile Guid=...
 File Id=FileId Source= MyApp.exe /
 ProgId Advertise=no Id=MyApp.MyExt.1 Icon=FileId IconIndex=1
 Description=MyApp File 
 Extension Id=myext ContentType=application/xml
 Verb Id=open TargetFile=FileId Argument=quot;%1quot; /
 /Extension
 /ProgId
 /Component
 
 Notice that I have the file and the extension both in the same
 component. Perhaps this isn't required, but it makes sense to me since
 they must go together for my application, but perhaps other apps want
 the extension to be optional. 
 
 Notice that both ProgId/@Icon and Verb/@TargetFile refer to File/@Id,
 which WiX 3.0 will convert to [#FileId] in the MSI file, which will be
 the full installed filepath in the registry after installation.
 [#FileId] is nearly equivalent to [!FileId], except the latter uses
 short filenames. Notice that WiX includes the double-quotes around the
 [#FileId] to avoid problems with spaces in the path.
 
 There are some warnings in the MSI documentation about [#FileId] only
 being resolved if the component installing the file has already been
 installed, so perhaps that has something to do with your problem.
 
 --Quinton
 
 -Original Message-
 From: Ryan Dai [mailto:ryan...@hotmail.com] 
 Sent: Wednesday, July 08, 2009 4:23 PM
 To: Wix; b...@joyofsetup.com
 Subject: Re: [WiX-users] How to register file type with wix 3 RTM?
 
 
 Hi Bob,
 
 Thanks for your answer.
 After I remove the Sequence attribute, I still get errors.
 
 Component Id=myfile
 Guid=8E4C47A3-4CDB-4c2c-A783-0B21747DFC3C
 ProgId Id=myfileid
 Extension Id=my ContentType=application/text
 Verb Id=open Command=open
 TargetFile=FileId Argument=quot;%1quot; /
 /Extension
 /ProgId
 /Component
 
 error LGHT0094 : Unresolved reference to symbol 'File:FileId'
 
 Wixcop changed my original Target = [!FileId] to TargetFile=FileId.
 So in wix 2, it works if we specify:
 
 Component Id=myfile
 Guid=8E4C47A3-4CDB-4c2c-A783-0B21747DFC3C
 ProgId Id=myfileid
 Extension Id=my ContentType=application/text
 Verb Id=open Command=open
 Target=[!FileId] Argument=quot;%1quot; /
 /Extension
 /ProgId
 /Component
 
 I think our orginal intention is just to register a file type for an
 editor of our Visual Studio package. So it seems like there is no
 something about the target file to be executed for the verb.
 
  Date: Wed, 8 Jul 2009 07:51:20 -0400
  From: b...@joyofsetup.com
  To: wix-users@lists.sourceforge.net
  Subject: Re: [WiX-users] How to register file type with wix 3 RTM?
  
  Ryan Dai wrote:
   error CNDL0035 : The Verb/@Sequence attribute cannot 
   be specified when attribute Advertise is present with value 'no'.
   
  
  If you have only a single Verb element, just omit the Sequence 
  attribute. WiX v2 accepted the Sequence attribute when Advertised=no
 
  but did nothing with it; WiX v3 is more strict and doesn't just throw 
  away what you give it.
  
  -- 
  sig://boB
  http://joyofsetup.com/
  
  
  
 
 
 --
  Enter the BlackBerry Developer Challenge 
  This is your chance to win up to $100,000 in prizes! For a limited
 time, 
  vendors submitting new applications to BlackBerry App World(TM) will
 have
  the opportunity to enter the BlackBerry Developer Challenge. See full
 prize 
  details at: http://p.sf.net/sfu/Challenge
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 _
 Windows Live(tm): Keep your life in sync. Check it out!
 http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009
 
 --
 Enter the BlackBerry Developer Challenge 
 This is your chance to win up to $100,000 in prizes! For a limited time,
 
 vendors submitting new applications to BlackBerry App World(TM) will
 have
 the opportunity to enter the BlackBerry Developer Challenge. See full
 prize 
 details at: http://p.sf.net/sfu/Challenge
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 --
 Enter the BlackBerry Developer Challenge

Re: [WiX-users] How to register file type with wix 3 RTM?

2009-07-08 Thread Bob Arnson
Ryan Dai wrote:
 error CNDL0035 : The Verb/@Sequence attribute cannot 
 be specified when attribute Advertise is present with value 'no'.
   

If you have only a single Verb element, just omit the Sequence 
attribute. WiX v2 accepted the Sequence attribute when Advertised=no 
but did nothing with it; WiX v3 is more strict and doesn't just throw 
away what you give it.

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



--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to register file type with wix 3 RTM?

2009-07-08 Thread Ryan Dai

Hi Bob,
 
Thanks for your answer.
After I remove the Sequence attribute, I still get errors.
 
Component Id=myfile Guid=8E4C47A3-4CDB-4c2c-A783-0B21747DFC3C
ProgId Id=myfileid
Extension Id=my ContentType=application/text
Verb Id=open Command=open TargetFile=FileId 
Argument=quot;%1quot; /
/Extension
/ProgId
/Component
 
error LGHT0094 : Unresolved reference to symbol 'File:FileId'
 
Wixcop changed my original Target = [!FileId] to TargetFile=FileId. So in 
wix 2, it works if we specify:
 
Component Id=myfile Guid=8E4C47A3-4CDB-4c2c-A783-0B21747DFC3C
ProgId Id=myfileid
Extension Id=my ContentType=application/text
Verb Id=open Command=open Target=[!FileId] 
Argument=quot;%1quot; /
/Extension
/ProgId
/Component
 
I think our orginal intention is just to register a file type for an editor of 
our Visual Studio package. So it seems like there is no something about the 
target file to be executed for the verb.
 
 Date: Wed, 8 Jul 2009 07:51:20 -0400
 From: b...@joyofsetup.com
 To: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] How to register file type with wix 3 RTM?
 
 Ryan Dai wrote:
  error CNDL0035 : The Verb/@Sequence attribute cannot 
  be specified when attribute Advertise is present with value 'no'.
  
 
 If you have only a single Verb element, just omit the Sequence 
 attribute. WiX v2 accepted the Sequence attribute when Advertised=no 
 but did nothing with it; WiX v3 is more strict and doesn't just throw 
 away what you give it.
 
 -- 
 sig://boB
 http://joyofsetup.com/
 
 
 
 --
 Enter the BlackBerry Developer Challenge 
 This is your chance to win up to $100,000 in prizes! For a limited time, 
 vendors submitting new applications to BlackBerry App World(TM) will have
 the opportunity to enter the BlackBerry Developer Challenge. See full prize 
 details at: http://p.sf.net/sfu/Challenge
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

_
Windows Liveā„¢: Keep your life in sync. Check it out!
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to register file type with wix 3 RTM?

2009-07-07 Thread Ryan Dai

Hi,

 

I am trying to migrate my wix 2 wxs files to wix 3 RTM. After doing that with 
wixcop(great tool), I still get errors from candle.

 

error CNDL0035 : The Verb/@Sequence attribute cannot 
be specified when attribute Advertise is present with value 'no'.

 

Following is my codes in wxs file. This is actually from wix tutorial.

 

Component Id=myfile Guid=8E4C47A3-4CDB-4c2c-A783-0B21747DFC3C
ProgId Id=myfileid
Extension Id=my ContentType=application/text
Verb Id=open Sequence=10 Command=open 
Target=[!FileId] Argument=quot;%1quot; /
/Extension
/ProgId
/Component

_
Invite your mail contacts to join your friends list with Windows Live Spaces. 
It's easy!
http://spaces.live.com/spacesapi.aspx?wx_action=createwx_url=/friends.aspxmkt=en-us
--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users