Thanks Tony, can anyone tell me what I need to do next, seems like I am
having one of them weeks which ensures nothing goes to plan.  I have
included the code so maybe someone can say where next, even to the point of
what I have over looked.

Thanks

Joe

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: 17 January 2007 12:24
To: wix-users@lists.sourceforge.net
Subject: WiX-users Digest, Vol 8, Issue 113

Send WiX-users mailing list submissions to
        wix-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.sourceforge.net/lists/listinfo/wix-users
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of WiX-users digest..."


Today's Topics:

   1. Re: Registry key for com dll... (Bob Arnson)
   2. Re: Info Dialog (Bob Arnson)
   3. Re: automatically launching .Net framework install if it
      (.Net framework) is not present (Bob Arnson)
   4. Re: Set firewall exception (Andr? P?nitz)
   5. OK Why does this not work (Joe O'Sullivan)
   6. Re: OK Why does this not work (Tony Hoyle)
   7. Re: DIFx prompt shows up behind UI (J. J. Farrell)
   8. Build an shared side-by-side assembly merge module (Frank B?ttner)


----------------------------------------------------------------------

Message: 1
Date: Tue, 16 Jan 2007 22:13:12 -0800
From: Bob Arnson <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] Registry key for com dll...
To: John Cole <[EMAIL PROTECTED]>
Cc: "'wix-users@lists.sourceforge.net'"
        <wix-users@lists.sourceforge.net>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

John Cole wrote:
> Now I can change the value but since a user can re-target an installation,
I
> need to be able to set that value in the registry at installation time.
The
> same problem exists for files in C:\Windows\System32, those should be set
to
> the installers system 32 variable.
>   

Use [#fileId] formatted string to get the installed path of the file. 
See "Formatted" in the MSI SDK for details.

-- 
sig://boB
http://bobs.org





------------------------------

Message: 2
Date: Tue, 16 Jan 2007 22:10:43 -0800
From: Bob Arnson <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] Info Dialog
To: Jonas Abrams <[EMAIL PROTECTED]>
Cc: wix-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

Jonas Abrams wrote:
>
> I would like to display a dialog during my install if a specific 
> condition is met.  But after displaying the message I would like allow 
> the user to continue with the installation. 
>

One approach is the one I took with the WiX v3 installer: It shows a 
dialog early in the UI sequence, before the wizard has started. It 
offers OK and Cancel buttons. Take a look at src/Setup/Product.wxs and 
VStudio.wxs for the PrerequisitesDlg.

-- 
sig://boB
http://bobs.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://sourceforge.net/mailarchive/forum.php?forum=wix-users/attachments/200
70116/f1f646c9/attachment.html 

------------------------------

Message: 3
Date: Tue, 16 Jan 2007 22:12:12 -0800
From: Bob Arnson <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] automatically launching .Net framework
        install if it (.Net framework) is not present
To: [EMAIL PROTECTED]
Cc: wix-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="iso-8859-1"

[EMAIL PROTECTED] wrote:
> However I want my setup to launch Microsoft Component installer SDK or 
> .Net framewrok installer to automatically install the .Net framework 
> if needed. 

You can't do that from your .msi because .NET is installed via MSI and 
you can't have two MSIs running simultaneously. The current Visual 
Studio bootstrapper has been discussed on this list recently and seems 
to be the leading favorite for bootstrappers ready to use.

-- 
sig://boB
http://bobs.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://sourceforge.net/mailarchive/forum.php?forum=wix-users/attachments/200
70116/c1f9b901/attachment.html 

------------------------------

Message: 4
Date: Wed, 17 Jan 2007 09:19:06 +0100
From: Andr? P?nitz <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] Set firewall exception
To: <wix-users@lists.sourceforge.net>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="iso-8859-1"

> David Thielen
> It's all peer to peer, no server. So each AddIn listens for the UDP
> broadcasts and replies to the broadcaster saying they exist.
> 
> The broadcast occurs at startup and if the number of replies is greater
> than the license allows that AddIn is disabled. So the first N can run,
> the rest cannot.

I can imagine a couple of scenarios - intentional and less intentional -
where the answer won't reach the sender and so the sender would startup
no matter how many instances of the plugin are already running.

It's much harder to imagine how reliable licence management is supposed
to work under such circumstances...

Andre'

PS: A bit more on topic: I also think that such configuration is not the
business of the installer as it is very likely to fail and rollback will
be messy.



------------------------------

Message: 5
Date: Wed, 17 Jan 2007 11:24:39 -0000
From: "Joe O'Sullivan" <[EMAIL PROTECTED]>
Subject: [WiX-users] OK Why does this not work
To: <WiX-Users@lists.sourceforge.net>
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain;       charset="us-ascii"

I have spent to long looking at the same thing. This to me means I am
missing something very easy.

Here is my code

<?xml version='1.0'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2003/01/wi'>
   <Product Id='{308B164C-47F0-4f28-9DCE-7977275267DB}' Name='My Installer'
Language='1033'
            Version='1.0.0.0' Manufacturer='It is me'>
      <Package Id='{2E3F9933-5681-429a-BD56-7B2B5A9D4214}'
                Description='Windows Installer package for My files'
                Comments='Installer for My Installer database'
                Manufacturer='It Is Me' InstallerVersion='200'
