Re: [WiX-users] COM registration weirdness

2008-09-30 Thread Troy Howard
Ok, I found a process that works...

First, I had to explicitly add:

  
  
  
  
  
  
  


then for each .net com dll, i ran heat against it to generate a wxs.

I then fixedup those wxs files in the following manner:
1. Wrap the Class/ProgID/etc tags inside the File tag so that class/@server
gets set
2. Update the registry values that referred to mscoree.dll so that they each
have a unique id in the Id attribute.

That combination get me functioning .Net COM DLLs, and now that I fully
understand what's happening, it makes sense. The default sequence doesn't
include the com registration actions that read the class table/etc. So those
have to be added. The heat output doesn't nest the class tags in the file
tag, so server attribute doesn't know what it's target is. The registry
values for mscoree.dll are in conflict with the autogenerated ones made form
the class tag, because they both use autogenerated ids, which are a hash of
componentId, root, key, and name... And so they need to be differentiate by
assigning a unique id.

I'm quite relieved I got it worked out.

Thanks,
Troy



On Tue, Sep 30, 2008 at 9:51 PM, Troy Howard <[EMAIL PROTECTED]> wrote:

> It's both.
>
> The application is written in VB6. It uses COM DLLs written in various
> languages, including C++, VB6, and .NET. The installer needs to be able to
> register all of these things.
>
> The non-.Net COM DLLs seem to be doing alright with the SelfRegCost
> attribute applied, but now the .Net DLLs are having trouble. I've tried
> various ways to get them working.
>
> What I'm currently looking at is the RegisterClassInfo/ProgID/TypeLib
> actions. I opened the MSI up in ORCA, and realized that they are not in my
> InstallExecuteSequence table. That makes sense why it wasn't working with
> Class/Progid etc elements in the components. The action was never getting
> called that dealt with those things. I assumed those actions would be
> included, and that I didn't to explicitly add them. I'm going to give it a
> try with the "correct" methodology again, this time with the correct actions
> in the sequence and see if that does the trick. If so, I can get rid of the
> self registration stuff, AND the duct tape batch file full of regasm calls.
>
> Conveniently, re-ghosting the test box and building the installer take
> about the same amount of time.. >sigh<
>
> This application is a beast, and the installer has to tame it. What a
> project At least I have a nice view of downtown Portland at night from
> the 11th floor of this building.
>
> Thanks,
> Troy
>
>
>
> On Tue, Sep 30, 2008 at 8:10 PM, Richard <[EMAIL PROTECTED]> wrote:
>
>>
>> In article <[EMAIL PROTECTED]>,
>>"Troy Howard" <[EMAIL PROTECTED]>  writes:
>>
>> > So, in my efforts to resolve the .Net COM issues, [...]
>>
>> Earlier, this thread was talking about registering a VB6 control.
>>
>> Now you're talking about registering a .NET assembly for COM interop.
>>
>> So which is it?
>>
>> I've registered .NET assemblies for COM interop with no problems by
>> taking the output of /regfile.
>> --
>> "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
>>  
>> 
>> >
>>
>>Legalize Adulthood! 
>>
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Delete temp files during uninstall

2008-09-30 Thread vivekanandan balaguru
I have a requirement to delete temporary files at
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET
Files. As the number of directories and files created by the application are
close to 200 and RemoveFolder,RemoveFile with "*" is only
on a directory and not recursive, makes it harder to do for every directory.
Do we have any other solution?
Can we run a dos command rmdir /s /q? If so how to do it in WiX?

thanks,
Vivek


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] RE Moving from InstallShield 12 to wix

2008-09-30 Thread greenaj
You should always change component and product codes when redoing the package.  
Your best bet would be to isntall the Windows Installer SDK which is part of 
the Windows SDK.  The documentation gives you several rules when you need to 
change the product codes.

I've used InstallShield upto version 9.0, some things drove me crazy about it.  
I though by 12 some things have gotton better.  I'd love to here what you think 
about the new version.

Regards,
greenaj

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] COM registration weirdness

2008-09-30 Thread Richard

In article <[EMAIL PROTECTED]>,
"Neil Sleightholm" <[EMAIL PROTECTED]>  writes:

> >> By the time it's a COM object, VB6 or C++ it doesn't make any
> >> difference.
> 
> That is a nice theory [...]

Its not a theory.  An OCX from VB6 is just a DLL with a well defined
entry point for registering the COM object.  That's *all* that
regsrv32 does when you run it!

