Turn on the MSI logging registry key and check out the verbose log file.  It'll 
tell you which component is getting reinstalled.  The EventViewer will also 
give you the Component GUID but I find the verbose log file easier to work 
through.

-----Original Message-----
From: Arun Kumar A V [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2008 14:33
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Shortcuts created in ALLUSER mode invokes MSI installer


I am creating some shortcuts in my Wix installer script under ALL USER, by 
setting the property value to 1. My shortcuts do get created in 
ProgramMenuFolder under All Users section, and are visible to all users, 
irrespective of who installed it.

But, when a user (not the one who installed it)  clicks on a shortcut, it tries 
to run the msi installer again and goes looking for the original msi used to 
perform the installation.


I am not sure, how to avoid this behaviour ? User performing the initial intall 
is infact admin on the machine, and the installation doesnt give any error. But 
shortcuts for some reason doesnt seem to work for a different user.

Any idea why this happens ?

thanks for your help in advance.
Arun




________________________________
From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
To: wix-users@lists.sourceforge.net
Sent: Wednesday, October 29, 2008 4:47:44 PM
Subject: WiX-users Digest, Vol 29, Issue 224

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: Store an RTF string in a Property? (Rob Mensching)
   2. memory question (Natxo Mateos)
   3. Re: StartMetabaseTransaction: Error 0x8007041d: failed    to get
      IID_IIMSAdminBase object ( S?bastien Mouren )
   4. Directories in merge module (Ulf Jonson)
   5. Re: Directories in merge module (Rob Mensching)
   6. MSMQ Error (David Gonzalez)


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

Message: 1
Date: Wed, 29 Oct 2008 11:33:47 -0700
From: Rob Mensching <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] Store an RTF string in a Property?
To: General discussion for Windows Installer XML toolset.
    <wix-users@lists.sourceforge.net>
Message-ID:
    <[EMAIL PROTECTED]>

Content-Type: text/plain; charset="us-ascii"

>From the MSI SDK: http://msdn.microsoft.com/en-us/library/aa371540.aspx

"ScrollableText Control

This control displays a long string of text that cannot fit entirely on the 
page. A common use for this control is displaying the license agreement.

Note that the string of text used with this control cannot contain an embedded 
property. To display text with embedded properties use instead the Text 
Control."


Other things: http://blogs.msdn.com/robmen/archive/2006/05/30/610950.aspx


-----Original Message-----
From: Andrew Kendall [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2008 08:46
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Store an RTF string in a Property?

Hi All,

Is it valid to hold a RTF string in a Property, like this:

<Property Id="CONFIRMINSTALLRTF" 
Value="{\rtf1\ansi\deff0{\fonttbl{\f0\fnil\fcharset0 MS Sans 
Serif;}}\viewkind4\uc1\pard\lang1033\f0\fs17 Some text\par }" />

and then use this property in a ScrollableText control of a dialog:

<Control Id="SummaryText" Type="ScrollableText" X="20" Y="80" Width="330" 
Height="100" Sunken="no" TabSkip="yes">
<Text>[CONFIRMINSTALLRTF]</Text>
</Control>

If so, I'm doing something wrong, as the example text does not appear in the 
dialog :(

I'm actually trying to create a summary dialog at the end of the gui sequence, 
to confirm to the user what will be installed. I want to present some free-form 
text, so it seems that using a ScrollableText control is a better idea than, 
say, a bunch of Text controls.

I've seen a post showing how a Custom Action can insert RTF text into a MSI db 
Control record, so I was hoping I could do the same with a Property, ie 
MsiSetProperty. As with most of what I've gleaned about MSI/Wix, it's all a 
hideously painful struggle to make any progress, and so once again, my 
dejection has got the better of me and I eagerly look for pointers/assistance 
from the WWW (World Wide Wix) community. Many thanks for your time and 
attention.

Yours truly,
Andrew Kendall




-------------------------------------------------------------------------
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




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

Message: 2
Date: Wed, 29 Oct 2008 19:44:17 +0100
From: Natxo Mateos <[EMAIL PROTECTED]>
Subject: [WiX-users] memory question
To: wix-users@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hi,

I'm having some problems with memory failures when using TinyXML and I'm
not sure how to handle the pointers destruction.

That's a simplification of my program structure :

XML_Write()
{
    TiXmlDocument xdoc();

    TiXmlElement *pMainElem= new TiXmlElement("Main");
    pMainElem->SetAttibute(...);
    ...
    xdoc.LinkEndChild(pMainElem);

    XML_WriteA(pMainElem);
    ...
    xdoc.SaveFile();
}

XML_WriteA(TiXmlElement *pXmlParent)
{
    TiXmlElement *pElemA = new TiXmlElement("Elem A");
    pElemA->SetAttibute(...);
    ...
    XML_WriteB(pElemA);

    pXmlParent->LinkEndChild(pElemA);
}

XML_WriteB has the same structure than XML_WriteB, and so on...

My main question if it's needed to delete all the TiXmlElement's and
TiXmlText's objects that I've created and if so in what order.

Thanks in advance.
--

Regards,

*Natxo Mateos*
[EMAIL PROTECTED]

*Asuni CAD* - _www.asuni.es <http://www.asuni.es>_ - 93 319 6868 - 91
541 6439
*Especialistas en el desarrollo de aplicaciones a medida sobre AutoCAD*



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

Message: 3
Date: Wed, 29 Oct 2008 20:34:08 +0100
From: " S?bastien Mouren " <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] StartMetabaseTransaction: Error 0x8007041d:
    failed    to get IID_IIMSAdminBase object
To: "General discussion for Windows Installer XML toolset."
    <wix-users@lists.sourceforge.net>
Message-ID:
    <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=UTF-8

