Re: [WiX-users] How do i invoke a dialog from a sucessful or un-sucessful registry search?

2007-09-28 Thread Rob Hamflett
Craig0ss wrote:
 ShowDialog =OldInstall but this clearly rong
 
 where do i put the condition? and waht would it look like ?

Try this:
Show Dialog=OldInstallOLD/Show

Rob

 
 Thank you 
 
 Craig
 
 
 Rob Hamflett wrote:
 You use a Show element in InstallExecuteSequence to show the dialog, and
 use a condition based on 
 the property set by the RegistrySearch.

 Rob

 Craig0ss wrote:
 Hi 

 as the subject states i need a dialog to be brought to the users
 attention
 upon the execution of the msi if a regisrty is sucessful

 im surching for previously installed versions of my software, if it is
 found
 on the target machine i need the dialog to execute. if its not found then
 nothin need happen

 thank you

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How do i invoke a dialog from a sucessful or un-sucessful registry search?

2007-09-28 Thread Craig0ss

this is what i have done so far

i have now got the diaolg showing regardless of if the reg key is found or
not :S

here is my reg key search and this appears to be working

Property Id=OLD
  RegistrySearch Id=OldOpti Type=raw Root=HKLM
Key=Software\Optisoft\Settings Name=SetupType  /
/Property

Now this is wher i get confused (sorry im still a noob)

Im not quite sure what to do from here, in the InstallExecuteSequence i put
in the following

ShowDialog =OldInstall but this clearly rong

where do i put the condition? and waht would it look like ?

Thank you 

Craig


Rob Hamflett wrote:
 
 You use a Show element in InstallExecuteSequence to show the dialog, and
 use a condition based on 
 the property set by the RegistrySearch.
 
 Rob
 
 Craig0ss wrote:
 Hi 
 
 as the subject states i need a dialog to be brought to the users
 attention
 upon the execution of the msi if a regisrty is sucessful
 
 im surching for previously installed versions of my software, if it is
 found
 on the target machine i need the dialog to execute. if its not found then
 nothin need happen
 
 thank you
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/How-do-i-invoke-a-dialog-from-a-sucessful-or-un-sucessful-registry-search--tf4529088.html#a12938176
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How do i invoke a dialog from a sucessful or un-sucessful registry search?

2007-09-28 Thread Craig0ss

HI 

Thanks for your input, i think im gettin there, but still not quite, so here
is what i have so far 

The Search:

Property Id=OLD
  RegistrySearch Id=OldOpti Type=raw Root=HKLM
Key=Software\Optisoft\Settings Name=SetupType /
/Property

And the Code you suggested (this is under the InstallUISequence)

Show Dialog=OldInstall Sequence=1OLD/Show

This is all i have in regarding this, and its not doing anything when i run
the installer.

when i try and compile my MSI i get an error stateing that i need to specify
a befre or after or sequence??? so i put the sequence=1 in to get it
compile while testing other things

Is there anything im missing??

Thanks again 

Craig



Rob Hamflett wrote:
 
 Craig0ss wrote:
 ShowDialog =OldInstall but this clearly rong
 
 where do i put the condition? and waht would it look like ?
 
 Try this:
 Show Dialog=OldInstallOLD/Show
 
 Rob
 
 
 Thank you 
 
 Craig
 
 
 Rob Hamflett wrote:
 You use a Show element in InstallExecuteSequence to show the dialog,
 and
 use a condition based on 
 the property set by the RegistrySearch.

 Rob

 Craig0ss wrote:
 Hi 

 as the subject states i need a dialog to be brought to the users
 attention
 upon the execution of the msi if a regisrty is sucessful

 im surching for previously installed versions of my software, if it is
 found
 on the target machine i need the dialog to execute. if its not found
 then
 nothin need happen

 thank you

 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/How-do-i-invoke-a-dialog-from-a-sucessful-or-un-sucessful-registry-search--tf4529088.html#a12940778
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Escaping Special Characters

2007-09-28 Thread Chris Ridd
 
On Friday, September 28, 2007, at 01:59PM, Srinivas Tirupati [EMAIL 
PROTECTED] wrote:
How can we display a Text which has quotes in a wix dialog