No voodoo.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] COM registration weirdness

2008-09-30 Thread Richard

In article <[EMAIL PROTECTED]>,
"Troy Howard" <[EMAIL PROTECTED]>  writes:

> So, in my efforts to resolve the .Net COM issues, [...]

Earlier, this thread was talking about registering a VB6 control.

Now you're talking about registering a .NET assembly for COM interop.

So which is it?

I've registered .NET assemblies for COM interop with no problems by
taking the output of /regfile.
-- 
"The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
  

Legalize Adulthood! 

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Moving from InstallShield 12 to wix

2008-09-30 Thread Michael Owings
I'm currently in the process of moving from an InstallShield 12 (which I 
loathe)  project over to wix. I'd ideally like to be able to update the 
next version of this project via wix.

I'm wondering if I use the the same product and component IDs if I'd be 
in good shape as far as an upgrading goes. Any gotchas I should be aware of?

Thanx in advance -- m
-- 
Teleoperate a roving mobile robot from the web:
http://www.swampgas.com/robotics/rover.html

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] preprocessor and environment variables?

2008-09-30 Thread Rob Mensching
What version of the WiX toolset are you using?

-Original Message-
From: Mark Modrall [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2008 14:38
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] preprocessor and environment variables?

Hi...

I recently ran into a number of problems trying to change wix project 
behavior based on environment variable settings.  A number of the things that 
sounded intuitive to me didn't work.

For example





didn't work because ifdef returns false for all environment variables always 
whether they are set or not.





works as long as $(env.A) is defined, but if it's not, Candle generates an 
exception.

Is there any way to test for environment variable existence before you try 
to use it in Wix?

Thanks
Mark

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] preprocessor and environment variables?

2008-09-30 Thread Mark Modrall
Hi...

I recently ran into a number of problems trying to change wix project 
behavior based on environment variable settings.  A number of the things that 
sounded intuitive to me didn't work.

For example





didn't work because ifdef returns false for all environment variables always 
whether they are set or not.





works as long as $(env.A) is defined, but if it's not, Candle generates an 
exception.

Is there any way to test for environment variable existence before you try 
to use it in Wix?

Thanks
Mark

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Do not want to execute component on repair and Remove

2008-09-30 Thread Bhavdeep Singh
Hi Sandeep,
 
you can add a condition on your custom action when to trigger or not as per the 
feature. Add the following if you only wnt custom action to trigger if it is 
getting installed.
 



 
In above code you need to change only name of the feature, which will trigged 
this action only if the feature is getting installed(not sure about repair, but 
for sure if wont run on uninstall). number 3 tells that it should run only if 
it is getting installed.
 
Thanks and RegardsBhavdeep Singh



> From: [EMAIL PROTECTED]> To: wix-users@lists.sourceforge.net> Date: Wed, 1 
> Oct 2008 03:16:31 +0800> Subject: [WiX-users] Do not want to execute 
> component on repair and Remove> > Hi,> > I want to execute a component at the 
> time of first time installation. Don't want to execute at repair and remove 
> option. Please help me out what condition shall I add.> Its very urgent.> > 
> Regards> -Sandeep> > > 
> -> 
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge> 
> Build the coolest Linux based applications with Moblin SDK & win great 
> prizes> Grand prize is a trip for two to an Open Source event anywhere in the 
> world> http://moblin-contest.org/redirect.php?banner_id=100&url=/> 
> ___> WiX-users mailing list> 
> WiX-users@lists.sourceforge.net> 
> https://lists.sourceforge.net/lists/listinfo/wix-users
_
Stay up to date on your PC, the Web, and your mobile phone with Windows Live.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Do not want to execute component on repair and Remove

2008-09-30 Thread Sandeep Gautam (HCL Technologies Ltd)
Hi,

I want to execute a component at the time of first time installation. Don't 
want to execute at repair and remove option. Please help me out what condition 
shall I add.
Its very urgent.

Regards
-Sandeep


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] failed certificate install

2008-09-30 Thread Ian Elliott (Excell Data Corporation)
3.0.4519

Thanks.

-Original Message-
From: Rob Mensching [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2008 10:15 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] failed certificate install

What version of the WiX toolset are you using?

-Original Message-
From: Ian Elliott (Excell Data Corporation) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2008 09:56
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] failed certificate install

I finally convinced my team to upgrade to Wix 3 and now our certificate 
installer is failing:

MSI (s) (C4:08) [15:50:50:560]: Invoking remote custom action. DLL: 
C:\WINNT\Installer\MSI13A.tmp, Entrypoint: InstallCertificates
InstallCertificates:  Error 0x80070057: Failed to open PFX file.
InstallCertificates:  Error 0x80070057: Failed to get SHA1 hash of certificate.
InstallCertificates:  Error 0x80070057: Failed to resolve certificate: 
ID_IDSAPICert


It worked fine under Wix 2. Is there a fix planned soon for this? What version 
of Wix 3 do I need to go back to for this to work correctly?
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Action Complexity (WiX 2)

2008-09-30 Thread Rob Mensching
There really isn't anything "simple" about CustomActions that modify the 
machine state.  It is recommended to write a data driven "immediate" (or 
scheduling) CustomAction that reads one or more tables and schedules 
(::MsiDoAction()) the appropriate rollback/install/uninstall/repair(if repair 
is special) actions.  I suppose if you write a single CustomAction + 
SetProperty for each of those steps it would get as complicated as someone 
described.

The WiX extension just provide the ability to extend the WiX language to 
provide a nice way to get data into the tables for the CustomActions.

Fundamentally, just don't assume the task is easy.  Remember you're talking 
about writing something that participates in a compensating transaction.  
Nothing simple about that.

That's why I suggest people avoid CustomActions whenever possible.  

Have you considered simplifying your application so you don't need to write 
code in a compensating transaction?

-Original Message-
From: Grant Husbands [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2008 09:04
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Action Complexity (WiX 2)

Is there an easy way to define and use a custom action that handles
files in some way (also handling rollback and uninstall correctly)?

Looking at the current mechanism, it's seems complicated and
error-prone. Note: I got a friend to ask this same question at
stackoverflow ; you don't need to go there
to follow this email and I've included some answers, here.

If I create such a custom action, I want it to be rolled back correctly.
I also want it to uninstall correctly and to have that roll back
correctly. I need to give those parameters and I need to schedule
everything. In all, that leads to 16 elements in the wxs, for what I
perceive to be a single 'action', with a lot of copy and paste and
conditions that seem like magical incantations and many seem to get
wrong (REMOVE<>"ALL").

In answer, it has been suggested that I write a WiX extension for each
such action; I presume that this isn't expected to be a typical use
case, though. Also, writing an extension to WiX just for a custom action
or two would probably be a little extreme.

Another suggestion has been to have an immediate, scheduled action that
then schedules the appropriate (otherwise unscheduled) actions, based on
context, and also sets their parameters. This leads to (I think) only
four to six elements in the wxs, which is an improvement, but also leads
to every such action having common code for setting up parameters,
working out whether things are being installed or uninstalled and
scheduling actions accordingly.

It seems to me that the ideal case would be having only one or two
elements in the wxs, which would include a CustomAction looking
something like this:


Could that be made to work? Is there an easy answer? Are there any plans
for providing easy answers in WiX 3 or later? Am I just doing it wrong?

I have .NET development experience and may be able to help in
implementing the solution.

Regards,
Grant Husbands.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] failed certificate install

2008-09-30 Thread Rob Mensching
What version of the WiX toolset are you using?

-Original Message-
From: Ian Elliott (Excell Data Corporation) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2008 09:56
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] failed certificate install

I finally convinced my team to upgrade to Wix 3 and now our certificate 
installer is failing:

MSI (s) (C4:08) [15:50:50:560]: Invoking remote custom action. DLL: 
C:\WINNT\Installer\MSI13A.tmp, Entrypoint: InstallCertificates
InstallCertificates:  Error 0x80070057: Failed to open PFX file.
InstallCertificates:  Error 0x80070057: Failed to get SHA1 hash of certificate.
InstallCertificates:  Error 0x80070057: Failed to resolve certificate: 
ID_IDSAPICert


It worked fine under Wix 2. Is there a fix planned soon for this? What version 
of Wix 3 do I need to go back to for this to work correctly?
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] failed certificate install

2008-09-30 Thread Ian Elliott (Excell Data Corporation)
I finally convinced my team to upgrade to Wix 3 and now our certificate 
installer is failing:

MSI (s) (C4:08) [15:50:50:560]: Invoking remote custom action. DLL: 
C:\WINNT\Installer\MSI13A.tmp, Entrypoint: InstallCertificates
InstallCertificates:  Error 0x80070057: Failed to open PFX file.
InstallCertificates:  Error 0x80070057: Failed to get SHA1 hash of certificate.
InstallCertificates:  Error 0x80070057: Failed to resolve certificate: 
ID_IDSAPICert


It worked fine under Wix 2. Is there a fix planned soon for this? What version 
of Wix 3 do I need to go back to for this to work correctly?
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom Action Complexity (WiX 2)

2008-09-30 Thread Grant Husbands
Is there an easy way to define and use a custom action that handles 
files in some way (also handling rollback and uninstall correctly)?

Looking at the current mechanism, it's seems complicated and 
error-prone. Note: I got a friend to ask this same question at 
stackoverflow ; you don't need to go there 
to follow this email and I've included some answers, here.

If I create such a custom action, I want it to be rolled back correctly. 
I also want it to uninstall correctly and to have that roll back 
correctly. I need to give those parameters and I need to schedule 
everything. In all, that leads to 16 elements in the wxs, for what I 
perceive to be a single 'action', with a lot of copy and paste and 
conditions that seem like magical incantations and many seem to get 
wrong (REMOVE<>"ALL").

In answer, it has been suggested that I write a WiX extension for each 
such action; I presume that this isn't expected to be a typical use 
case, though. Also, writing an extension to WiX just for a custom action 
or two would probably be a little extreme.

Another suggestion has been to have an immediate, scheduled action that 
then schedules the appropriate (otherwise unscheduled) actions, based on 
context, and also sets their parameters. This leads to (I think) only 
four to six elements in the wxs, which is an improvement, but also leads 
to every such action having common code for setting up parameters, 
working out whether things are being installed or uninstalled and 
scheduling actions accordingly.

It seems to me that the ideal case would be having only one or two 
elements in the wxs, which would include a CustomAction looking 
something like this:


Could that be made to work? Is there an easy answer? Are there any plans 
for providing easy answers in WiX 3 or later? Am I just doing it wrong?

I have .NET development experience and may be able to help in 
implementing the solution.

Regards,
Grant Husbands.

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Any examples / samples of using built-in chainer?

2008-09-30 Thread DexterSinister

Just like the subject line says ...

Does anybody have any examples of WiX authoring that illustrate use of the
new chainer capabilities in Windows Installer v4.5 ?

Thanks in advance,

-dmm

-- 
View this message in context: 
http://n2.nabble.com/Any-examples---samples-of-using-built-in-chainer--tp1129096p1129096.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] My Dialog with WixUi

2008-09-30 Thread Neil Sleightholm
The text outlines how to insert a dialog but now I re-read it it is not too 
clear.

Neil

-Original Message-
From: Dieter Janzen [mailto:[EMAIL PROTECTED] 
Sent: 30 September 2008 13:42
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] My Dialog with WixUi

I made a new Dialog... If i get it right you show how you change an existing 
dialog, don't you?

> -Ursprüngliche Nachricht-
> Von: "Neil Sleightholm" <[EMAIL PROTECTED]>
> Gesendet: 30.09.08 14:35:54
> An: "General discussion for Windows Installer XML toolset." 
> 
> Betreff: Re: [WiX-users] My Dialog with WixUi


> >>Now I want to insert it somewhere between the Wixui Dialogs, is it
> somehow possible?
> 
> I have blogged about this here:
> http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html.
> I think it explains how you can do what you want to do.
> 
> Neil
> 
> Neil Sleightholm
> X2 Systems Limited
> [EMAIL PROTECTED]
> 
> 
> 
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 



Schon gehört? Bei WEB.DE gibt' s viele kostenlose Spiele:
http://games.entertainment.web.de/de/entertainment/games/free/index.html


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Re 3: Patching and sqlscript element (to Bob Arnson)

2008-09-30 Thread Victor V. Sergeev
I don't know how. I think that "pyro.exe" added new actions to ".MSP" 
file, but didn't include new binary data.
So, when I apply patch - I receive errors:
InstallSqlData:  Error 0x80070006: failed to get size of stream
...
InstallSqlData:  Error 0x80070006: failed to read SqlScripts table

>> > I'm try another way: add new component , but received  the same results. 
>> > SQLString worked, SQLScript doesn't.
>> >   
>> 
>
> How so?

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] My Dialog with WixUi

2008-09-30 Thread Dieter Janzen
I made a new Dialog... If i get it right you show how you change an existing 
dialog, don't you?