2008/10/29 Andres Juarez <[EMAIL PROTECTED]>:
> Adding subject to this thread.
>
> Hi Sebastien, thanks for answering.
>
> By reading the event viewer log I would tend to think this is an IIS issue 
> and not an installer issue.
>
> I am not sure how can the installer be badly authored, all we are using for 
> dealing with IIS are the native WIX CAs. The error comes from the below CA
>
>
> <CustomAction Id="StartMetabaseTransaction" Return="check" Execute="deferred" 
> Impersonate="no" BinaryKey="ScaExecute" DllEntry="StartMetabaseTransaction" />
>
> Also this only happens in 2% of the boxes, and it works fine after a reboot 
> of the box. The rest of the boxes, and we are talking about 1000s seem to 
> work fine. The setup of the web site has not changed for at least a 2 years 
> and we never got this issue. Could it be a bad set of boxes?
>
> thanks

You delivered too few details.
What does ExecXmlFile, your previous custom action?
Are you sure the edit-while-running property of IIS 6.0 metabase is
set for machine that failed? Do you stop the service with another
custom action?



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

Message: 4
Date: Wed, 29 Oct 2008 21:20:27 +0100
From: "Ulf Jonson" <[EMAIL PROTECTED]>
Subject: [WiX-users] Directories in merge module
To: wix-users@lists.sourceforge.net
Message-ID:
    <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1

Hi ,

I have a merge module created in Wix that I use with my other
installation tool (Wise). When I add the merge module I can specify
the folder where the files should be installed. This works fine.

  <Module Id="MyModule" Language="1033" Version="0.20.2">
    <Package Id="aGuid..." Manufacturer="Acme" InstallerVersion="200" />
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="INSTALLDIR">
        <Component Id="File_Component" Guid="aGuid...">
          <File Id="FileId" Name="file1.txt" KeyPath="yes" />
        </Component>
      </Directory>
    </Directory>
  </Module>

fil1.txt ends up in the specified folder.

Now I want to add a file to the merge module that should go to another
folder that is created in my main msi. (ROOTDRIVE = C:\ in my msi)

C:\MyFolder1\MyFolder2


Is it possible? How do I do that? I have tried in different ways but
the file ends up at the same location as file1.txt .

BR Ulf



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

Message: 5
Date: Wed, 29 Oct 2008 13:31:33 -0700
From: Rob Mensching <[EMAIL PROTECTED]>
Subject: Re: [WiX-users] Directories in merge module
To: General discussion for Windows Installer XML toolset.
    <wix-users@lists.sourceforge.net>
Message-ID:
    <[EMAIL PROTECTED]>

Content-Type: text/plain; charset="us-ascii"

MSI SDK documents how the TARGETDIR directory can be redirected.  The WiX Merge 
element can be nested under the directory you want targeted.

-----Original Message-----
From: Ulf Jonson [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 29, 2008 13:20
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Directories in merge module

Hi ,

I have a merge module created in Wix that I use with my other
installation tool (Wise). When I add the merge module I can specify
the folder where the files should be installed. This works fine.

  <Module Id="MyModule" Language="1033" Version="0.20.2">
    <Package Id="aGuid..." Manufacturer="Acme" InstallerVersion="200" />
    <Directory Id="TARGETDIR" Name="SourceDir">
      <Directory Id="INSTALLDIR">
        <Component Id="File_Component" Guid="aGuid...">
          <File Id="FileId" Name="file1.txt" KeyPath="yes" />
        </Component>
      </Directory>
    </Directory>
  </Module>

fil1.txt ends up in the specified folder.

Now I want to add a file to the merge module that should go to another
folder that is created in my main msi. (ROOTDRIVE = C:\ in my msi)

C:\MyFolder1\MyFolder2


Is it possible? How do I do that? I have tried in different ways but
the file ends up at the same location as file1.txt .

BR Ulf

-------------------------------------------------------------------------
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




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

Message: 6
Date: Wed, 29 Oct 2008 13:47:34 -0700
From: David Gonzalez <[EMAIL PROTECTED]>
Subject: [WiX-users] MSMQ Error
To: "wix-users@lists.sourceforge.net"
    <wix-users@lists.sourceforge.net>
Message-ID:
    <[EMAIL PROTECTED]>

Content-Type: text/plain; charset="us-ascii"

Greetings to all,
I am currently using Wix to install some MSMQueues, I get a successful build 
but the installer fails. When I look at the log it says this:

MessageQueuingExecuteInstall:  Error 0xc00e0005: Failed to create message queue
MessageQueuingExecuteInstall:  Error 0xc00e0005: Failed to create message 
queue, key: MyInputQueue
MessageQueuingExecuteInstall:  Error 0xc00e0005: Failed to create message queues

It doesn't say why, the corresponding wix code is this:
<Component Id="MessageQueues" Guid="dca22afe-482b-4eae-a50b-dc92d8a396aa" 
Directory="APPLICATIONROOTDIRECTORY" KeyPath="yes">
<msmq:MessageQueue Id="MyInputQueue" PathName="[ComputerName]\Private$" 
Label="MyInputQueue" Transactional="yes">

      </msmq:MessageQueue>

<msmq:MessageQueue Id="MySecondInputQueue" PathName="[ComputerName]\Private$" 
Label="MySecondInputQueue" Transactional="yes">

      </msmq:MessageQueue>
</Component>


Is there anything missing, (I do have messagequeue permissions being set but I 
commented them out) or is something wrong with the MSMQ extension.

Any insight would be helpful
Thanks in advance,
David


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

-------------------------------------------------------------------------
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


End of WiX-users Digest, Vol 29, Issue 224
******************************************




-------------------------------------------------------------------------
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

Reply via email to