Like --  Check for the section Trouble S hooting in Installation Guide
Tried using \ but no use:(

Thanks and Regards
Srinivas T

The WXS file is XML, and you should be able to express any Unicode character in 
it using normal XML techniques. For example, #xn; where the n is the 
hexadecimal value of the character code. For instance #x20; is a space 
character.

Alternatively you can enter the characters verbatim, as long as you specify the 
XML file's encoding. That's defined in the XML declation: ?xml 
encoding=...?

For more about those two techniques, you should look at the XML specs at 
www.w3c.org ;-)

Of course you will also need to make sure that your Product/Package etc is 
marked as using the appropriate Windows language and codepage...

Cheers,

Chris

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Flag or Property for Remove

2007-09-28 Thread Srinivas Tirupati
Hi
I want to show my own dialog at the end of the installation instead of the 
default ExitDailog

I want to show only if the action is install and its successful

I want to show the default ExitDialog if the action is remove. How can I do 
this ?

I tried doing this

InstallUISequence

Show Dialog=MyExitDialog OnExit=success
  NOT Installed
/Show

  /InstallUISequence

  AdminUISequence

Show Dialog=MyExitDialog OnExit=success
  NOT Installed
/Show
  /AdminUISequence

This is working fine for one of my requirement i.e that its showing my custom 
dialog (MyExitDialog) after the installation is successful.
But the problem with this is that if the product is already installed and the 
user has chosen Remove (among the three options Change Repair and Remove) then 
no dialog is shown after the product is removed. (Here I want the default 
ExitDialog to be shown)


I even Tried this

InstallUISequence
   Show Dialog=ExitDialog OnExit=success
 Installed OR REMOVE
   /Show
Show Dialog=MyExitDialog OnExit=success
  NOT Installed
/Show

  /InstallUISequence

  AdminUISequence
Show Dialog=ExitDialog OnExit=success
 Installed OR REMOVE
/Show
Show Dialog=MyExitDialog OnExit=success
  NOT Installed
/Show
  /AdminUISequence