> -Ursprüngliche Nachricht-
> Von: "Neil Sleightholm" <[EMAIL PROTECTED]>
> Gesendet: 30.09.08 14:35:54
> An: "General discussion for Windows Installer XML toolset." 
> 
> Betreff: Re: [WiX-users] My Dialog with WixUi


> >>Now I want to insert it somewhere between the Wixui Dialogs, is it
> somehow possible?
> 
> I have blogged about this here:
> http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html.
> I think it explains how you can do what you want to do.
> 
> Neil
> 
> Neil Sleightholm
> X2 Systems Limited
> [EMAIL PROTECTED]
> 
> 
> 
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 



Schon gehört? Bei WEB.DE gibt' s viele kostenlose Spiele:
http://games.entertainment.web.de/de/entertainment/games/free/index.html


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] My Dialog with WixUi

2008-09-30 Thread Dieter Janzen
Hi,

I made a Dialog, where the user can enter some information. Now I want to 
insert it somewhere between the Wixui Dialogs, is it somehow possible?

Another Question: I have a Control Type:Edit. If i specify the text attribut 
its still empty at the beginning...
___
Jetzt neu! Schützen Sie Ihren PC mit McAfee und WEB.DE. 30 Tage
kostenlos testen. http://www.pc-sicherheit.web.de/startseite/?mc=00


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] My Dialog with WixUi

2008-09-30 Thread Neil Sleightholm
>>Now I want to insert it somewhere between the Wixui Dialogs, is it
somehow possible?

I have blogged about this here:
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html.
I think it explains how you can do what you want to do.

Neil

Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED]




-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] My Dialog with WixUi

2008-09-30 Thread Dieter Janzen
Hi,

I made a Dialog, where the user can enter some information. Now I want to 
insert it somewhere between the Wixui Dialogs, is it somehow possible?

Another Question: I have a Control Type:Edit. If i specify the text attribut 
its still empty at the beginning...
_
In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Created Directory structure not hierarchical

2008-09-30 Thread George Abraham

I have a wxs (shown below) where the directory structure (intended to be 
hierarchical by nesting Directory elements) does not get created as expected.
 
I have a custom action that determines the location of the IIS Root Path. For 
simplicity, I have used a Type 51 Custom Action that just sets a property value 
in this script instead of the real one that queries the location.
 
When I install the msi resulting from this script, the FAWS_Applications 
directory gets created as expected (under c:\inetpub\wwwroot\fpl) but the 
FAWS_XML directory that I expected to get created under FAWS_Applications, gets 
created under c:\applications instead.
 
What am I doing wrong?
 
Thanks for your help.
 
George
 
 http://schemas.microsoft.com/wix/2006/wi";>
  
    
    
      
    
    
  
    
  
    
  
    
  
    
  
    
  
    
  
    
 
  
  
  
  




  
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] COM registration weirdness

2008-09-30 Thread Troy Howard
So, in my efforts to resolve the .Net COM issues, I've tried out this
process:

1. Generate .reg files with regasm /regFile
2. Convert .reg files to .wxs using tallow (WiX2)
3. Fixup .wxs files using WixCop (WiX3).
4. Fixup those fixed-upped files removing the nested and duplicate registry
entries.
5. Rebuild...

Unfortunately, that's not working either.

After installation, the application that uses these DLLs just hangs when
attempting to call them. Before, when the registration was failing
completely, the application would error out with an "Cannot create ActiveX
object" type of error or "Automation error"... etc.. Now, it just silently
hangs without producing an error, but also without functioning... If I
register the DLLs on the target machine after that install using regasm
manually, everything works just fine.

I'm sort of at a loss on this one. I've tried everything I can think of, and
everything I've heard suggested on the 'net.. Is it always this complicated
to register .Net COM DLLs? Did I miss the easy route somehow?

Thanks,
Troy




On Mon, Sep 29, 2008 at 9:29 PM, Troy Howard <[EMAIL PROTECTED]> wrote:

> I appreciate the feedback. In the short term, I've added the SelfRegCost
> attribute to the file tags for the non-.Net COM DLLs, and that seems to work
> fine.
>
> As for the DLLs themselves, I have no idea what langauge they were written
> in. We're using them within a legacy VB6 app, and wiring in new
> functionality with .Net COM DLLs. The non-.Net stuff is all third party
> things that we've licensed, so I have no source code for that stuff. It's
> quite possible that somehting is happening outside of the norm with them
> guys, since none of them seem to be what I would call "high-quality software
> products".
>
> So, on the the .Net COM Interop registration... any idea why the basic
> output from heat wouldn't be doing the trick? What might it be missing?
> Should I just do a regasm /reg and then convert that to WiX code?
>
> Thanks,
> Troy
>
>
>
> On Mon, Sep 29, 2008 at 9:15 PM, Richard <[EMAIL PROTECTED]> wrote:
>
>>
>> In article <
>> [EMAIL PROTECTED]
>> >,
>> Rob Mensching <[EMAIL PROTECTED]>  writes:
>>
>> > If anyone does figure it out, it'd be good to understand what is going
>> on.
>> > I don't know VB (let alone VB6) and things work great for my C++/ATL
>> based
>> > COM objects.
>>
>> By the time its a COM object, VB6 or C++ it doesn't make any
>> difference.
>>
>> I would run RegMon and FileMon while you hand register the COM object
>> on a system where its never been registered before.  Then check to
>> make sure it isn't doing things inside its DllRegisterServer that its
>> not supposed to be doing (through filemon).  Its only supposed to be
>> setting registry values that deal with COM registration, but sometimes
>> people get lazy and do all sorts of crazy stuff in there.  I don't
>> know if VB6 lets you control that entry point or just does it for you
>> based on the kind of project you made.  At any rate, all that's
>> happening when you register the COM object with Windows Installer is
>> that its handling those registry entries for you.
>>
>> If you duplicate all of the registry entries, then it should work
>> fine.
>>
>> The key is going to be running some sort of utility that can tell you
>> how that component is interacting with the system when its
>> DllRegisterServer entry point is called.  Ultimately you could (ugh)
>> step through the assembly code as it executes to identify the missing
>> piece.
>> --
>> "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download
>>  
>> 
>> >
>>
>>Legalize Adulthood! 
>>
>> -
>> This SF.Net email is sponsored by the Moblin Your Move Developer's
>> challenge
>> Build the coolest Linux based applications with Moblin SDK & win great
>> prizes
>> Grand prize is a trip for two to an Open Source event anywhere in the
>> world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>
>
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] An issue with Perf Counters in wixV2

2008-09-30 Thread Rob Mensching
http://sourceforge.net/tracker/?group_id=105970&atid=642714

-Original Message-
From: Mukesh Agrawal [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2008 00:42
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] An issue with Perf Counters in wixV2

I am not using VS TFS. What is the name of the product studio database where I 
can file a bug ?

-Original Message-
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2008 10:58 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] An issue with Perf Counters in wixV2

Mukesh Agrawal wrote:
> Few lines before the error in the verbose log. This error occurs when I 
> cancel the unistallation and after the registry entries for counters have 
> been removed.

Please file a bug and attach the log and .msi.

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



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Output Window Suppresstion

2008-09-30 Thread derekj

Hi Bob,

yep worked it out myself.

thanks again

Derek


Rob Mensching-2 wrote:
> 
> QtExec?
> 
> -Original Message-
> From: derekj [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, September 23, 2008 03:28
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Output Window Suppresstion
> 
> 
> Hi,
> I have created a  MSI to deploy a database. I have custom actions that
> calls
> aspnet_regsql.exe for the database and the repective tables.
> 
> eg
> 
>  Value="C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regsql.exe" />
> 
>  ExeCommand="-S
> 127.0.0.1 -d PeritoTime -E -ed" Property="REGSQLLocationProperty" />
> 
> I have 13 tables to register plus the database itself. This means 14
> output
> windows open and close during the installation.
> 
> Is there anyway to suppress this?
> 
> regards
> 
> Derek
> --
> View this message in context:
> http://n2.nabble.com/Output-Window-Suppresstion-tp1112025p1112025.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> -
> This SF.Net email is sponsored by the Moblin Your Move Developer's
> challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the
> world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Output-Window-Suppression-tp1112025p1128264.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] An issue with Perf Counters in wixV2

2008-09-30 Thread Mukesh Agrawal
I am not using VS TFS. What is the name of the product studio database where I 
can file a bug ?

-Original Message-
From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 30, 2008 10:58 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] An issue with Perf Counters in wixV2

Mukesh Agrawal wrote:
> Few lines before the error in the verbose log. This error occurs when I 
> cancel the unistallation and after the registry entries for counters have 
> been removed.

Please file a bug and attach the log and .msi.

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



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users