[WiX-users] BUG: Group cannot be added to component.

2008-06-13 Thread Adrian Lewis

Extract from util.xsd
 
 
 

http://schemas.microsoft.com/wix/2006/wi"; ref="Fragment" 
/>
http://schemas.microsoft.com/wix/2006/wi"; ref="Module" />
http://schemas.microsoft.com/wix/2006/wi"; ref="Product" 
/>
http://schemas.microsoft.com/wix/2006/wi"; 
ref="Component" />

 
The last parent element (marked in bold if you're in HTML land) is missing from 
util.xsd
 
The rest of the Util extension appears to support Group nodes as children of 
component.
Adrian "Demented Devil" LewisIf it's ain't broke, break it THEN fix it! 



 -
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Mixed-case guids

2008-06-13 Thread Justin Rockwood
Votive does not do any conversion. We tried to get all uppercase letters for
the GUID, but Visual Studio automatically generates those when it creates
the project templates. There may be a way around it by using the Wizard
infrastructure, but it was a low priority item.

Justin

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Neil Enns
Sent: Thursday, June 12, 2008 12:32 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Mixed-case guids

Does Votive do the actual conversion or is it candle.exe?

Neil

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexander
Shevchuk
Sent: Thursday, June 12, 2008 12:07 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Mixed-case guids

>Does anyone know why mixed-case guids generate and error from candle if
>you turn on the -pendantic flag? Is it just a coding style or is there a
>problem with them? (It looks like candle forces them uppercase in the
>wixobj file.)


That's because GUID type in windows installer
(http://msdn.microsoft.com/en-us/library/aa368767(VS.85).aspx) requires
letters to be uppercase.  The fact that Votive creates GUIDs in mixed case
and silently converts them to upper case during compilation is another
story.


Alex

PS.  Weird.  I had to subscribe again to be able to send this response.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Mixed-case guids

2008-06-13 Thread Justin Rockwood
Can you explain what you mean by "proper GUIDs"? I wasn't aware that Votive
was generating bad GUIDs.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexander
Shevchuk
Sent: Thursday, June 12, 2008 3:35 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Mixed-case guids

Votive generates Product ID and UpgradeCode GUIDs which, from the Windows
Installer point, are wrong.
That may not be an issue if we assume that nobody will "enhance" msi files
manually or using Windows Installer API and using GUID from Votive-generated
template.  I'd rather see a warning from the compiler when GUIDs are not
upper-cased and Votive to generate proper GUIDs.  That way people will come
to a habit of using proper GUID values and that might save them time later
on fighting some strange problems in their installers because of bad GUID.

Alex



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jason
Ginchereau
Sent: Thursday, June 12, 2008 12:46 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Mixed-case guids

Candle upper-cases the guids for you. But many other MSI tools and APIs
don't, so one could make a pedantic argument that it's better to have them
upper-case in the source code for better copy-pasting.

-Jason-

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Neil Enns
Sent: Thursday, June 12, 2008 12:32 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Mixed-case guids

Does Votive do the actual conversion or is it candle.exe?

Neil

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Alexander
Shevchuk
Sent: Thursday, June 12, 2008 12:07 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Mixed-case guids

>Does anyone know why mixed-case guids generate and error from candle if
>you turn on the -pendantic flag? Is it just a coding style or is there a
>problem with them? (It looks like candle forces them uppercase in the
>wixobj file.)


That's because GUID type in windows installer
(http://msdn.microsoft.com/en-us/library/aa368767(VS.85).aspx) requires
letters to be uppercase.  The fact that Votive creates GUIDs in mixed case
and silently converts them to upper case during compilation is another
story.


Alex

PS.  Weird.  I had to subscribe again to be able to send this response.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to make the ProgramMenuDir configurable?

2008-06-13 Thread Markus Wagner
Hi Volker,

If you use a custom action to set a directory with a property value you have
to ensure that you save the property value somewhere. Otherwise you have a
problem during uninstall if the property has an other value than during
install.

Unfortunatly you notice this not until the uninstall when your files will
not be removed.

In my projects I save the property value in the registry. And it works fine.

Markus


-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Im Auftrag von Volker
Enderlein
Gesendet: Freitag, 6. Juni 2008 20:59
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] How to make the ProgramMenuDir configurable?


Volker Enderlein schrieb:
> Bob Arnson schrieb:
>> Volker Enderlein wrote:
>>> i came across the idea of making the ProgramMenuDir configurable as
>>> InstallShield and other installers do. You can give a different name to 
>>> the program group. Is that possible in WiX and if yes how?
>>>   
>> Create a subdirectory of ProgramMenuFolder and you can give it any 
>> name
>> you want.
>>
> 
> Thanks for your answer Bob, but I think I need to clarify the
> difficulties I am facing.
> 
> I know how to place a directory under the ProgramMenuFolder like
> 
> 
> 
> 
> 
> But say I have a property GROUPSEL which has been set in a UIDialog 
> and
> want to use this name. How would I do that?
> 
> 
>
>
>
>
>
> 
> 
> 
> I searched the archives and the help manual, but don't find a properly
> solution. Maybe it's simply related using the wrong keywords.
> 
> Thank you, Cheers Volker
> 
I knew I was missing some fundamentals of WiX. I found the answer 
reading the wix tutorial a second time more carefully.



should do the trick.

Thanks agaín for your answer.

Keep up the good work, Cheers Volker

-- 
Volker Enderlein   Institut für Mechatronik e.V. an der
Tel: +49 (0)371 53119651   Technischen Universität Chemnitz
Fax: +49 (0)371 53119699   Reichenhainer Strasse 88
email: [EMAIL PROTECTED]   D-09126 Chemnitz

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Attach a database

2008-06-13 Thread Rob Mensching
We're working on getting the WiX v3 documentation up there.  However, every 
download of the WiX toolset includes an up to date (as much as we have it) 
version of the WiX.chm.  That should contain all the information...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tim Fisher
Sent: Friday, June 13, 2008 08:25
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Attach a database

Turns out the sourceforge wix2 documentation regarding the SqlDatabase
element is still valid for wix3's version of SqlDatabase.

http://wix.sourceforge.net/manual-wix2/wix_xsd_sqldatabase.htm

Wow, if we could just have one place for all the documentation, it
would really help a lot with the confusion and frustration of trying
to learn wix.

Tim

On Thu, Jun 12, 2008 at 6:18 PM, Tim Fisher <[EMAIL PROTECTED]> wrote:
> I created a new wxs file with a Fragment in it, then I moved my SqlDatabase
> element over into the Fragment element like this:
>
> http://schemas.microsoft.com/wix/2006/wi";
> xmlns:sql="http://schemas.microsoft.com/wix/SqlExtension";>
>
> Database="master">
> RollbackOnInstall="yes" SQL="DROP DATABASE [\[][DBNAME][\]]" Sequence="1" />
> SQL="CREATE DATABASE [\[][DBNAME][\]] ON (FILENAME=N'[#MDF]') FOR ATTACH"
> Sequence="2" />
> Sequence="3" />
>
>
> 
>
> Now I have two new questions.
>
> First, how do I reference this SqlDatabase element over in the Component
> element that uses it over in the main wxs file?
>
> Second, when I try to compile I get, "SqlString element cannot be specified
> unless the element has a component as an ancestor." How did you get your
> SqlStrings to work using a Fragment?
>
> Tim
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
> Sent: Friday, June 06, 2008 12:46 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Attach a database
>
> If you place the SqlDatabase element under a Component element that will
> attempt to create the database.  My SqlDatabase element is a direct child of
> one of my Fragment elements.  It is a little confusing but that causes the
> SqlDatabase element to search for an existing database.  Unfortunate naming
> a long time ago that hasn't been straightened out.
>
>
>

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Environment Variable Installation

2008-06-13 Thread Arunkumar Viswanathan
Thanks! I changed System="yes" since that's what we too need.

-Arun

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chad Petersen
Sent: 2008-Jun-13 Fri 2:29 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Environment Variable Installation

If you set System="no" then I believe this change would only apply to
the user that is logged in at the time the installer is run. System
variables apply to everyone and user variables don't. As long as that is
what you want I don't see any other problems. I do nearly the exact same
in a product we have been shipping for nearly 4 years now, except mine
is a System variable since the person logged in when running the install
may not always be the person logged into the machine during normal
operations.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arunkumar
Viswanathan
Sent: Friday, June 13, 2008 7:29 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Environment Variable Installation

Hi guys,

 

I want to append data to the PATH environment variable when LotusNotes
is
installed in a machine. This is the logic I came up with and I just want
to
confirm this is the right way of doing things.

I create a property based on a registry search and then install the
environment variable via a component with a condition. If there is a
better
way of doing this do let me know. Thanks in advance.

 



   



 

 





 



 

- Arun

 

 


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Setting properties

2008-06-13 Thread Brian Simoneau
What you have is not terribly messy, at least when it comes to Windows
Installer.  As an aside, you should use a default level of 1 on your
features and then set a condition to change the level to 0 if necessary.
This will help if you use administrative images to build patches since
the conditions are not evaluated and the default value is always used.

-Brian Simoneau 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Friedrich
Dominicus
Sent: Friday, June 13, 2008 1:00 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Setting properties

"Brian Simoneau" <[EMAIL PROTECTED]> writes:

> Use a custom action to set ANOTHER_PROP to PROP1 with a condition that
> PROP1 exists.  Something like
>  Value="[PROP1]"/>
> PROP1
> You can do the same thing for PROP2 or set PROP2 as the default value
of
> ANOTHER_PROP since it is the else case.

Well I found that out myself, but the Custom action has to be placed
before CostFinalize IIRC.

I tried that and that was find, but (well I should have know better)

I need the following sequence
lookup a value in the Registry 
if that value is set use it's value for an installation
if it's not set check another registry entry 
if that's found use it's value for the location to where I have to
install.


I should have written it much mor clearly.

Word looks for Macros first in the HKCR\Software\Microsoft
Office\Office??\Word\Options hieve 
if there is an entry with value STARTUP-PATH it uses this.
if this path is not set  it looks up HKCR\Softwre\Microsoft
Office\Office??\Options
this time value PROGRAMDIR then it takes this as first part and append
a Startup to it. 

So I like to place my macro in the proper place and I just have come
up with ugliest code..




  
  OFFICE11_INSTALL_DIR




  
  OFFICE11_PROG_DIR and not
OFFICE11_INSTALL_DIR



Which I found a terrible mess, so isn't ther some more elegant way to
achieve what I like?

Can't be that hard, but as usuall the docs leave much more open then
explain

Regards
Friedrich



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Environment Variable Installation

2008-06-13 Thread Chad Petersen
If you set System="no" then I believe this change would only apply to
the user that is logged in at the time the installer is run. System
variables apply to everyone and user variables don't. As long as that is
what you want I don't see any other problems. I do nearly the exact same
in a product we have been shipping for nearly 4 years now, except mine
is a System variable since the person logged in when running the install
may not always be the person logged into the machine during normal
operations.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Arunkumar
Viswanathan
Sent: Friday, June 13, 2008 7:29 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Environment Variable Installation

Hi guys,

 

I want to append data to the PATH environment variable when LotusNotes
is
installed in a machine. This is the logic I came up with and I just want
to
confirm this is the right way of doing things.

I create a property based on a registry search and then install the
environment variable via a component with a condition. If there is a
better
way of doing this do let me know. Thanks in advance.

 



   



 

 





 



 

- Arun

 

 


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] using one property to set another

2008-06-13 Thread Alexander Shevchuk
You can't "embed" RegistrySearch inside custom action.  RegistrySearch is what 
will be called by standard AppSearch 
(http://msdn.microsoft.com/en-us/library/aa367578(VS.85).aspx) action.  What 
you need to do is write either scripting or C/C++ dll custom action, do 
registry search using code and then set the value of some property to a value 
from the registry.

Alex




-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Natxo Mateos
Sent: Friday, June 13, 2008 12:01 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] using one property to set another

Hi,

I'm not sure if I'm responding in the correct mode. I mean, how it's supposed 
to response a mail via the sourceforge list.

I'm don't know how to embed a RegistrySearch elemenent inside
a CustomAction. What I've done is set to a property :

*



*

But obviously doesn't compile. How it's supposed to be done? I'm newbie
with installers and I'm finding quite complicate to work with a
non-procedural installer way.

One last question. After the CA is correctly defined, to force that
custom action to be executed after another one would be like this:






Thanks in advance.


--

Regards,

*Natxo Mateos*
[EMAIL PROTECTED]

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

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Attach a database

2008-06-13 Thread Tim Fisher
Turns out the sourceforge wix2 documentation regarding the SqlDatabase
element is still valid for wix3's version of SqlDatabase.

http://wix.sourceforge.net/manual-wix2/wix_xsd_sqldatabase.htm

Wow, if we could just have one place for all the documentation, it
would really help a lot with the confusion and frustration of trying
to learn wix.

Tim

On Thu, Jun 12, 2008 at 6:18 PM, Tim Fisher <[EMAIL PROTECTED]> wrote:
> I created a new wxs file with a Fragment in it, then I moved my SqlDatabase
> element over into the Fragment element like this:
>
> http://schemas.microsoft.com/wix/2006/wi";
> xmlns:sql="http://schemas.microsoft.com/wix/SqlExtension";>
>
> Database="master">
> RollbackOnInstall="yes" SQL="DROP DATABASE [\[][DBNAME][\]]" Sequence="1" />
> SQL="CREATE DATABASE [\[][DBNAME][\]] ON (FILENAME=N'[#MDF]') FOR ATTACH"
> Sequence="2" />
> Sequence="3" />
>
>
> 
>
> Now I have two new questions.
>
> First, how do I reference this SqlDatabase element over in the Component
> element that uses it over in the main wxs file?
>
> Second, when I try to compile I get, "SqlString element cannot be specified
> unless the element has a component as an ancestor." How did you get your
> SqlStrings to work using a Fragment?
>
> Tim
>
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
> Sent: Friday, June 06, 2008 12:46 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Attach a database
>
> If you place the SqlDatabase element under a Component element that will
> attempt to create the database.  My SqlDatabase element is a direct child of
> one of my Fragment elements.  It is a little confusing but that causes the
> SqlDatabase element to search for an existing database.  Unfortunate naming
> a long time ago that hasn't been straightened out.
>
>
>

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Environment Variable Installation

2008-06-13 Thread Arunkumar Viswanathan
Hi guys,

 

I want to append data to the PATH environment variable when LotusNotes is
installed in a machine. This is the logic I came up with and I just want to
confirm this is the right way of doing things.

I create a property based on a registry search and then install the
environment variable via a component with a condition. If there is a better
way of doing this do let me know. Thanks in advance.

 



   



 

 





 



 

- Arun

 

 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Uninstall without ugly UAC prompt

2008-06-13 Thread Christopher Painter
While it's true that Windows Installer breaks the digital certificates by 
stripping out the storage before caching the package,  one could do their own 
caching of their complete package ( Think c:\MsoCache ) and then bypass Windows 
Installer built-in ARP support with your own registration to wire up the 
uninstall action to your own package.   That should give you a correctly 
displayed UAC prompt.   However you can't bypass the prompt all together 
without turning off UAC.

Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me


--- On Fri, 6/13/08, Ryan O'Neill <[EMAIL PROTECTED]> wrote:

> From: Ryan O'Neill <[EMAIL PROTECTED]>
> Subject: Re: [WiX-users] Uninstall without ugly UAC prompt
> To: "'General discussion for Windows Installer XML toolset.'" 
> 
> Date: Friday, June 13, 2008, 7:08 AM
> This is a Windows Installer issue, you can't work around
> it. More info @
> http://blogs.msdn.com/astebner/archive/2006/12/03/uac-prompt-from-unidentifi
> ed-publisher-appears-when-uninstalling-msis-on-windows-vista.aspx
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf
> Of Xenia Holtmann
> Sent: 13 June 2008 12:38
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Uninstall without ugly UAC prompt
> 
> I've got a problem during uninstalling my software.
> First some information
> about the structure of the installer. The installer
> (setup.msi) is wrapped
> by
> a self-written bootstrapper that is digital signed and has
> a correct
> manifest. During install there are no problems, all looks
> fine even the UAC
> prompt that comes during installation. This UAC
> authenticates my company
> correct.
> 
>  
> 
> But when uninstalling the product, an UAC dialog with the
> text "An
> unidentified program wants to access to your computer ...
> Unidentified
> Publisher..." is raised. But how can this be when both
> the bootstrapper and
> msi file is digital signed? I would have expected that the
> name of my
> company
> will be shown in this UAC.  Which file is used during
> uninstall that I have
> to sign, too? 
> 
>  
> 
> Thanks,
> 
> Xenia.
> 
>  
> 
>  
> 
> Mit freundlichen Grüßen,
> 
>  
> 
> Xenia Holtmann
> 
> Projekt-Managerin
> 
> BRAVIS GmbH
> 
>  
> 
> -- 
> 
> BRAVIS GmbH, Gerhart-Hauptmann-Str. 15/Süd 9, D-03044
> Cottbus
> 
> Tel.  : +49 (0) 355 / 28 91 82 - 20, Fax: - 29
> 
> WWW   : http://www.bravis.eu
> 
> E-Mail: [EMAIL PROTECTED]
> 
> BRAVIS: [EMAIL PROTECTED]
> 
>  
> 
> Sitz und Registergericht: Cottbus HRB 7397
> 
> Geschäftsführung: André Röhrig, Daniel Rakel
> 
>  
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> No virus found in this incoming message.
> Checked by AVG. 
> Version: 8.0.100 / Virus Database: 270.3.0/1501 - Release
> Date: 13/06/2008
> 06:33
> 
> 
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


  

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creating COM+ components using Wix 3.0

2008-06-13 Thread Roy Abou Assaly



Roy Abou Assaly wrote:
> 
> Hi,
> 
> Some background:  I'm trying to replace a legacy builder tool. The old
> builder tool compiled hundreds of vbp project files.  Some ActiveX, some
> Exes, some Com+.  The compilation was successful in NAnt.  I also have
> created a WiX file that currently installs the UI DLLs and Exe and it
> works great on Windows XP and Vista.
> 
> One task I'm getting worried about is for Com+ components, the old builder
> tool would compile them and install them on the build machine in Component
> Services, in COM+ Applications.  We then would programmatically export
> them using the "COM+ Application Export" API to produce the MSIs.
> 
> I used heat on the COM+ Server DLLs, but it didn't help me too much since
> it didn't specify that the DLL is a ComPlus component.
> 
> I would like to eliminate this export task and go to a pure NAnt + WiX
> solution.  Is this possible?  If so, are there any tricks to automating
> the start?
> 
> P.S.  I'm using WiX 2.0 in production and it's been wonderful.  I'm hoping
> WiX 3.0 will get me out of this jam.  COM+ is not fun to play with.
> 
> Thanks
> 

Guess nobody knows?  Or nobody wants to near COM+ again?

-- 
View this message in context: 
http://www.nabble.com/Creating-COM%2B-components-using-Wix-3.0-tp17808293p17822873.html
Sent from the wix-users mailing list archive at Nabble.com.


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Uninstall without ugly UAC prompt

2008-06-13 Thread Ryan O'Neill
This is a Windows Installer issue, you can't work around it. More info @
http://blogs.msdn.com/astebner/archive/2006/12/03/uac-prompt-from-unidentifi
ed-publisher-appears-when-uninstalling-msis-on-windows-vista.aspx


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Xenia Holtmann
Sent: 13 June 2008 12:38
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Uninstall without ugly UAC prompt

I've got a problem during uninstalling my software. First some information
about the structure of the installer. The installer (setup.msi) is wrapped
by
a self-written bootstrapper that is digital signed and has a correct
manifest. During install there are no problems, all looks fine even the UAC
prompt that comes during installation. This UAC authenticates my company
correct.

 

But when uninstalling the product, an UAC dialog with the text "An
unidentified program wants to access to your computer ... Unidentified
Publisher..." is raised. But how can this be when both the bootstrapper and
msi file is digital signed? I would have expected that the name of my
company
will be shown in this UAC.  Which file is used during uninstall that I have
to sign, too? 

 

Thanks,

Xenia.

 

 

Mit freundlichen Grüßen,

 

Xenia Holtmann

Projekt-Managerin

BRAVIS GmbH

 

-- 

BRAVIS GmbH, Gerhart-Hauptmann-Str. 15/Süd 9, D-03044 Cottbus

Tel.  : +49 (0) 355 / 28 91 82 - 20, Fax: - 29

WWW   : http://www.bravis.eu

E-Mail: [EMAIL PROTECTED]

BRAVIS: [EMAIL PROTECTED]

 

Sitz und Registergericht: Cottbus HRB 7397

Geschäftsführung: André Röhrig, Daniel Rakel

 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
No virus found in this incoming message.
Checked by AVG. 
Version: 8.0.100 / Virus Database: 270.3.0/1501 - Release Date: 13/06/2008
06:33


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Uninstall without ugly UAC prompt

2008-06-13 Thread Xenia Holtmann
I've got a problem during uninstalling my software. First some information
about the structure of the installer. The installer (setup.msi) is wrapped by
a self-written bootstrapper that is digital signed and has a correct
manifest. During install there are no problems, all looks fine even the UAC
prompt that comes during installation. This UAC authenticates my company
correct.

 

But when uninstalling the product, an UAC dialog with the text "An
unidentified program wants to access to your computer ... Unidentified
Publisher..." is raised. But how can this be when both the bootstrapper and
msi file is digital signed? I would have expected that the name of my company
will be shown in this UAC.  Which file is used during uninstall that I have
to sign, too? 

 

Thanks,

Xenia.

 

 

Mit freundlichen Grüßen,

 

Xenia Holtmann

Projekt-Managerin

BRAVIS GmbH

 

-- 

BRAVIS GmbH, Gerhart-Hauptmann-Str. 15/Süd 9, D-03044 Cottbus

Tel.  : +49 (0) 355 / 28 91 82 - 20, Fax: - 29

WWW   : http://www.bravis.eu

E-Mail: [EMAIL PROTECTED]

BRAVIS: [EMAIL PROTECTED]

 

Sitz und Registergericht: Cottbus HRB 7397

Geschäftsführung: André Röhrig, Daniel Rakel

 

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Bug with WIX 3.0.2925 installation

2008-06-13 Thread Mark Stega
Simon,

Thanks for the help - I ended up on the downloads tab of the project and
that offers a versions 2.0.5085 and 3.0.2925;  My mistake, I presumed that
was what was considered the stable release of 3.0 rather than some crusty
old version...

Mark 

Charmed Quark Systems, Limited
 

Mark Stega, M.D. 

1795 Beachfield Road;  Annapolis, MD;  21409-6042 

mobile:   443.994.0169
office:    410.626.8787
fax:    443.270.2535 
email:     [EMAIL PROTECTED] 

Visit Us On The Internet: http://www.charmedquark.com

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Simon
Dahlbacka
Sent: Friday, June 13, 2008 1:09 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Bug with WIX 3.0.2925 installation

3.0.2925 is way old, from before VS 2008 was released. Use a newer version
from http://wix.sf.net/releases/ and it will work

regards,
Simon


On Fri, Jun 13, 2008 at 12:44 AM, Mark Stega <[EMAIL PROTECTED]>
wrote:

> On attempting to install Wix 3.0.2925 I receive an error message "Votive,
> the WiX project and editor package for Visual Studio cannot be installed
> because Visual Studio Standard Edition or higher is not installed".  When
I
> acknowledge that message it appears that WiX is installed.
>
>
>
> I have Visual Studio Team System 2008, Development Edition installed.
Here
> is the 'About' info:
>
>
>
> Microsoft Visual Studio 2008
>
> Version 9.0.21022.8 RTM
>
> Microsoft .NET Framework
>
> Version 3.5
>
>
>
> Installed Edition: Enterprise
>
>
>
> Microsoft Visual Basic 2008   91904-270-1254027-60416
>
> Microsoft Visual Basic 2008
>
>
>
> Microsoft Visual C# 2008   91904-270-1254027-60416
>
> Microsoft Visual C# 2008
>
>
>
> Microsoft Visual C++ 2008   91904-270-1254027-60416
>
> Microsoft Visual C++ 2008
>
>
>
> Microsoft Visual Studio 2008 Tools for Office   91904-270-1254027-60416
>
> Microsoft Visual Studio 2008 Tools for Office
>
>
>
> Microsoft Visual Studio Team System 2008 Development Edition
> 91904-270-1254027-60416
>
> Microsoft Visual Studio Team System 2008 Development Edition
>
>
>
> Portions of International CorrectSpellT spelling correction system C 1993
> by
> Lernout & Hauspie Speech Products N.V.  All rights reserved.
>
>
>
> The American HeritageR Dictionary of the English Language, Third Edition
> Copyright C 1992 Houghton Mifflin Company.  Electronic version licensed
> from
> Lernout & Hauspie Speech Products N.V.  All rights reserved.
>
>
>
>
>
> Microsoft Visual Web Developer 2008   91904-270-1254027-60416
>
> Microsoft Visual Web Developer 2008
>
>
>
> Crystal ReportsAAJ60-G0MSA4K-68000CF
>
> Crystal Reports Basic for Visual Studio 2008
>
>
>
> Mark
>
>
>
> Charmed Quark Systems, Limited
>
> 
>
>
>
> Mark Stega, M.D.
>
> -
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] ICE03: merge module fails