The behavior in this case is also the same as above :(

Is there any property or flag which tells us the user has chosen REMOVE ??

Thanks and Regards
Srinivas
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Please Help .. MSI error ...

2007-09-28 Thread Kelly Leahy
Go to c:\program files\microsoft visual studio8\common7\tools (if you have 
VS2005 installed) and run

errlookup.exe

put the number into the box and you'll see it change to: 0x80110404

you'll see the message: The object is already registered 

So...  not sure what that means in your case - I'm assuming that COM+ 
installer steps don't like to see the object already registered.

Kelly




daveog [EMAIL PROTECTED]

Sent by: [EMAIL PROTECTED]
09/28/2007 08:10 AM

To
wix-users@lists.sourceforge.net
cc

Subject
[WiX-users] Please Help .. MSI error ...







Hi all,

I am getting the following error in my msi log file 

MSI (s) (EC:C8) [15:39:14:809]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI1A74.tmp, Entrypoint: ComPlusPrepare
MSI (s) (EC:AC) [15:39:14:840]: Executing op:
ActionStart(Name=ComPlusRollbackInstallExecute,,)
MSI (s) (EC:AC) [15:39:14:840]: Executing op:
CustomActionSchedule(Action=ComPlusRollbackInstallExecute,ActionType=11521,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (EC:AC) [15:39:14:840]: Executing op:
ActionStart(Name=ComPlusInstallExecute,Description=Registering COM+
components,)
MSI (s) (EC:AC) [15:39:14:840]: Executing op:
CustomActionSchedule(Action=ComPlusInstallExecute,ActionType=11265,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (EC:50) [15:39:14:855]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI1A75.tmp, Entrypoint: ComPlusInstallExecute
ComPlusInstallExecute:  ErrorInfo: Name='C:\Program
Files\Capita\LetterAndPhrase\Lib\CISSLetAndPhrase.dll',
ErrorCode='-2146368508', MajorRef='C:\Program
Files\Capita\LetterAndPhrase\Lib\CISSLetAndPhrase.dll', 
MinorRef='invalid'
ComPlusInstallExecute:  ErrorInfo: Name='Web', ErrorCode='-2146368508',
MajorRef='{D419CE6F-42D6-45D1-B451-6E66F40D2FD9}', MinorRef='invalid'
ComPlusInstallExecute:  ErrorInfo: Name='Info', ErrorCode='-2146368508',
MajorRef='{80E7D5F7-28E8-4180-8C65-5C90C606EB33}', MinorRef='invalid'
ComPlusInstallExecute:  ErrorInfo: Name='CompName', 
ErrorCode='-2146368508',
MajorRef='{24538838-CC96-4F50-89D8-DC5CE1E6FB52}', MinorRef='invalid'
ComPlusInstallExecute:  ErrorInfo: Name='HoldName', 
ErrorCode='-2146368508',
MajorRef='{52DCCE25-40DF-4DEF-AF33-1279DC230C0E}', MinorRef='invalid'
ComPlusInstallExecute:  Error 0x80110401: Failed to install components
ComPlusInstallExecute:  Error 0x80110401: Failed to register native 
assembly
ComPlusInstallExecute:  Error 0x80110401: Failed to register assembly, 
key:
LAPComPlusAssembly
ComPlusInstallExecute:  Error 0x80110401: Failed to register assemblies
Action ended 15:39:16: InstallFinalize. Return value 3.
MSI (s) (EC:AC) [15:39:16:043]: User policy value 'DisableRollback' is 0
MSI (s) (EC:AC) [15:39:16:043]: Machine policy value 'DisableRollback' is 
0
MSI (s) (EC:AC) [15:39:16:043]: Executing op: 


I have searched in vain for any explanation . have no idea what the
errorcode '-2146368508' means .. so am finding it sooo hard to progress,

Please please can anyone help,

Dave
-- 
View this message in context: 
http://www.nabble.com/Please-Help-..-MSI-error-...-tf4535129.html#a12942492

Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




**
This communication is intended solely for the addressee and is
confidential. If you are not the intended recipient, any disclosure, 
copying, distribution or any action taken or omitted to be taken in
reliance on it, is prohibited and may be unlawful.  Unless indicated
to the contrary: it does not constitute professional advice or 
opinions upon which reliance may be made by the addressee or any 
other party, and it should be considered to be a work in progress.
Unless stated otherwise, this communication does not form a prescribed
statement of actuarial opinion under American Academy of Actuaries 
guidelines.
**-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How do i invoke a dialog from a sucessful or un-sucessful registry search?

2007-09-28 Thread Craig0ss

Hi thanks again for your input

ive pretty much got this working now, well its shows the dialog when the reg
search is true and doesnt show the dialog when the reg search is false,
however im gettin a problem further down the installUi sequence which to be
fair is nothing to do with this particular issue. I will have to involve the
person who origianly made the UI to see whats what.

Thanks Again 

Craig



Rob Hamflett wrote:
 
 Giving it a sequence of one will mean it will run before anything else has
 the chance to do 
 anything, including looking for your reg entry.  Try After=AppSearch.
 
 Rob
 
 Craig0ss wrote:
 HI 
 
 Thanks for your input, i think im gettin there, but still not quite, so
 here
 is what i have so far 
 
 The Search:
 
 Property Id=OLD
   RegistrySearch Id=OldOpti Type=raw Root=HKLM
 Key=Software\Optisoft\Settings Name=SetupType /
 /Property
 
 And the Code you suggested (this is under the InstallUISequence)
 
 Show Dialog=OldInstall Sequence=1OLD/Show
 
 This is all i have in regarding this, and its not doing anything when i
 run
 the installer.
 
 when i try and compile my MSI i get an error stateing that i need to
 specify
 a befre or after or sequence??? so i put the sequence=1 in to get it
 compile while testing other things
 
 Is there anything im missing??
 
 Thanks again 
 
 Craig
 
 
 
 Rob Hamflett wrote:
 Craig0ss wrote:
 ShowDialog =OldInstall but this clearly rong

 where do i put the condition? and waht would it look like ?
 Try this:
 Show Dialog=OldInstallOLD/Show

 Rob

 Thank you 

 Craig


 Rob Hamflett wrote:
 You use a Show element in InstallExecuteSequence to show the dialog,
 and
 use a condition based on 
 the property set by the RegistrySearch.

 Rob

 Craig0ss wrote:
 Hi 

 as the subject states i need a dialog to be brought to the users
 attention
 upon the execution of the msi if a regisrty is sucessful

 im surching for previously installed versions of my software, if it
 is
 found
 on the target machine i need the dialog to execute. if its not found
 then
 nothin need happen

 thank you
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 
 
 
 -
 This SF.net email is sponsored by: Microsoft
 Defy all challenges. Microsoft(R) Visual Studio 2005.
 http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/How-do-i-invoke-a-dialog-from-a-sucessful-or-un-sucessful-registry-search--tf4529088.html#a12942157
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] can I use MD5 of file/dir for Id values?

2007-09-28 Thread Kaveh Goudarzi
Hi Chris,

Thats interesting.  Wow it's been a while since I thought of tcl/tk 
(which I loved actually :-) ) ... While on the autogeneration subject 
how do you deal with shortcut creation?  do you exclude files to which 
you want to create shortcuts in the auto generated step and then add 
then in manually hand rolled components?

Also do you get any validation errors when you have hex id values?  I 
saw some errors where it complained that the file had a version but 
didn't have a language field (not 100% sure if it was ID related or 
name) but just wondering if the hex id results in clean validation or 
gives errors?