Compressed='yes' />
 
      <Media Id='1' Cabinet='product.cab' EmbedCab='yes' />
 
      <Directory Id='SourceDir' Name='SourceDir'>
         <Directory Id='ProgramFilesFolder' Name='PFDir'>
            <Directory Id='Top' Name='Top' LongName='Top Level'>
                <Directory Id='FL' Name='FL' LongName='FolderT'>
                        <Component Id='MyComponent'
Guid='{C12C3500-2376-4c7d-B40F-9007A6EC59A9}'>
                        <File Id='MyEXE' Name="MyE"
LongName='MyExecutable.exe' DiskId='1' src='MyExecutable.exe' />
                        </Component>
                </Directory>
            </Directory>
         </Directory>
      </Directory>
 
      <Feature Id='MyFeature' Title='My 1st Feature' Level='1'>
         <ComponentRef Id='MyComponent' />
      </Feature>      

      <InstallExecuteSequence>
         <Custom Action='ManagedInstall' After="InstallFinalize" />
      </InstallExecuteSequence>
 
      <CustomAction Id="ManagedInstall"
            Directory='FolderT'
            ExeCommand='"[ProgramFilesFolder]\Top
Level\FolderT\MyExecutable.exe" '
            Return='check'>
      </CustomAction>
   </Product>
</Wix>

This will compile fine when I run it I get "The Installer has encountered an
unexpected error installing this package. This may indicate a problem with
this package. The Error Code is 2721"

What am I doing wrong arrrgh! :-}






------------------------------

Message: 6
Date: Wed, 17 Jan 2007 11:37:20 +0000
From: Tony Hoyle <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] OK Why does this not work
To: wix-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Joe O'Sullivan wrote:
> This will compile fine when I run it I get "The Installer has encountered
an
> unexpected error installing this package. This may indicate a problem with
> this package. The Error Code is 2721"
> 
> What am I doing wrong arrrgh! :-}

That's 'can't find custom action'.

That CustomAction definition looks wrong to me.  You haven't defined 
what FolderT is and you're trying to run it before the file is actually 
installed (I think.. someone will be along to correct me in a minute).

Tony



------------------------------

Message: 7
Date: Wed, 17 Jan 2007 03:43:20 -0800 (PST)
From: "J. J. Farrell" <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] DIFx prompt shows up behind UI
To: wix-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=us-ascii


From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 15, 2007 11:52 PM

 Quinton Tormanen wrote: 

I've just switched from our own custom action (calling a DLL function) to
using DIFxApp with WiX. I've found that I have to leave the
DriverPlugAndPlayPrompt set to "yes", or the install will fail on Vista if
my USB device isn't plugged in when the install runs. However, almost as
bad, I've found that on Vista, with this prompt enabled, the prompt shows up
entirely hidden behind the Windows Installer UI, which leaves the user with
only the Cancel button enabled and a hidden prompt. This is definitely going
to mess up a lot of our customers.

I realize that this question is on the fine line between DIFx and WiX, but
I'm hoping that there is a workaround in WiX, or perhaps someone with
experience with using DIFx in WiX that can help with this issue: How do I
make the DriverPlugAndPlayPrompt either display in FRONT of my UI, or not at
all on Windows Vista?

That's usually caused by using the wrong parent window. There's nothing WiX
can do about it but it might be a bug in DifxApp they can fix by getting the
right parent window.


I have a problem in the same general area, and this sounds like a clue to
it. For historical reasons I'm doing driver installation from deferred
custom actions (written in C) using the SetupAPI on Windows 2000 and 2003. I
have a similar problem in that prompts from SetupAPI pop up behind the
installer UI, sometimes entirely hidden by it.

Several SetupAPI functions have a 'handle' parameter described as

Optional pointer to the window handle to the window that owns any dialog
boxes that are generated during installation, such as for disk prompting or
file copying. If Owner is not specified, these dialog boxes become top-level
windows.

At the moment I'm setting these SetupAPI parameters to NULL. I'm guessing
from Bob's message that I can solve this problem by passing a handle to the
Installer UI window instead of NULL. Does this sound right? I know almost
nothing about Windows UI programming, so my main question is: how should a C
deferred custom action get hold of a handle to the installer UI window for
passing to these SetupAPI routines?

Thanks for any suggestions, or pointers in the right direction if I've got
this all wrong.

-- 
View this message in context:
http://www.nabble.com/RE%3A--WiX-users--DIFx-prompt-shows-up-behind-UI-tf302
6760.html#a8408778
Sent from the wix-users mailing list archive at Nabble.com.




------------------------------

Message: 8
Date: Wed, 17 Jan 2007 13:23:43 +0100
From: Frank B?ttner <[EMAIL PROTECTED]>
Subject: [WiX-users] Build an shared side-by-side assembly merge
        module
To: wix-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset="utf-8"

Hello, how can I build an merge module witch will be installed as shared
side-by-side assembly under the WinSxS folder under the OS.
The files that must installed are C++ files compiled with the VS C++
2005 Express. So I thing it must be possible. But how.
At first I have build an default merge module but the files in it will
be installed in the directory where the application is installed. But so
 every of my apps has an copy of the merge module files(witch waste much
space). So I will only need one copy of it. And to escape the DLL hell I
 will use the side-by-side assembly system.

Thanks for your help

Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4285 bytes
Desc: S/MIME Cryptographic Signature
Url :
http://sourceforge.net/mailarchive/forum.php?forum=wix-users/attachments/200
70117/9e98b5b1/attachment.bin 

------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV

------------------------------

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


End of WiX-users Digest, Vol 8, Issue 113
*****************************************




-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to