2008-06-13 Thread Martin Lierschof
Hi,

I am trying to include a merge module from Aladdin, 
(ftp://ftp.aladdin.com/pub/aladdin.de/hardlock/HASP4_Hardlock_driver_merge_module.zip),
 and then light fails with ICE03,
before I upgraded to wix 3 from wix 2.x this was working correct.
It seems that this merge module is not wix 3.0 compatible, but isn't there a 
solution to suppress this error and install anyway? Because the same merge 
module have been working correct under wix 2 installations?

wix: 3.0.2925

ICE03: Invalid identifier; Table: ModuleSignature, Column: ModuleID, Key(s): 
HINST Merge Module.A14EEF5D_58AF_4037_9330_DFC385C52744.0

ICE03: Invalid identifier; Table: ModuleComponents, Column: ModuleID, Key(s): 
hinstd.dll.A14EEF5D_58AF_4037_9330_DFC385C52744.HINST Merge 
Module.A14EEF5D_58AF_4037_9330_DFC385C52744.0

ICE03: Invalid identifier; Table: ModuleComponents, Column: ModuleID, Key(s): 
hinst_msi.dll.A14EEF5D_58AF_4037_9330_DFC385C52744.HINST Merge 
Module.A14EEF5D_58AF_4037_9330_DFC385C52744.0

ICE03: Invalid identifier; Table: ModuleComponents, Column: ModuleID, Key(s): 
hdinst_windows.dll.A14EEF5D_58AF_4037_9330_DFC385C52744.HINST Merge 
Module.A14EEF5D_58AF_4037_9330_DFC385C52744.0

ICE03: Invalid identifier; Table: ModuleComponents, Column: ModuleID, Key(s): 
HASPDS1.DLL1.A14EEF5D_58AF_4037_9330_DFC385C52744.HINST Merge 
Module.A14EEF5D_58AF_4037_9330_DFC385C52744.0

regards

Martin Lierschof


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] using one property to set another

2008-06-13 Thread Natxo Mateos
Hi,

I'm not sure if I'm responding in the correct mode. I mean, how it's supposed 
to response a mail via the sourceforge list.

I'm don't know how to embed a RegistrySearch elemenent inside
a CustomAction. What I've done is set to a property :

*



*

But obviously doesn't compile. How it's supposed to be done? I'm newbie
with installers and I'm finding quite complicate to work with a
non-procedural installer way.

One last question. After the CA is correctly defined, to force that
custom action to be executed after another one would be like this:






Thanks in advance.


-- 

Regards,

*Natxo Mateos*
[EMAIL PROTECTED]

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

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users