thanks in advance + kind regards,

Kaveh.

Chris Ridd wrote:
  
 On Thursday, September 27, 2007, at 12:35PM, Kaveh Goudarzi [EMAIL 
 PROTECTED] wrote:
 Hi Chris,

  Thanks for the advice :-) ... when you say with AUTO_ as documented 
 ... where do you mean?  I'm wondering if I missed some guidance doc 
 which I need to look at before I make this change.
 
 It is just for me own personal use/documentation, so that when I'm looking at 
 an enormous WXS file and I see some reference to AUTO_lots_of_hex then I know 
 it got generated by my tools.
 
  Also what is the nature of your frag gen code/script?  I found tallow 
 in its current form (wix2.0) did not do what we needed but I'm very 
 interested in combining what I have done (tallow ant custom task) 
 with other code out there so that we can pool dev efforts and 
 hopefully contribute to the WiX project as a whole.
 
 Our packaging infrastructure is written in Tcl, and it uses a flat file 
 listing what files are expected to be installed in what target directories, 
 and then it writes the WXS file using the directory structure implied by that 
 file. It actually seems to work :-)
 
 Cheers,
 
 Chris

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Escaping Special Characters

2007-09-28 Thread Srinivas Tirupati
How can we display a Text which has quotes in a wix dialog

Like --  Check for the section Trouble S hooting in Installation Guide
Tried using \ but no use:(

Thanks and Regards
Srinivas T
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] COM+ available in V3

2007-09-28 Thread daveog

Hi all,

Can someone tell me if COM+ is available in V3 and if so which version.

I have seen 2 postings which seem to be at odds with each other.

The posting at http://www.nabble.com/COM%2B-in-V3-tf3878725.html#a10991426
refers to version 3.0.3001.0 which I cannot locate  whilst the posting
at http://www.nabble.com/COMPlus-in-Wix-V3-tf3493766.html#a9758159 implies
that it is not yet available.

Thanks in advance,

Dave
-- 
View this message in context: 
http://www.nabble.com/COM%2B-available-in-V3-tf4533877.html#a12938751
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom UI help

2007-09-28 Thread Anidil

I use a custom wix ui library , My_WixUI_InstallDir.wixlib to create my MSI.I
get the following UI related error during link time.

error LGHT0112 : Unresolved reference to symbol 'UI:My_WixUI_InstallDir' in
section 'Product:E2486DE6-CC2E-48C0-AD20-C2C142FA1636'.

Other than UI dialog wxs's,what other files/codes should i be adding to the
custom library?

-- 
View this message in context: 
http://www.nabble.com/Custom-UI-help-tf4533744.html#a12938382
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] can I use MD5 of file/dir for Id values?

2007-09-28 Thread Chris Ridd

On 28 Sep 2007, at 16:09, Kaveh Goudarzi wrote:

 Hi Chris,
   
   Thats interesting.  Wow it's been a while since I thought of tcl/ 
 tk (which I loved actually :-) ) ... While on the autogeneration  
 subject how do you deal with shortcut creation?  do you exclude  
 files to which you want to create shortcuts in the auto generated  
 step and then add then in manually hand rolled components?

What I do there is whenever I write a File I call an externally  
provided Tcl procedure with the name of the thing just written. That  
proc then has a chance to emit any more XML (like a Shortcut, or  
Registry items) before returning to the main code which writes the  
final /File.

So far the scheme's working out OK for us, and I like the ability to  
trigger activity as it tends to mean we don't leave in dead  
Shortcuts and so on.

   Also do you get any validation errors when you have hex id  
 values?  I saw some errors where it complained that the file had a  
 version but didn't have a language field (not 100% sure if it was  
 ID related or name) but just wondering if the hex id results in  
 clean validation or gives errors?

I don't get any validation errors from the hex IDs. I get lots of  
annoying 1044 warnings because of the silly short filenames I have to  
provide everywhere, but I just suppress them with -sw1044 :-)

Cheers,

Chris

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Please Help .. MSI error ...

2007-09-28 Thread Christopher Painter
Here's a tip... when you get a big negative decimal  number like that, convert 
it to hex and drop the high order byte and add 0x ( hex ) in front of it.  Then 
google or refer to SDK documentation.
   
   
  --2146368508 - 80110404 - 80110404 -  0x80110404 - Google reveals 
hits dealing with COM registration problems.
  
daveog [EMAIL PROTECTED] wrote:
  
Hi all,

I am getting the following error in my msi log file 

MSI (s) (EC:C8) [15:39:14:809]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI1A74.tmp, Entrypoint: ComPlusPrepare
MSI (s) (EC:AC) [15:39:14:840]: Executing op:
ActionStart(Name=ComPlusRollbackInstallExecute,,)
MSI (s) (EC:AC) [15:39:14:840]: Executing op:
CustomActionSchedule(Action=ComPlusRollbackInstallExecute,ActionType=11521,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (EC:AC) [15:39:14:840]: Executing op:
ActionStart(Name=ComPlusInstallExecute,Description=Registering COM+
components,)
MSI (s) (EC:AC) [15:39:14:840]: Executing op:
CustomActionSchedule(Action=ComPlusInstallExecute,ActionType=11265,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (EC:50) [15:39:14:855]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI1A75.tmp, Entrypoint: ComPlusInstallExecute
ComPlusInstallExecute: ErrorInfo: Name='C:\Program
Files\Capita\LetterAndPhrase\Lib\CISSLetAndPhrase.dll',
ErrorCode='-2146368508', MajorRef='C:\Program
Files\Capita\LetterAndPhrase\Lib\CISSLetAndPhrase.dll', MinorRef=''
ComPlusInstallExecute: ErrorInfo: Name='Web', ErrorCode='-2146368508',
MajorRef='{D419CE6F-42D6-45D1-B451-6E66F40D2FD9}', MinorRef=''
ComPlusInstallExecute: ErrorInfo: Name='Info', ErrorCode='-2146368508',
MajorRef='{80E7D5F7-28E8-4180-8C65-5C90C606EB33}', MinorRef=''
ComPlusInstallExecute: ErrorInfo: Name='CompName', ErrorCode='-2146368508',
MajorRef='{24538838-CC96-4F50-89D8-DC5CE1E6FB52}', MinorRef=''
ComPlusInstallExecute: ErrorInfo: Name='HoldName', ErrorCode='-2146368508',
MajorRef='{52DCCE25-40DF-4DEF-AF33-1279DC230C0E}', MinorRef=''
ComPlusInstallExecute: Error 0x80110401: Failed to install components
ComPlusInstallExecute: Error 0x80110401: Failed to register native assembly
ComPlusInstallExecute: Error 0x80110401: Failed to register assembly, key:
LAPComPlusAssembly
ComPlusInstallExecute: Error 0x80110401: Failed to register assemblies
Action ended 15:39:16: InstallFinalize. Return value 3.
MSI (s) (EC:AC) [15:39:16:043]: User policy value 'DisableRollback' is 0
MSI (s) (EC:AC) [15:39:16:043]: Machine policy value 'DisableRollback' is 0
MSI (s) (EC:AC) [15:39:16:043]: Executing op: 


I have searched in vain for any explanation . have no idea what the
errorcode '-2146368508' means .. so am finding it sooo hard to progress,

Please please can anyone help,

Dave
-- 
View this message in context: 
http://www.nabble.com/Please-Help-..-MSI-error-...-tf4535129.html#a12942492
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


   
-
Looking for a deal? Find great prices on flights and hotels with Yahoo! 
FareChase.-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Please Help .. MSI error ...

2007-09-28 Thread daveog

Hi all,

I am getting the following error in my msi log file 

MSI (s) (EC:C8) [15:39:14:809]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI1A74.tmp, Entrypoint: ComPlusPrepare
MSI (s) (EC:AC) [15:39:14:840]: Executing op:
ActionStart(Name=ComPlusRollbackInstallExecute,,)
MSI (s) (EC:AC) [15:39:14:840]: Executing op:
CustomActionSchedule(Action=ComPlusRollbackInstallExecute,ActionType=11521,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (EC:AC) [15:39:14:840]: Executing op:
ActionStart(Name=ComPlusInstallExecute,Description=Registering COM+
components,)
MSI (s) (EC:AC) [15:39:14:840]: Executing op:
CustomActionSchedule(Action=ComPlusInstallExecute,ActionType=11265,Source=BinaryData,Target=**,CustomActionData=**)
MSI (s) (EC:50) [15:39:14:855]: Invoking remote custom action. DLL:
C:\WINDOWS\Installer\MSI1A75.tmp, Entrypoint: ComPlusInstallExecute
ComPlusInstallExecute:  ErrorInfo: Name='C:\Program
Files\Capita\LetterAndPhrase\Lib\CISSLetAndPhrase.dll',
ErrorCode='-2146368508', MajorRef='C:\Program
Files\Capita\LetterAndPhrase\Lib\CISSLetAndPhrase.dll', MinorRef='invalid'
ComPlusInstallExecute:  ErrorInfo: Name='Web', ErrorCode='-2146368508',
MajorRef='{D419CE6F-42D6-45D1-B451-6E66F40D2FD9}', MinorRef='invalid'
ComPlusInstallExecute:  ErrorInfo: Name='Info', ErrorCode='-2146368508',
MajorRef='{80E7D5F7-28E8-4180-8C65-5C90C606EB33}', MinorRef='invalid'
ComPlusInstallExecute:  ErrorInfo: Name='CompName', ErrorCode='-2146368508',
MajorRef='{24538838-CC96-4F50-89D8-DC5CE1E6FB52}', MinorRef='invalid'
ComPlusInstallExecute:  ErrorInfo: Name='HoldName', ErrorCode='-2146368508',
MajorRef='{52DCCE25-40DF-4DEF-AF33-1279DC230C0E}', MinorRef='invalid'
ComPlusInstallExecute:  Error 0x80110401: Failed to install components
ComPlusInstallExecute:  Error 0x80110401: Failed to register native assembly
ComPlusInstallExecute:  Error 0x80110401: Failed to register assembly, key:
LAPComPlusAssembly
ComPlusInstallExecute:  Error 0x80110401: Failed to register assemblies
Action ended 15:39:16: InstallFinalize. Return value 3.
MSI (s) (EC:AC) [15:39:16:043]: User policy value 'DisableRollback' is 0
MSI (s) (EC:AC) [15:39:16:043]: Machine policy value 'DisableRollback' is 0
MSI (s) (EC:AC) [15:39:16:043]: Executing op: 


I have searched in vain for any explanation . have no idea what the
errorcode '-2146368508' means .. so am finding it sooo hard to progress,

Please please can anyone help,

Dave
-- 
View this message in context: 
http://www.nabble.com/Please-Help-..-MSI-error-...-tf4535129.html#a12942492
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Determine which Version of Windows installer is installed

2007-09-28 Thread Craig0ss

Hi 

I need to identify using wix the version of the windows install that is
current installed on the sytem, is this done by a reg entry or .dll et etc

thank you
-- 
View this message in context: 
http://www.nabble.com/Determine-which-Version-of-Windows-installer-is-installed-tf4533681.html#a12938206
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Backup files

2007-09-28 Thread Levon Levonian
Hi All,

 

There is a third party product already installed on user's system. I
created an install that adds some extended functionality to that
existing product. For that, my install has to replace several .asp/.js
files. My add-on installs just fine, and the new extended functionality
is there. However, when I uninstall my add-on, it deletes those .asp/.js
files, which should not happen, as they are vital for that third-party
product, which of course does not work anymore after my add-on is
uninstalled. I don't have any control over that product, just my own
install package.

 

The question is: should I implement some custom action to back up
existing files, then copy my own files, and then on uninstall restore
copies from backup. Or is there some built-in mechanism in Wix to create
a backup of existing files?

 

Thanks!



**
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.
**
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Leave behind the files modified by user during uninstall

2007-09-28 Thread Alex Davis
Hi

I'm writing an SDK installer for installing the
libraries/code-samples of the SDK. During uninstall, I
would like to leave behind any code-sample files that
have been modified by the user. Is there a way in WiX
for me to achieve this (without using Custom Actions)?

Thanks.



  

Fussy? Opinionated? Impossible to please? Perfect.  Join Yahoo!'s user panel 
and lay it on us. http://surveylink.yahoo.com/gmrs/yahoo_panel_invite.asp?a=7 


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [WiX-commits] Wix 2 and service

2007-09-28 Thread Rob Mensching
Wix-users is the correct place to ask this…

Why don’t you just use the ServiceInstall and ServiceControl elements?  That’s 
what they are for.

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gonzalo Diethelm
Sent: Friday, September 28, 2007 15:55
To: [EMAIL PROTECTED]
Subject: [WiX-commits] Wix 2 and service

I have a strange problem and am lost trying to diagnose it.

I developed a very simple installer for a service. The executable for the 
service has options to register and unregister (add and remove) the service in 
the service control manager, and for starting and stopping the service, 
Therefore, the WXS file simply sets up the directory hierarchy and then calls a 
DLL, which then spawns the service executable with the proper flags. I am using 
this piece of XML to do this:

CustomAction Id=CfgWrite BinaryKey=CfgWrite.dll DllEntry=CfgWrite/
CustomAction Id=CleanAll BinaryKey=CfgWrite.dll DllEntry=CleanAll/

InstallExecuteSequence
  Custom Action=CfgWrite After=InstallFinalizeNOT Installed/Custom
  Custom Action=CleanAll After=InstallInitializeInstalled/Custom
/InstallExecuteSequence

Binary Id=CfgWrite.dll SourceFile=cfgwrite.dll /

Now, the installation works like a charm, and the service ends up appearing in 
the service control manager, and is started. When uninstalling, the service is 
eventually stopped and removed from the service control manager, but only after 
a two minutes (I measured it) pause. The msiexec progress windows shows up, it 
works for about two seconds, and then stops doing nothing at all for two 
minutes; then, it wakes up, stops and deletes the service and finishes.

If I manually stop and remove the service (something that only takes one or two 
seconds) before the uninstallation, then this symptom does not occur: the 
uninstallation process happens in about five seconds.

I have logging statements in my DLL (the one that invokes the service), but 
these do not get executed until after those two minutes have gone by, so it 
would seem the pause is not due to stopping / uninstalling the service; 
however, if this is the case, then why would stopping the service by hand get 
rid of the problem?

Anybody spots anything? Any hints? Thanks in advance and best regards.

--
Gonzalo Diethelm
[EMAIL PROTECTED]


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users