Re: [WiX-users] Installutil in wix

2009-04-20 Thread sandun css
Hi,

Thanks for the reply.

I need to install dlls using the 'installutil' command. And those dlls are
built as x64. It seems that heat doesn't extract all the install
information. (I guess this happens because the dll is x64)
This is what I got from heat..

 

  

As you can see it doesn't contain its installutil information.

Any idea about the problem?

Thanks,
Sandun

On Mon, Apr 20, 2009 at 3:23 PM, Pally Sandher wrote:

> It's possible to register DLL's by using heat.exe to harvest the
> self-registration information & outputting a fragment to add to your
> project. Heat.exe has a page in the WiX.chm under "Tools and Concepts"
> and by running it with the /? Flag it gives plenty of information on how
> to use it to get the code you need generated.
>
> How many times in the last week has a variation on this question been
> asked? Just use heat.exe. It works & you'll be following the best
> practices for rollback/uninstall/etc without even trying.
>
> Palbinder Sandher
> Software Deployment & IT Administrator
> T: +44 (0) 141 945 8500
> F: +44 (0) 141 945 8501
>
> http://www.iesve.com
> **Design, Simulate + Innovate with the **
> Integrated Environmental Solutions Limited. Registered in Scotland No.
> SC151456
> Registered Office - Helix Building, West Of Scotland Science Park,
> Glasgow G20 0SP
> Email Disclaimer
>
>
> -Original Message-
> From: sandun css [mailto:sandun...@gmail.com]
> Sent: 20 April 2009 07:58
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Installutil in wix
>
> Hi,
>
> Is it possible to register dlls using installutil command in wix?
>
> Thanks,
> Sandun
>
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CA scheduling question

2009-04-20 Thread Jason Birch
Brian Rogers wrote:

> If you already have custom actions doing this you could
> put the files you are looking for into the Binary table in
> the MSI and stream them over (immediate CA ->
> deferred CA) and then invoke you actions on those files.

Thanks Brian, I'll look into that.

Jason
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] .Net Framework question

2009-04-20 Thread Andy2k8

I got the answer. 
It does vary and that is the reason we have .Net language packs available.


Brian Rogers wrote:
> 
> Hey Andy,
> 
> For an official answer I would pose this question in a different forum (
> http://social.msdn.microsoft.com/forums/en-US/netfxsetup/thread/f3f4a75b-9b7d-444d-aa4f-6c01d6f62f72
> ).
> 
> Thanks,
> 
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
> 
> 
> On Wed, Apr 1, 2009 at 10:24 PM, Andy2k8  wrote:
> 
>>
>>
>> Does .Net framework vary across languages?
>> Can I use the same Dotnetfx.exe to install .Net framework on different
>> language OSs?
>>
>> -
>> Andy
>> MSI Developer
>> Schneider Electric:working:
>> --
>> View this message in context:
>> http://n2.nabble.com/.Net-Framework-question-tp2573430p2573430.html
>> Sent from the wix-users mailing list archive at Nabble.com.
>>
>>
>>
>> --
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
> --
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 


-
Andy
MSI Developer
Schneider Electric:working:
-- 
View this message in context: 
http://n2.nabble.com/.Net-Framework-question-tp2573430p2667740.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] RemoveFiles custom action. (was Re: Two problems: Not deleting files, and icon does not display.)

2009-04-20 Thread Bob Arnson
Curtis Jewell wrote:
> I think I get the idea now... I have to apply SQL statements to the
> installer database itself to do the insertion using the
> MsiDatabaseOpenView and MsiView* methods. Oh, fun!
>   

http://www.joyofsetup.com/2007/07/01/semi-custom-actions/

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



--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CustomizeDlg - "Location" text

2009-04-20 Thread Bob Arnson
Dale Quigg wrote:
> Is anyone else seeing this, or is it just me?
>   

I'm not. If you can reproduce this with a simple package (i.e., no 
files), please open a bug and attach the package.

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



--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Access public properties from within modules

2009-04-20 Thread Sudripta Nandy (Sarangsoft Corporation)
In my setup program, I have a main wix file and a merge module. In my main wix 
file, I am looking for any earlier versions of the product and if I find one, I 
set a property called 'MYAPPFOUND'.





In my merge module, I need to run a custom action only if 'MYAPPFOUND' property 
is set. I have the following code:


MYAPPFOUND



But the problem is that the merge module is trying to access the property 
'MYAPPFOUND.'. So, seems its using the property 
'MYAPPFOUND.' to evaluate the condition. Is there a way I can make 
it use the property defined in the main wix file and not use something like 
'MYAPPFOUND.'? By using ORCA, I changed the condition from 
'MYAPPFOUND.' to only 'MYAPPFOUND' and then it seems to work fine.



Thanks.
Sudripta.
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Files not being installed before custom action being executed...

2009-04-20 Thread Brian Rogers
Hey David,

You will need to create an intermediate custom action (
http://msdn.microsoft.com/en-us/library/aa370543(VS.85).aspx) that sends the
deferred custom action the values you need.

What you are looking to do, calling Regasm.exe, is not the preferred way of
achieving the goal. You could use heat.exe in your environment to harvest
the registry entries you need into your MSI or author the registry entries
in the .wxs file. Then you would not need to gain access to the files and
you wouldn't have to worry about the 3 needed steps
(install/rollback/uninstall).

Hope that helps,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Mon, Apr 20, 2009 at 2:27 PM, David Bartmess
wrote:

> I can't run them as deferred because when I try to mark them as deferred,
> the compiler gives me an error about it. Seems the Property custom actions
> can't be run as deferred, and they need to be run at the same time as the
> other custom actions the QtExecCmdLine is used in.
>
> -Original Message-
> From: Brian Rogers [mailto:rogers.br...@gmail.com]
> Sent: Monday, April 20, 2009 2:33 PM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Files not being installed before custom action
> being executed...
>
> Hey David,
>
> You would need to run these as "deferred" custom actions in order to have
> access to system files.
>
> Thanks,
>
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
>
>
> On Mon, Apr 20, 2009 at 12:37 PM, David Bartmess
> wrote:
>
> > What could be the problem with this? The scenario is that several
> > scripts are copied in during InstallFiles, and executed just before
> InstallFinalize.
> > But when it executes, the files aren't copied to the output
> > directories at the point where it tries to run them.
> >
> > How can I (or should I?) force the files to be installed at a specific
> > point? I thought that was what "InstallFiles" was doing. But according
> > to the log (bottom) InstallFiles is being executed, and the custom
> > actions are coming MUCH later... So why aren't the files there?
> >
> > Any help would be appreciated...
> >
> >
> > 
> > 1  > Suppress="yes">1  > Suppress="yes">1
> >
> >  > After="FindRelatedProducts">1
> >  > >NEWPRODUCTFOUND
> >
> >  > After="InstallInitialize">1
> > NOT REMOVE
> >
> >  > After="GetOutlookVersion">Installed
> > AND REMOVE
> > REMOVE
> >
> > (NOT
> > Installed) AND (NOT REMOVE)
> >  > After="InstallForms.Command">(NOT
> > Installed) AND (NOT REMOVE)
> >  > After="QtInstallCalendarForms">(NOT
> > Installed) AND (NOT REMOVE)
> >  > After="InstallDefault.Command">(NOT Installed) AND (NOT
> > REMOVE)  > ="QtInstallCalendarDefault">(NOT Installed) AND (NOT REMOVE)
> >  > After="OutlookAddin.Command">(NOT Installed) AND (NOT REMOVE)
> >  > ="QtRegisterOutlookAddin.dll">(NOT Installed) AND (NOT
> > REMOVE)  > After="Interop.Redemption.Command">(NOT Installed) AND (NOT
> > REMOVE) 
> >
> > >  Property="QtExecCmdLine"
> >  Value='"[SystemFolder]cscript.exe" /nologo
> > "[TOOLS]InstallForms.vbs" "[FORMS]"'
> >  Execute='immediate'/>
> > >  Return="check"
> >  Impersonate="yes"
> >  Execute="immediate"
> >  BinaryKey="wixca"
> >  DllEntry="CAQuietExec"/>
> > >  Property="QtExecCmdLine"
> >  Value='"[SystemFolder]cscript.exe" /nologo
> > "[TOOLS]InstallDefault.vbs" "IPM.Appointment.Maestro.Appointment"
> > "Maestro.Appointment"'
> >  Execute='immediate'/>
> > >  Return="check"
> >  Impersonate="yes"
> >  Execute="immediate"
> >  BinaryKey="wixca"
> >  DllEntry="CAQuietExec"/>
> >
> > >  Property="QtExecCmdLine"
> >
> >  Value='"[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\regasm.exe"
> > /codebase /silent "[OUTLOOKADDIN]Interop.Redemption.dll"'
> >  Execute='immediate'/>
> > >  Return="check"
> >  Impersonate="yes"
> >  Execute="immediate"
> >  BinaryKey="wixca"
> >  DllEntry="CAQuietExec"/>
> > >  Property="QtExecCmdLine"
> >
> >  Value='"[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\regasm.exe"
> > /codebase /silent "[OUTLOOKADDIN]MaestroLinkAddin.dll"'
> >  Execute='immediate'/>
> > >  Return="check"
> >  Impersonate="yes"
> >  Execute="immediate"
> >  BinaryKey="wixca"
> >  DllEntry="CAQuietExec"/>
> >
> > MSI (s) (A4:C4) [13:24:09:273]: Doing action: InstallFiles MSI (s)
> > (A4:C4) [13:24:09:273]: Note: 1: 2205 2:  3: ActionText Action
> > 13:24:09: InstallFiles. Copying new files Action start 13:24:09:
> > InstallFiles.
> > Instal

Re: [WiX-users] Files not being installed before custom action being executed...

2009-04-20 Thread David Bartmess
I can't run them as deferred because when I try to mark them as deferred, the 
compiler gives me an error about it. Seems the Property custom actions can't be 
run as deferred, and they need to be run at the same time as the other custom 
actions the QtExecCmdLine is used in. 

-Original Message-
From: Brian Rogers [mailto:rogers.br...@gmail.com] 
Sent: Monday, April 20, 2009 2:33 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Files not being installed before custom action being 
executed...

Hey David,

You would need to run these as "deferred" custom actions in order to have 
access to system files.

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Mon, Apr 20, 2009 at 12:37 PM, David Bartmess
wrote:

> What could be the problem with this? The scenario is that several 
> scripts are copied in during InstallFiles, and executed just before 
> InstallFinalize.
> But when it executes, the files aren't copied to the output 
> directories at the point where it tries to run them.
>
> How can I (or should I?) force the files to be installed at a specific 
> point? I thought that was what "InstallFiles" was doing. But according 
> to the log (bottom) InstallFiles is being executed, and the custom 
> actions are coming MUCH later... So why aren't the files there?
>
> Any help would be appreciated...
>
>
> 
> 1  Suppress="yes">1  Suppress="yes">1
>
>  After="FindRelatedProducts">1
>  >NEWPRODUCTFOUND
>
>  After="InstallInitialize">1
> NOT REMOVE
>
>  After="GetOutlookVersion">Installed
> AND REMOVE
> REMOVE
>
> (NOT
> Installed) AND (NOT REMOVE)
>  After="InstallForms.Command">(NOT
> Installed) AND (NOT REMOVE)
>  After="QtInstallCalendarForms">(NOT
> Installed) AND (NOT REMOVE)
>  After="InstallDefault.Command">(NOT Installed) AND (NOT 
> REMOVE)  ="QtInstallCalendarDefault">(NOT Installed) AND (NOT REMOVE) 
>  After="OutlookAddin.Command">(NOT Installed) AND (NOT REMOVE) 
>  ="QtRegisterOutlookAddin.dll">(NOT Installed) AND (NOT 
> REMOVE)  After="Interop.Redemption.Command">(NOT Installed) AND (NOT 
> REMOVE) 
>
>  Property="QtExecCmdLine"
>  Value='"[SystemFolder]cscript.exe" /nologo 
> "[TOOLS]InstallForms.vbs" "[FORMS]"'
>  Execute='immediate'/>
>  Return="check"
>  Impersonate="yes"
>  Execute="immediate"
>  BinaryKey="wixca"
>  DllEntry="CAQuietExec"/>
>  Property="QtExecCmdLine"
>  Value='"[SystemFolder]cscript.exe" /nologo 
> "[TOOLS]InstallDefault.vbs" "IPM.Appointment.Maestro.Appointment"
> "Maestro.Appointment"'
>  Execute='immediate'/>
>  Return="check"
>  Impersonate="yes"
>  Execute="immediate"
>  BinaryKey="wixca"
>  DllEntry="CAQuietExec"/>
>
>  Property="QtExecCmdLine"
>
>  Value='"[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\regasm.exe"
> /codebase /silent "[OUTLOOKADDIN]Interop.Redemption.dll"'
>  Execute='immediate'/>
>  Return="check"
>  Impersonate="yes"
>  Execute="immediate"
>  BinaryKey="wixca"
>  DllEntry="CAQuietExec"/>
>  Property="QtExecCmdLine"
>
>  Value='"[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\regasm.exe"
> /codebase /silent "[OUTLOOKADDIN]MaestroLinkAddin.dll"'
>  Execute='immediate'/>
>  Return="check"
>  Impersonate="yes"
>  Execute="immediate"
>  BinaryKey="wixca"
>  DllEntry="CAQuietExec"/>
>
> MSI (s) (A4:C4) [13:24:09:273]: Doing action: InstallFiles MSI (s) 
> (A4:C4) [13:24:09:273]: Note: 1: 2205 2:  3: ActionText Action 
> 13:24:09: InstallFiles. Copying new files Action start 13:24:09: 
> InstallFiles.
> InstallFiles: File: Copying new files,  Directory: ,  Size:
> MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2205 2:  3: Patch MSI (s) 
> (A4:C4) [13:24:09:273]: Note: 1: 2228 2:  3: Patch 4: SELECT 
> `Patch`.`File_`, `Patch`.`Header`, `Patch`.`Attributes`, 
> `Patch`.`Sequence`, `Patch`.`StreamRef_` FROM `Patch` WHERE 
> `Patch`.`File_` = ? AND `Patch`.`#_MsiActive`=? ORDER BY 
> `Patch`.`Sequence` MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2205 2:  
> 3: MsiPatchHeaders MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2228 2:  3: 
> MsiPatchHeaders 4:
> SELECT `Header` FROM `MsiPatchHeaders` WHERE `StreamRef` = ?
> MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2205 2:  3: PatchPackage 
> Action ended 13:24:09: InstallFiles. Return value 1.
> MSI (s) (A4:C4) [13:24:09:289]: Doing action: CreateShortcuts MSI (s) 
> (A4:C4) [13:24:09:289]: Note: 1: 2205 2:  3: ActionText Action 
> 13:24:09: CreateShortcuts. Creating shortcuts Action start 13:24:09: 
> CreateShortcuts.
> CreateSho

Re: [WiX-users] Registring CDO.dll - Heat ouput same as before, but Light now giving error

2009-04-20 Thread Roy Abou Assaly

Hi Brian,
I found this website http://www.cdolive.com/cdo7.htm which lead me to this
MS Collaboration Data Objects, version 1.2.1 (6.5.8067.0) download link:
http://www.microsoft.com/downloads/details.aspx?familyid=2714320d-c997-4de1-986f-24f081725d36&displaylang=en

I'm going to talk to the developer and see if 6.5.8067.0 is compatible with
his application which is using 6.5.7940.0.  If there's no problems, I may
just go with the MS re-distributable.  I will go that route before I go and
create any unnecessary tickets.  Will get back to with the result.

Thanks for the tip,

Roy

On Mon, Apr 20, 2009 at 4:52 PM, Brian Rogers (via Nabble) <
ml-user+58646-1457241...@n2.nabble.com
> wrote:

> Roy,
>
> It might be worth you opening a bug. However, you should not be installing
> CDO on your own. There could likely be other pieces that need to be
> installed that are not harvested from the DLL itself. This would invalidate
>
> the installation of CDO on the system and could cause large problems. You
> should look for a redistributable and chain that into your installation.
>
> The message you are getting in light is saying that the output of the
> harvest is basically not valid which is possible as COM is highly
> customizable. Heat does not take into account all possible variations
> because of those issues.
>
> Thanks,
>
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
>
>
> On Mon, Apr 20, 2009 at 12:41 PM, Roy Abou Assaly 
> http://n2.nabble.com/user/SendEmail.jtp?type=node&node=2666208&i=0>>wrote:
>
>
> >
> > Hi,
> >
> > I'm in the process of migrating more WiX files to the latest version of
> > WiX.
> > I'm using 3.0.5217 and found this error that wasn't occurring in an older
>
> > version of WiX:
> >
> > error LGHT0130 : The primary key 'regFB26914512AFF203D5986383999BD192' is
>
> > duplicated in table 'Registry'.  Please remove one of the entries or
> rename
> > a part of the primary key to avoid the collision.
> >
> > The DLL in question is actually CDO.dll 6.5.7940.0.  I generated the WiX
> > for
> > it using heat many versions ago (6 months or so).  I regenerated again
> > using
> > heat 3.0.5217 and it produced the same output.  However, Light 3.0.5217
> is
> > throwing the error above.  Light never gave this error before.
> >
> > If I comment out:
> >
> >  
> >
> > Light has no problems, but after generating the MSI, I ran Orca on the
> MSI,
> > and I got:
> >
> > ICE33:  Warning Reg key regFB26914512AFF203D5986383999BD192 is used in an
>
> > unsupported way.  CLSID - ProdId associations should be registered via
> the
> > Class and ProdId tables.  This entry may overwrite a value created
> through
> > those tables.
> >
> > Should I create a ticket in sourceforge and attach CDO.dll?
> >
> > Here's the WiX snippet:
> >
> >
> > > Guid="F1A0C26F-B1CC-4B8D-93C5-EF276E24C3FD" SharedDllRefCount="yes">
> >   > Source="$(var.EXTERNAL_DLL)\CDO.DLL">
> > Id="{3FA7DEA7-6438-101B-ACC1-00AA00423326}"
> > Description="Microsoft CDO 1.21 Library" Language="0" MajorVersion="1"
> > MinorVersion="21">
> >   Id="{3FA7DEB3-6438-101B-ACC1-00AA00423326}"
> > Context="InprocServer32" Description="CDO Session Object"
> > ThreadingModel="both">
> >Description="CDO
> > Session
> > Object" />
> >
> >  
> >
> >  
> >
> >  
> >
> > --
> > View this message in context:
> >
> http://n2.nabble.com/Registring-CDO.dll---Heat-ouput-same-as-before%2C-but-Light-now-giving-error-tp2665723p2665723.html
> > Sent from the wix-users mailing list archive at Nabble.com.
> >
> >
> >
> >
> --
>
> > Stay on top of everything new and different, both inside and
> > around Java (TM) technology - register by April 22, and save
> > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > 300 plus technical and hands-on sessions. Register today.
> > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > ___
> > WiX-users mailing list
> > wix-us...@...
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
> --
>
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> wix-us...@...

Re: [WiX-users] Registring CDO.dll - Heat ouput same as before, but Light now giving error

2009-04-20 Thread Wilson, Phil
I was about to say the same thing.  There is a redist, ExchangeCDO.exe, that 
wraps an MSI file:

http://www.microsoft.com/downloads/details.aspx?FamilyID=2714320D-C997-4DE1-986F-24F081725D36&displaylang=en
 

containing a CDO.Dll version of 6.5.8067.0. There are other related downloads 
at this kb article: 

http://support.microsoft.com/kb/171440 

Phil Wilson 

-Original Message-
From: Brian Rogers [mailto:rogers.br...@gmail.com] 
Sent: Monday, April 20, 2009 1:48 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Registring CDO.dll - Heat ouput same as before, but 
Light now giving error

Roy,

It might be worth you opening a bug. However, you should not be installing
CDO on your own. There could likely be other pieces that need to be
installed that are not harvested from the DLL itself. This would invalidate
the installation of CDO on the system and could cause large problems. You
should look for a redistributable and chain that into your installation.

The message you are getting in light is saying that the output of the
harvest is basically not valid which is possible as COM is highly
customizable. Heat does not take into account all possible variations
because of those issues.

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Mon, Apr 20, 2009 at 12:41 PM, Roy Abou Assaly wrote:

>
> Hi,
>
> I'm in the process of migrating more WiX files to the latest version of
> WiX.
> I'm using 3.0.5217 and found this error that wasn't occurring in an older
> version of WiX:
>
> error LGHT0130 : The primary key 'regFB26914512AFF203D5986383999BD192' is
> duplicated in table 'Registry'.  Please remove one of the entries or rename
> a part of the primary key to avoid the collision.
>
> The DLL in question is actually CDO.dll 6.5.7940.0.  I generated the WiX
> for
> it using heat many versions ago (6 months or so).  I regenerated again
> using
> heat 3.0.5217 and it produced the same output.  However, Light 3.0.5217 is
> throwing the error above.  Light never gave this error before.
>
> If I comment out:
>
>  
>
> Light has no problems, but after generating the MSI, I ran Orca on the MSI,
> and I got:
>
> ICE33:  Warning Reg key regFB26914512AFF203D5986383999BD192 is used in an
> unsupported way.  CLSID - ProdId associations should be registered via the
> Class and ProdId tables.  This entry may overwrite a value created through
> those tables.
>
> Should I create a ticket in sourceforge and attach CDO.dll?
>
> Here's the WiX snippet:
>
>
> Guid="F1A0C26F-B1CC-4B8D-93C5-EF276E24C3FD" SharedDllRefCount="yes">
>   Source="$(var.EXTERNAL_DLL)\CDO.DLL">
> Description="Microsoft CDO 1.21 Library" Language="0" MajorVersion="1"
> MinorVersion="21">
>   Context="InprocServer32" Description="CDO Session Object"
> ThreadingModel="both">
>   
>
>  
>
>  
>
>  
>
> --
> View this message in context:
> http://n2.nabble.com/Registring-CDO.dll---Heat-ouput-same-as-before%2C-but-Light-now-giving-error-tp2665723p2665723.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net

Re: [WiX-users] Extract a file using custom action routine

2009-04-20 Thread Brian Rogers
Hey Sudripta,

No, there is not a direct way to do this during a running installation. If
you are only focused on a single file you could put the file in the Binary
stream table and then pass it to a CA (immediate CA -> deferred CA) that
both writes it to this location AND removes it. This file would not be
managed by Windows Installer at that point. Rather it would be up to you to
handle install/rollback/uninstall.

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Fri, Mar 27, 2009 at 4:00 PM, Sudripta Nandy (Sarangsoft Corporation) <
v-su...@microsoft.com> wrote:

> In my custom action routine, I need to extract one of the files present
> within the MSI to the Windows temp folder location? Is there any API to do
> that? I looked through msiquery.h, but couldn't find one.
> How can I do that?
>
>
> Thanks.
> Sudripta.
>
> --
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CA scheduling question

2009-04-20 Thread Brian Rogers
Jason,

If you already have custom actions doing this you could put the files you
are looking for into the Binary table in the MSI and stream them over
(immediate CA -> deferred CA) and then invoke you actions on those files.
This is generally the less touchy way of getting references to needed files
on install/ROLLBACK/uninstall.

Hope that helps,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Tue, Apr 14, 2009 at 6:55 AM, Jason Birch  wrote:

> Hi all,
>
> I've got an installer that sets up some IIS7 features using appcmd.exe.  I
> am having difficulty finding a way to successfully uninstall these IIS7
> configurations on a server with UAC enabled.  I'm still fumbling my way into
> MSI, so this is likely just ignorance on my part...
>
> On installation, the CAs run deferred and are able to escalate and
> configure the web server properly.
>
> On uninstall, I have tried a couple things:
>
> - Running the CAs deferred doesn't seem to work because the files have
> already been removed (even if I schedule the actions before RemoveFiles)
>
> - Running the CAs immediate doesn't work because the installer (running as
> current user) doesn't have permissions to access the IIS7 config files.
>
> Any help would be appreciated!
>
> Thanks,
> Jason
>
>
> --
> This SF.net email is sponsored by:
> High Quality Requirements in a Collaborative Environment.
> Download a free trial of Rational Requirements Composer Now!
> http://p.sf.net/sfu/www-ibm-com
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] .Net Framework question

2009-04-20 Thread Brian Rogers
Hey Andy,

For an official answer I would pose this question in a different forum (
http://social.msdn.microsoft.com/forums/en-US/netfxsetup/thread/f3f4a75b-9b7d-444d-aa4f-6c01d6f62f72
).

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Wed, Apr 1, 2009 at 10:24 PM, Andy2k8  wrote:

>
>
> Does .Net framework vary across languages?
> Can I use the same Dotnetfx.exe to install .Net framework on different
> language OSs?
>
> -
> Andy
> MSI Developer
> Schneider Electric:working:
> --
> View this message in context:
> http://n2.nabble.com/.Net-Framework-question-tp2573430p2573430.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
>
> --
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CustomizeDlg - "Location" text

2009-04-20 Thread Dale Quigg
> Bob Arnson wrote: Jul 20, 2007; 11:20am
>> Craig Ward wrote: Jul 20, 2007; 04:47am
>> I'm experiencing a slight problem with the CustomizeDlg's "Location"
>> control. When installing, this dlg correctly displays the target
>> directory, and (again correctly) allows me to browse for a new path.
>> However, once installed, if I re-run the installation program and select
>> the Change option, then the dlg displays the original/default target
>> directory, and not the actual directory used for installation.
>>
>
> I can't reproduce that: In maintenance mode, the location controls are
> hidden, per the Condition, since they can't be changed during maintenance.

I am seeing this also.  However, I only see the issue on my x64 install.

I upgraded a test environment with WiX 3.0.5217.0, and it still appears with 
this build.
After installation and then selecting "Change" in Add/Remove Programs, the 
"Location:" text and "Browse..." button are correctly hidden.  However, the 
directory (between "Location:" and "Browse...") is displayed and it is showing 
the default value instead of the actual value.

I assume this is a problem on x64 with 
CustomizeDlgLocation-CustomizeDlgLocation defined in WixUI_*.wxl, but I don't 
know how to follow it back from there.

Here is a snippet of my WiX code.


  

  

Is anyone else seeing this, or is it just me?

Thanks,
Dale


Dale Quigg  |||  Senior Build / Configuration / Installation Engineer
MessageGate  |||  Enterprise Email Governance


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Registring CDO.dll - Heat ouput same as before, but Light now giving error

2009-04-20 Thread Brian Rogers
Roy,

It might be worth you opening a bug. However, you should not be installing
CDO on your own. There could likely be other pieces that need to be
installed that are not harvested from the DLL itself. This would invalidate
the installation of CDO on the system and could cause large problems. You
should look for a redistributable and chain that into your installation.

The message you are getting in light is saying that the output of the
harvest is basically not valid which is possible as COM is highly
customizable. Heat does not take into account all possible variations
because of those issues.

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Mon, Apr 20, 2009 at 12:41 PM, Roy Abou Assaly wrote:

>
> Hi,
>
> I'm in the process of migrating more WiX files to the latest version of
> WiX.
> I'm using 3.0.5217 and found this error that wasn't occurring in an older
> version of WiX:
>
> error LGHT0130 : The primary key 'regFB26914512AFF203D5986383999BD192' is
> duplicated in table 'Registry'.  Please remove one of the entries or rename
> a part of the primary key to avoid the collision.
>
> The DLL in question is actually CDO.dll 6.5.7940.0.  I generated the WiX
> for
> it using heat many versions ago (6 months or so).  I regenerated again
> using
> heat 3.0.5217 and it produced the same output.  However, Light 3.0.5217 is
> throwing the error above.  Light never gave this error before.
>
> If I comment out:
>
>  
>
> Light has no problems, but after generating the MSI, I ran Orca on the MSI,
> and I got:
>
> ICE33:  Warning Reg key regFB26914512AFF203D5986383999BD192 is used in an
> unsupported way.  CLSID - ProdId associations should be registered via the
> Class and ProdId tables.  This entry may overwrite a value created through
> those tables.
>
> Should I create a ticket in sourceforge and attach CDO.dll?
>
> Here's the WiX snippet:
>
>
> Guid="F1A0C26F-B1CC-4B8D-93C5-EF276E24C3FD" SharedDllRefCount="yes">
>   Source="$(var.EXTERNAL_DLL)\CDO.DLL">
> Description="Microsoft CDO 1.21 Library" Language="0" MajorVersion="1"
> MinorVersion="21">
>   Context="InprocServer32" Description="CDO Session Object"
> ThreadingModel="both">
>   
>
>  
>
>  
>
>  
>
> --
> View this message in context:
> http://n2.nabble.com/Registring-CDO.dll---Heat-ouput-same-as-before%2C-but-Light-now-giving-error-tp2665723p2665723.html
> Sent from the wix-users mailing list archive at Nabble.com.
>
>
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix Coder forums

2009-04-20 Thread Brian Rogers
Hey James,

There is not a officially support site for this information. It is mainly
posted on the forums. However, other sites, such as http://www.wixwiki.com,
do try to focus on this type of sharing.

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Mon, Apr 20, 2009 at 11:24 AM, MacDiarmid, James D <
james.macdiar...@eds.com> wrote:

>
> Would anyone know of any forums or coding sites kinda like CodeGuru,
> DevShed, etc that would be dedicated to Install Development using Wix?
> If not, there might be some benefit to having such a forum or site. I
> guess the question would be would anyone be interested in such a site?
>
>
>
> Jim
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Files not being installed before custom action being executed...

2009-04-20 Thread Brian Rogers
Hey David,

You would need to run these as "deferred" custom actions in order to have
access to system files.

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Mon, Apr 20, 2009 at 12:37 PM, David Bartmess
wrote:

> What could be the problem with this? The scenario is that several scripts
> are copied in during InstallFiles, and executed just before InstallFinalize.
> But when it executes, the files aren't copied to the output directories at
> the point where it tries to run them.
>
> How can I (or should I?) force the files to be installed at a specific
> point? I thought that was what "InstallFiles" was doing. But according to
> the log (bottom) InstallFiles is being executed, and the custom actions are
> coming MUCH later... So why aren't the files there?
>
> Any help would be appreciated...
>
>
> 
> 1
> 1
> 1
>
> 1
>  >NEWPRODUCTFOUND
>
>  After="InstallInitialize">1
> NOT REMOVE
>
> Installed
> AND REMOVE
> REMOVE
>
> (NOT
> Installed) AND (NOT REMOVE)
> (NOT
> Installed) AND (NOT REMOVE)
> (NOT
> Installed) AND (NOT REMOVE)
>  After="InstallDefault.Command">(NOT Installed) AND (NOT REMOVE)
>  ="QtInstallCalendarDefault">(NOT Installed) AND (NOT REMOVE)
>  After="OutlookAddin.Command">(NOT Installed) AND (NOT REMOVE)
>  ="QtRegisterOutlookAddin.dll">(NOT Installed) AND (NOT REMOVE)
>  After="Interop.Redemption.Command">(NOT Installed) AND (NOT REMOVE)
> 
>
>  Property="QtExecCmdLine"
>  Value='"[SystemFolder]cscript.exe" /nologo
> "[TOOLS]InstallForms.vbs" "[FORMS]"'
>  Execute='immediate'/>
>  Return="check"
>  Impersonate="yes"
>  Execute="immediate"
>  BinaryKey="wixca"
>  DllEntry="CAQuietExec"/>
>  Property="QtExecCmdLine"
>  Value='"[SystemFolder]cscript.exe" /nologo
> "[TOOLS]InstallDefault.vbs" "IPM.Appointment.Maestro.Appointment"
> "Maestro.Appointment"'
>  Execute='immediate'/>
>  Return="check"
>  Impersonate="yes"
>  Execute="immediate"
>  BinaryKey="wixca"
>  DllEntry="CAQuietExec"/>
>
>  Property="QtExecCmdLine"
>
>  Value='"[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\regasm.exe"
> /codebase /silent "[OUTLOOKADDIN]Interop.Redemption.dll"'
>  Execute='immediate'/>
>  Return="check"
>  Impersonate="yes"
>  Execute="immediate"
>  BinaryKey="wixca"
>  DllEntry="CAQuietExec"/>
>  Property="QtExecCmdLine"
>
>  Value='"[WindowsFolder]Microsoft.NET\Framework\v2.0.50727\regasm.exe"
> /codebase /silent "[OUTLOOKADDIN]MaestroLinkAddin.dll"'
>  Execute='immediate'/>
>  Return="check"
>  Impersonate="yes"
>  Execute="immediate"
>  BinaryKey="wixca"
>  DllEntry="CAQuietExec"/>
>
> MSI (s) (A4:C4) [13:24:09:273]: Doing action: InstallFiles
> MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2205 2:  3: ActionText
> Action 13:24:09: InstallFiles. Copying new files
> Action start 13:24:09: InstallFiles.
> InstallFiles: File: Copying new files,  Directory: ,  Size:
> MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2205 2:  3: Patch
> MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2228 2:  3: Patch 4: SELECT
> `Patch`.`File_`, `Patch`.`Header`, `Patch`.`Attributes`, `Patch`.`Sequence`,
> `Patch`.`StreamRef_` FROM `Patch` WHERE `Patch`.`File_` = ? AND
> `Patch`.`#_MsiActive`=? ORDER BY `Patch`.`Sequence`
> MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2205 2:  3: MsiPatchHeaders
> MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2228 2:  3: MsiPatchHeaders 4:
> SELECT `Header` FROM `MsiPatchHeaders` WHERE `StreamRef` = ?
> MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2205 2:  3: PatchPackage
> Action ended 13:24:09: InstallFiles. Return value 1.
> MSI (s) (A4:C4) [13:24:09:289]: Doing action: CreateShortcuts
> MSI (s) (A4:C4) [13:24:09:289]: Note: 1: 2205 2:  3: ActionText
> Action 13:24:09: CreateShortcuts. Creating shortcuts
> Action start 13:24:09: CreateShortcuts.
> CreateShortcuts: Shortcut: Creating shortcuts
> Action ended 13:24:09: CreateShortcuts. Return value 1.
> MSI (s) (A4:C4) [13:24:09:305]: Doing action: RegisterExtensionInfo
> MSI (s) (A4:C4) [13:24:09:305]: Note: 1: 2205 2:  3: ActionText
> Action 13:24:09: RegisterExtensionInfo. Registering extension servers
> Action start 13:24:09: RegisterExtensionInfo.
> MSI (s) (A4:C4) [13:24:09:305]: Note: 1: 2262 2: Extension 3: -2147287038
> Action ended 13:24:09: RegisterExtensionInfo. Return value 1.
> MSI (s) (A4:C4) [13:24:09:305]: Doing action: WriteRegistryValues
> MSI (s) (A4:C4) [13:24:09:305]: Note: 1: 2205 2:  3: ActionText
> Action 13:24:09: WriteRegistryValues. Writing system registry values
> Action start 13:24:09: Wr

[WiX-users] RemoveFiles custom action. (was Re: Two problems: Not deleting files, and icon does not display.)

2009-04-20 Thread Curtis Jewell
I think I get the idea now... I have to apply SQL statements to the
installer database itself to do the insertion using the
MsiDatabaseOpenView and MsiView* methods. Oh, fun!

At any rate, the code is currently at
http://svn.ali.as/cpan/trunk/Perl-Dist-WiX/share/ClearFolderCA/ClearFolderCA/ClearFolderCA.cpp

(Yes, I'll be nice and post a pointer to the completed code when I'm
done.)

--Curtis

On Mon, 20 Apr 2009 08:44 -0600, "Curtis Jewell"
 wrote:
> On Thu, 16 Apr 2009 22:58 -0700, "Rob Mensching" 
> wrote:
> > 1. MSI SDK says the RemoveFolders only removes a folder if it is empty.  
> > You need a CustomAction to recurse all of the directories and add them 
> > to the RemoveFolders table plus add the files to RemoveFiles table.
> 
> Well, I'm getting started writing that CustomAction. It's still 80%
> psuedocode and only 20% C, but here's what I have so far. (I know I
> can't append to strings like that in C, I'll rewrite that in proper RTL
> calls myself when I get to my Visual Studio machine.)
> 
> I would prefer to have it run after the MSI has deleted the files it
> knows about already. (why make extra work?)
> 
> What XML code would be required to put the CA in at that point, and what
> MSI SDK functions would I use to do what is asked for in the HELP
> comments?
> 
> I know I'm asking for a lot at the moment, but even if you only point
> out the first steps, or point me to examples, I can work with that and
> ask more detailed questions as needed later.
 

--
Curtis Jewell
swords...@csjewell.fastmail.us

%DCL-E-MEM-BAD, bad memory
-VMS-F-PDGERS, pudding between the ears

[I use PC-Alpine, which deliberately does not display colors and
pictures in HTML mail]
--
Curtis Jewell
swords...@csjewell.fastmail.us

%DCL-E-MEM-BAD, bad memory
-VMS-F-PDGERS, pudding between the ears

[I use PC-Alpine, which deliberately does not display colors and pictures in 
HTML mail]


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Esc key hit can't cancel during installation

2009-04-20 Thread Sudripta Nandy (Sarangsoft Corporation)
I have two dialogs in my setup program... one is the welcome screen and another 
is the installation progress dialog. In both the dialogs I have a button called 
'Cancel' and its 'Cancel' property is set to 'yes' for both the dialogs. When I 
am on the 'Welcome screen' dialog, if I press the 'Esc' key, it simulates the 
'Cancel' button key-press and cancels the setup. But, when I am on the 
'Installation progress' dialog and hit the 'Esc' key, it doesn't simulate the 
'Cancel' button key-press. So, it doesn't cancel the setup. My 'Installer 
progress' dialog has been created as modeless.

Please let me know how to fix this and make my 'Installer progress' dialog too, 
respond to 'Esc' button key press.



Thanks.
Sudripta.
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Registring CDO.dll - Heat ouput same as before, but Light now giving error

2009-04-20 Thread Roy Abou Assaly

Hi,

I'm in the process of migrating more WiX files to the latest version of WiX. 
I'm using 3.0.5217 and found this error that wasn't occurring in an older
version of WiX:

error LGHT0130 : The primary key 'regFB26914512AFF203D5986383999BD192' is
duplicated in table 'Registry'.  Please remove one of the entries or rename
a part of the primary key to avoid the collision.

The DLL in question is actually CDO.dll 6.5.7940.0.  I generated the WiX for
it using heat many versions ago (6 months or so).  I regenerated again using
heat 3.0.5217 and it produced the same output.  However, Light 3.0.5217 is
throwing the error above.  Light never gave this error before.

If I comment out:

  

Light has no problems, but after generating the MSI, I ran Orca on the MSI,
and I got:

ICE33:  Warning Reg key regFB26914512AFF203D5986383999BD192 is used in an
unsupported way.  CLSID - ProdId associations should be registered via the
Class and ProdId tables.  This entry may overwrite a value created through
those tables.

Should I create a ticket in sourceforge and attach CDO.dll?

Here's the WiX snippet:



  

  
   

  

  

  

-- 
View this message in context: 
http://n2.nabble.com/Registring-CDO.dll---Heat-ouput-same-as-before%2C-but-Light-now-giving-error-tp2665723p2665723.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Files not being installed before custom action being executed...

2009-04-20 Thread David Bartmess
What could be the problem with this? The scenario is that several scripts are 
copied in during InstallFiles, and executed just before InstallFinalize. But 
when it executes, the files aren't copied to the output directories at the 
point where it tries to run them.

How can I (or should I?) force the files to be installed at a specific point? I 
thought that was what "InstallFiles" was doing. But according to the log 
(bottom) InstallFiles is being executed, and the custom actions are coming MUCH 
later... So why aren't the files there?

Any help would be appreciated...



1
1
1

1
NEWPRODUCTFOUND

1
NOT REMOVE

Installed AND 
REMOVE
REMOVE

(NOT Installed) 
AND (NOT REMOVE)
(NOT 
Installed) AND (NOT REMOVE)
(NOT 
Installed) AND (NOT REMOVE)
(NOT 
Installed) AND (NOT REMOVE)
(NOT 
Installed) AND (NOT REMOVE)
(NOT 
Installed) AND (NOT REMOVE)
(NOT Installed) AND (NOT REMOVE)
(NOT Installed) AND (NOT REMOVE)










 

MSI (s) (A4:C4) [13:24:09:273]: Doing action: InstallFiles
MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2205 2:  3: ActionText 
Action 13:24:09: InstallFiles. Copying new files
Action start 13:24:09: InstallFiles.
InstallFiles: File: Copying new files,  Directory: ,  Size: 
MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2205 2:  3: Patch 
MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2228 2:  3: Patch 4: SELECT 
`Patch`.`File_`, `Patch`.`Header`, `Patch`.`Attributes`, `Patch`.`Sequence`, 
`Patch`.`StreamRef_` FROM `Patch` WHERE `Patch`.`File_` = ? AND 
`Patch`.`#_MsiActive`=? ORDER BY `Patch`.`Sequence` 
MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2205 2:  3: MsiPatchHeaders 
MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2228 2:  3: MsiPatchHeaders 4: SELECT 
`Header` FROM `MsiPatchHeaders` WHERE `StreamRef` = ? 
MSI (s) (A4:C4) [13:24:09:273]: Note: 1: 2205 2:  3: PatchPackage 
Action ended 13:24:09: InstallFiles. Return value 1.
MSI (s) (A4:C4) [13:24:09:289]: Doing action: CreateShortcuts
MSI (s) (A4:C4) [13:24:09:289]: Note: 1: 2205 2:  3: ActionText 
Action 13:24:09: CreateShortcuts. Creating shortcuts
Action start 13:24:09: CreateShortcuts.
CreateShortcuts: Shortcut: Creating shortcuts
Action ended 13:24:09: CreateShortcuts. Return value 1.
MSI (s) (A4:C4) [13:24:09:305]: Doing action: RegisterExtensionInfo
MSI (s) (A4:C4) [13:24:09:305]: Note: 1: 2205 2:  3: ActionText 
Action 13:24:09: RegisterExtensionInfo. Registering extension servers
Action start 13:24:09: RegisterExtensionInfo.
MSI (s) (A4:C4) [13:24:09:305]: Note: 1: 2262 2: Extension 3: -2147287038 
Action ended 13:24:09: RegisterExtensionInfo. Return value 1.
MSI (s) (A4:C4) [13:24:09:305]: Doing action: WriteRegistryValues
MSI (s) (A4:C4) [13:24:09:305]: Note: 1: 2205 2:  3: ActionText 
Action 13:24:09: WriteRegistryValues. Writing system registry values
Action start 13:24:09: WriteRegistryValues.
WriteRegistryValues: Key: Writing system registry values, Name: , Value: 
Action ended 13:24:09: WriteRegistryValues. Return value 1.
MSI (s) (A4:C4) [13:24:09:367]: Doing action: SelfRegModules
MSI (s) (A4:C4) [13:24:09:367]: Note: 1: 2205 2:  3: ActionText 
Action 13:24:09: SelfRegModules. Registering modules
Action start 13:24:09: SelfRegModules.
SelfRegModules: File: Registering modules, Folder: 
Action ended 13:24:09: SelfRegModules. Return value 1.
MSI (s) (A4:C4) [13:24:09:367]: Doing action: RegisterUser
MSI (s) (A4:C4) [13:24:09:367]: Note: 1: 2205 2:  3: ActionText 
Action 13:24:09: RegisterUser. Registering user
Action start 13:24:09: RegisterUser.
Action ended 13:24:09: RegisterUser. Return value 1.
MSI (s) (A4:C4) [13:24:09:383]: Doing action: RegisterProduct
MSI (s) (A4:C4) [13:24:09:383]: Note: 1: 2205 2:  3: ActionText 
Action 13:24:09: RegisterProduct. Registering product
Action start 13:24:09: RegisterProduct.
RegisterProduct: Registering product
MSI (s) (A4:C4) [13:24:09:383]: PROPERTY CHANGE: Adding ProductToBeRegistered 
property. Its value is '1'.
Action ended 13:24:09: RegisterProduct. Return value 1.
MSI (s) (A4:C4) [13:24:09:383]: Doing action: MsiPublishAssemblies
MSI (s) (A4:C4) [13:24:09:383]: Note: 1: 2205 2:  3: ActionText 
Action 13:24:09: MsiPublishAssemblies. Publishing assembly information
Action start 13:24:09: MsiPublishAssemblies.
Action ended 13:24:09: MsiPublishAssemblies. Return value 1.
MSI (s) (A4:C4) [13:24:09:383]: Doing action: PublishFeatures
MSI (s) (A4:C4) [13:24:09:383]: Note: 1: 2205 2:  3: ActionText 
Action 13:24:09: PublishFeatures. Publishing Product Features
Action start 13:24:09: PublishFeatures.
PublishFeatures: Feature: Publishing Product Features
Action ended 13:24:09: PublishFeatures. Return value 1.
MSI (s) (A4:C4) [13:24:09:383]: Doing action: PublishProduct
MSI (s) (A4:C4) [13:24:09:383]: Note: 1: 2205 2:  3: ActionText 
Action 13:24:09: PublishProduct. Publishing product information
Action start 13:24:09: PublishProduct.
PublishProduct: 
Action ended 13:24:09: PublishProduct. Return value 1.
MSI (s) (A4:C4) [13:24:09:398]: Doing action: InstallForms.Command
M

[WiX-users] Wix Coder forums

2009-04-20 Thread MacDiarmid, James D

Would anyone know of any forums or coding sites kinda like CodeGuru,
DevShed, etc that would be dedicated to Install Development using Wix?
If not, there might be some benefit to having such a forum or site. I
guess the question would be would anyone be interested in such a site?



Jim
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Question about windows installer 3.1, selfextracting archive and reboot problem

2009-04-20 Thread Blair Murri
Please leave the wix discussion alias in the thread. They know about the 
bootstrapper that is being developed in WiX v3.


From: GOTH(Thomas Gois) [thomas.g...@skidata.com]
Sent: Sunday, April 19, 2009 11:18 PM
To: Blair Murri
Subject: AW: Question about windows installer 3.1, selfextracting archive and 
reboot problem

Hi Blair,

I'm using the default MS bootstrapper package for installer 3.1. provided from 
WiX 3.0.

:-) Thomas

-Ursprüngliche Nachricht-
Von: Blair Murri [mailto:bmu...@microsoft.com]
Gesendet: Freitag, 17. April 2009 23:50
An: GOTH(Thomas Gois)
Cc: General discussion for Windows Installer XML toolset.
Betreff: RE: Question about windows installer 3.1, selfextracting archive and 
reboot problem

It depends on your bootstrapper, its capabilities, and how it is configured. 
What bootstrapper are you using?

-Original Message-
From: g...@skidata.com [mailto:g...@skidata.com]
Sent: Friday, April 17, 2009 4:44 AM
To: Blair Murri
Subject: Question about windows installer 3.1, selfextracting archive and 
reboot problem

Hi Blair,

I've found a very interesting answer from you in an old WIX user thread that 
should sove my problem but I've some questions about your post.

The problem occurs using a self extracting archive that contain the 
installation files and the installation of installer 3.1 requires a reboot 
which breaks the installation because the temp files are not available after 
reboot.

Your post is listened below:
>>>
According to 
http://msdn.microsoft.com/library/en-us/msi/setup/windows_installer_redistributables.asp
 you can pass a command-line option of /norestart to the 3.1 installer, and if 
that installer returns ERROR_SUCCESS_REBOOT_REQUIRED then you should reboot 
after installing your product. Then you don’t have to worry about restarting 
your installation and having it deleted from your TEMP dir.

Blair Murri

Windows Live Setup Developer
<<<

I use Wix 3 and use a bootstrapper for installer 3.1 within my Wix project file.

Now my questions:
- How can I pass the command line option /norestart within the bootsprapper 
declaration?
- How could I check the result of the installation of installer 3.1?
- How could I request a restart?

Thank you in advice and best regards,
Thomas Gois
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Building wix from visual studio 2008 using HeatDirectory/HeatTask

2009-04-20 Thread Brian Bakkebo
Thanks Brian I am using the latest drop of wix.

Brian, no I didn't know about the project harvester. That is basically what
I am trying to do.  Is there any info on how to use it anywhere?

On Apr 20, 2009 5:38 PM, "Brian Rogers"  wrote:

Hey Brian,

Which version of heat.exe are you using? Is it this weeks drop? Second, if
you could show more or your source wixproj that would be great. Also, the
PreprocessorVariable takes only "var.MyVar" not "$(var.MyVar).

Do you know about the VSProject harvestor extension? This might work for
what you are doing. Check it out "heat.exe -?" and look for "project".

Thanks, Brian Rogers "Intelligence removes complexity." - Me
http://icumove.spaces.live.com

On Mon, Apr 20, 2009 at 7:51 AM, Brian Bakkebo  wrote: >
Hello Brian, thanks fo...
> http://icumove.spaces.live.com/blog/cns!FB93073C6534B681!461.entry<
http://icumove.spaces.live.com/blog/cns%21FB93073C6534B681%21461.entry>

> > But I am not quite sure how to define this variable in the wix project
file > or if I can? > Wha...
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Current Date

2009-04-20 Thread Neil Sleightholm
It wouldn't be too hard to write a custom action using DTF (assuming .Net is on 
your target).

Neil

-Original Message-
From: Anu Dev [mailto:queryl...@yahoo.com] 
Sent: 20 April 2009 14:32
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Current Date

Actually its taking the local format set on the machine.. I want to specify, 
particular format . Is there any way to do this...





From: Anu Dev 
To: General discussion for Windows Installer XML toolset. 

Sent: Monday, April 20, 2009 5:56:00 PM
Subject: Re: [WiX-users] Current Date

Thank you that worked :). Any idea how to put UTC time?





From: Neil Sleightholm 
To: General discussion for Windows Installer XML toolset. 

Sent: Monday, April 20, 2009 5:26:58 PM
Subject: Re: [WiX-users] Current Date

Take a look in the MSI SDK Documentation, I think the properties are [Date] and 
[Time].

Neil

Neil Sleightholm
X2 Systems Limited
n...@x2systems.com  




From: Anu Dev [mailto:queryl...@yahoo.com]
Sent: Mon 20/04/2009 12:19
To: WIX
Subject: [WiX-users] Current Date



HI

I want to store the Current Date in a the app.config file. Is there any 
constant available in WIX?

Thank you
Anweshi


    
--
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


      
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



  
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Dialog - Property Setting

2009-04-20 Thread Pally Sandher
>From your code fragment it seems like you're trying to use the inner
text of your publish tags to set your property. Inner text doesn't work
like that, it's generally used as a condition on the element (with some
exceptions like Text Controls).

Try modifying the code for your "yes" and "no" buttons to the following:


  1
  1


  1
  1


That should achieve what you're trying to do with those buttons. The 1
in the inner text just means it always does the Publish events when they
are clicked. See the Publish Element in the WiX.chm for more
information.

Hope this helps and good luck.


Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer
 
 
-Original Message-
From: ron cooper [mailto:roncooper...@gmail.com] 
Sent: 20 April 2009 13:25
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Custom Dialog - Property Setting

Dear All,

I want to create installer for my application which check existence of a
database file located somewhere. If it found the file, it should ask the
user whether to replace it or not.

Till now I have succeed in checking and launching a custom dialog as
mentioned above. I have provided buttons 'Yes' and 'No'.

If user clicks on 'Yes', I want a public property to be set to "1" and
if user clicks on 'No' it should set to "0" without disturbing further
installation process.

Here is my code







The Setup has found database instance on your
system. Do you want to remove it...
 


  INSTALL_FILE="1 "
 <===





INSTALL_FILE="0"
<===






  



I am getting stucked at arrow pointed lines.

The property 'INSTALL_FILE' is not getting set here.

Basically what I want to do is storing this property value in registry
and then take appropriate action while running my application exe.

Thanks Pally Sandher sir/mam for regularly giving suggestions and thanks
to all for making so efforts.

Anyone having ideas???

Regards,

Ron


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Building wix from visual studio 2008 using HeatDirectory/HeatTask

2009-04-20 Thread Brian Rogers
Hey Brian,

Which version of heat.exe are you using? Is it this weeks drop? Second, if
you could show more or your source wixproj that would be great. Also, the
PreprocessorVariable takes only "var.MyVar" not "$(var.MyVar).

Do you know about the VSProject harvestor extension? This might work for
what you are doing. Check it out "heat.exe -?" and look for "project".

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Mon, Apr 20, 2009 at 7:51 AM, Brian Bakkebo  wrote:

> Hello Brian, thanks for your response below.  It solved just about
> everything for me.  Now I have a problem with the heat output:
>  Source="SourceDir\"
> So I tried to do this here:
> Adding this:
>   PreprocessorVariable="$(var.MyVar)"
> .../>
> based on your heat examples here:
> http://icumove.spaces.live.com/blog/cns!FB93073C6534B681!461.entry
>
> But I am not quite sure how to define this variable in the wix project file
> or if I can?
> What I am trying to do is have this point to my output directory ie:Debug
> or
> Release\
> Can you give me an idea of what I need to do here.
>
> Med vennlig hilsen /Regards
> Brian
>
> 2009/4/19 Brian Rogers 
>
> > Hey Brian,
> >
> > Try the below.
> >
> >  
> >Debug
> >msbuild.heatfile
> >Package
> >*Pass via the command line*
> >en-us
> >..\..\data\HeatDir
> >  
> >  
> >
> >
> >  
> >  
> >   > AssemblyFile="$(WixToolPath)WixUtilExtension.dll" />
> >  
> > >   Directory="..\..\data\HeatDir"
> >   DirectoryRefId="DataDir"
> >   OutputFile="TestDir.wxs"
> >   AutogenerateGuids="true"
> >   ToolPath="$(WixToolPath)" />
> >  
> >
> > Thanks,
> >
> > Brian Rogers
> > "Intelligence removes complexity." - Me
> > http://icumove.spaces.live.com
> >
> >
> > On Sun, Apr 19, 2009 at 5:39 AM, Brian Bakkebo 
> wrote:
> >
> > > Hello all (I posted this to the wrong list on
> friday(wix-users-request))
> > >
> > > Rob pointed out to me that there was a way to use heattasks:
> > >
> > >
> >
> http://stackoverflow.com/questions/710687/best-way-to-create-a-wix-fragment-file-based-on-user-defined-directories-to-be-us,but
> > > I have not been able to get heattask or heatdirectory to work after
> > trying
> > > different methods.
> > >
> > > I found a much earlier post on the mailing-list here stating that you
> can
> > > use this a command like this in the wixproj file below to get
> > HeatDirectory
> > > to work:
> > >
> > >
> > > ..\..\DLL\Wix\
> > >$(WixToolPath)\wixtasks.dll
> > >$(WixToolPath)\Wix.targets
> > > 
> > >
> > > 
> > > > > GenerateGuidsNow="true" SuppressFragments="true" Template="module"
> > > ToolPath="$(WixToolPath)" />
> > >  
> > >
> > > The build succeeds, but I am not seeing any file output and no mention
> of
> > > heat running in the output in vs.  I also tried msbuild same results...
> > >
> > > 1. Can someone give me proper syntax for this to run from a Visual
> studio
> > > wix project for the HeatDirectory and a HeatTask commands?
> > >
> > > I could not find any documentation on this, perhaps this would help out
> > as
> > > well. I will update my post to stackoverflow when I get this all worked
> > > out,
> > > to share the infor.
> > >
> > > Thanks in advance for your help.
> > >
> > > I can provide my full .wixproj if it is needed
> > >
> > > Thanks in advance
> > >
> > > Brian
> > >
> > >
> >
> --
> > > Stay on top of everything new and different, both inside and
> > > around Java (TM) technology - register by April 22, and save
> > > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > > 300 plus technical and hands-on sessions. Register today.
> > > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > > ___
> > > WiX-users mailing list
> > > WiX-users@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/wix-users
> > >
> >
> >
> --
> > Stay on top of everything new and different, both inside and
> > around Java (TM) technology - register by April 22, and save
> > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > 300 plus technical and hands-on sessions. Register today.
> > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priorit

Re: [WiX-users] Hyperlink in EULA

2009-04-20 Thread Pally Sandher
http://blogs.msdn.com/robmen/archive/2006/05/30/610950.aspx 
Short answer: you can't.


Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer
 
 
 
 
 
-Original Message-
From: Anu Dev [mailto:queryl...@yahoo.com] 
Sent: 20 April 2009 13:13
To: WIX
Subject: [WiX-users] Hyperlink in EULA

Hi

How can I insert Hyperlink in RTF file. This hyperlink is part of EULA
and i am adding it in the WIX License Dialog

Thank you
Anweshi

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Current Date

2009-04-20 Thread Pally Sandher
http://msdn.microsoft.com/en-us/library/aa370905.aspx#date__time_properties
Short answer: no. 

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer
 
 
 
-Original Message-
From: Anu Dev [mailto:queryl...@yahoo.com] 
Sent: 20 April 2009 14:32
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Current Date

Actually its taking the local format set on the machine.. I want to specify, 
particular format . Is there any way to do this...





From: Anu Dev 
To: General discussion for Windows Installer XML toolset. 

Sent: Monday, April 20, 2009 5:56:00 PM
Subject: Re: [WiX-users] Current Date

Thank you that worked :). Any idea how to put UTC time?





From: Neil Sleightholm 
To: General discussion for Windows Installer XML toolset. 

Sent: Monday, April 20, 2009 5:26:58 PM
Subject: Re: [WiX-users] Current Date

Take a look in the MSI SDK Documentation, I think the properties are [Date] and 
[Time].

Neil

Neil Sleightholm
X2 Systems Limited
n...@x2systems.com  




From: Anu Dev [mailto:queryl...@yahoo.com]
Sent: Mon 20/04/2009 12:19
To: WIX
Subject: [WiX-users] Current Date



HI

I want to store the Current Date in a the app.config file. Is there any 
constant available in WIX?

Thank you
Anweshi

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Building wix from visual studio 2008 using HeatDirectory/HeatTask

2009-04-20 Thread Brian Bakkebo
Hello Brian, thanks for your response below.  It solved just about
everything for me.  Now I have a problem with the heat output:

based on your heat examples here:
http://icumove.spaces.live.com/blog/cns!FB93073C6534B681!461.entry

But I am not quite sure how to define this variable in the wix project file
or if I can?
What I am trying to do is have this point to my output directory ie:Debug or
Release\
Can you give me an idea of what I need to do here.

Med vennlig hilsen /Regards
Brian

2009/4/19 Brian Rogers 

> Hey Brian,
>
> Try the below.
>
>  
>Debug
>msbuild.heatfile
>Package
>*Pass via the command line*
>en-us
>..\..\data\HeatDir
>  
>  
>
>
>  
>  
>   AssemblyFile="$(WixToolPath)WixUtilExtension.dll" />
>  
>   Directory="..\..\data\HeatDir"
>   DirectoryRefId="DataDir"
>   OutputFile="TestDir.wxs"
>   AutogenerateGuids="true"
>   ToolPath="$(WixToolPath)" />
>  
>
> Thanks,
>
> Brian Rogers
> "Intelligence removes complexity." - Me
> http://icumove.spaces.live.com
>
>
> On Sun, Apr 19, 2009 at 5:39 AM, Brian Bakkebo  wrote:
>
> > Hello all (I posted this to the wrong list on friday(wix-users-request))
> >
> > Rob pointed out to me that there was a way to use heattasks:
> >
> >
> http://stackoverflow.com/questions/710687/best-way-to-create-a-wix-fragment-file-based-on-user-defined-directories-to-be-us,but
> > I have not been able to get heattask or heatdirectory to work after
> trying
> > different methods.
> >
> > I found a much earlier post on the mailing-list here stating that you can
> > use this a command like this in the wixproj file below to get
> HeatDirectory
> > to work:
> >
> >
> > ..\..\DLL\Wix\
> >$(WixToolPath)\wixtasks.dll
> >$(WixToolPath)\Wix.targets
> > 
> >
> > 
> > > GenerateGuidsNow="true" SuppressFragments="true" Template="module"
> > ToolPath="$(WixToolPath)" />
> >  
> >
> > The build succeeds, but I am not seeing any file output and no mention of
> > heat running in the output in vs.  I also tried msbuild same results...
> >
> > 1. Can someone give me proper syntax for this to run from a Visual studio
> > wix project for the HeatDirectory and a HeatTask commands?
> >
> > I could not find any documentation on this, perhaps this would help out
> as
> > well. I will update my post to stackoverflow when I get this all worked
> > out,
> > to share the infor.
> >
> > Thanks in advance for your help.
> >
> > I can provide my full .wixproj if it is needed
> >
> > Thanks in advance
> >
> > Brian
> >
> >
> --
> > Stay on top of everything new and different, both inside and
> > around Java (TM) technology - register by April 22, and save
> > $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> > 300 plus technical and hands-on sessions. Register today.
> > Use priority code J9JMT32. http://p.sf.net/sfu/p
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Two problems: Not deleting files, and icon does not display.

2009-04-20 Thread Curtis Jewell
On Thu, 16 Apr 2009 22:58 -0700, "Rob Mensching" 
wrote:
> 1. MSI SDK says the RemoveFolders only removes a folder if it is empty.  
> You need a CustomAction to recurse all of the directories and add them 
> to the RemoveFolders table plus add the files to RemoveFiles table.

Well, I'm getting started writing that CustomAction. It's still 80%
psuedocode and only 20% C, but here's what I have so far. (I know I
can't append to strings like that in C, I'll rewrite that in proper RTL
calls myself when I get to my Visual Studio machine.)

I would prefer to have it run after the MSI has deleted the files it
knows about already. (why make extra work?)

What XML code would be required to put the CA in at that point, and what
MSI SDK functions would I use to do what is asked for in the HELP
comments?

I know I'm asking for a lot at the moment, but even if you only point
out the first steps, or point me to examples, I can work with that and
ask more detailed questions as needed later.

(Terms of Perl means the choice of the Artistic license, or GPL version
1 or later - don't blame me if that's a problem for people here, I'm
including this in a package that has that license.)

--- CleanFolderCA.c

// This code is free software; you can redistribute it and/or modify it
under the same terms as Perl itself.

#include "CleanFolderCA.h"

BOOL APIENTRY DllMain( HANDLE hModule, DWORD ul_reason_for_call, LPVOID
lpReserved )
{
return TRUE;
}

UINT __stdcall CleanFolder ( MSIHANDLE hModule )
{
LPCTSTR sInstallDirectory;
UINT uiAnswer;

// HELP: Query hModule for installation directory. [INSTALLDIR]
property, IIRC.
// Answer needs to eventually go into sInstallDirectory. 

uiAnswer = AddDirectory(hModule, sInstallDirectory);

if (uiAnswer != ERROR_SUCCESS) {
return uiAnswer;
}

// HELP: Can I make the MSI action repeat this way, and is this
the correct name?
uiAnswer = MsiDoAction(hModule, _T("RemoveFiles"));

return uiAnswer;
}

UINT __stdcall AddDirectory ( MSIHANDLE hModule, LPCTSTR sDirectory )
{
LPCTSTR sFind = sDirectory + "\\*";
LPCTSTR sNewDir;
LPWIN32_FIND_DATA lpFound;
HANDLE hFindHandle;
UINT uiFoundFilesToDelete = 0;
BOOL bAnswer = FALSE;
UINT uiAnswer = ERROR_SUCCESS

hFindHandle = FindFirstFile(sFind, lpFound);

if (hFindHandle != INVALID_HANDLE_VALUE) {
bAnswer = TRUE;
}

while (bAnswer & (uiAnswer == ERROR_SUCCESS))
if (lpFound->dwFileAttributes &&
FILE_ATTRIBUTES_DIRECTORY) {
sNewDir = sDirectory;
sNewDir += "\\";
sNewDir += lpFound + cFileName; 
uiAnswer = AddDirectory(hModule, sNewDir);
} else {
uiFoundFilesToDelete++;
}

bAnswer = FindNextFile(hFindHandle, lpFound);
}

FindClose(hFindHandle);

if (uiAnswer != ERROR_SUCCESS) {
return uiAnswer;
}

if (uiFoundFilesToDelete > 0) {
// HELP: Add entry to RemoveFiles table for *.* in this
directory
}

// HELP: Add entry to RemoveFiles table for this directory with
empty filename
// (in order to delete the directory)

return uiAnswer;
}
 
> 2.  I vaguely rememeber some tricky limitations around Shortcut Icons in 
> MSI.  You might try reading about those topics in the MSI SDK.

Found that problem, thanks!  Had to make sure that the Id attributes
ended with .ico, and everything worked. (The way the documentation and
tutorials read, I thought the ID attributes had to end with the
extension of the object being pointed to, instead, and of course,
reading an icon from what it thought was a .bat file had funny results!)

--Curtis
--
Curtis Jewell
swords...@csjewell.fastmail.us

%DCL-E-MEM-BAD, bad memory
-VMS-F-PDGERS, pudding between the ears

[I use PC-Alpine, which deliberately does not display colors and pictures in 
HTML mail]


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Current Date

2009-04-20 Thread Anu Dev
Actually its taking the local format set on the machine.. I want to specify, 
particular format . Is there any way to do this...





From: Anu Dev 
To: General discussion for Windows Installer XML toolset. 

Sent: Monday, April 20, 2009 5:56:00 PM
Subject: Re: [WiX-users] Current Date

Thank you that worked :). Any idea how to put UTC time?





From: Neil Sleightholm 
To: General discussion for Windows Installer XML toolset. 

Sent: Monday, April 20, 2009 5:26:58 PM
Subject: Re: [WiX-users] Current Date

Take a look in the MSI SDK Documentation, I think the properties are [Date] and 
[Time].

Neil

Neil Sleightholm
X2 Systems Limited
n...@x2systems.com  




From: Anu Dev [mailto:queryl...@yahoo.com]
Sent: Mon 20/04/2009 12:19
To: WIX
Subject: [WiX-users] Current Date



HI

I want to store the Current Date in a the app.config file. Is there any 
constant available in WIX?

Thank you
Anweshi


    
--
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


      
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



  
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build a own UIExtension-Dll

2009-04-20 Thread Bob Arnson
Bahn Thomas wrote:
> How i can include my .wixlib or the .wxs / .wxl Files into the 
> WebAppUIExtension.dll.
>   

That's your choice but the WiX extensions include them as embedded 
resources.

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



--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Current Date

2009-04-20 Thread Bob Arnson
Anu Dev wrote:
> I want to store the Current Date in a the app.config file. Is there any 
> constant available in WIX?
>   

Yes. See the MSI SDK help for a list of available properties.

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



--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Current Date

2009-04-20 Thread Anu Dev
Thank you that worked :). Any idea how to put UTC time?





From: Neil Sleightholm 
To: General discussion for Windows Installer XML toolset. 

Sent: Monday, April 20, 2009 5:26:58 PM
Subject: Re: [WiX-users] Current Date

Take a look in the MSI SDK Documentation, I think the properties are [Date] and 
[Time].

Neil

Neil Sleightholm
X2 Systems Limited
n...@x2systems.com  




From: Anu Dev [mailto:queryl...@yahoo.com]
Sent: Mon 20/04/2009 12:19
To: WIX
Subject: [WiX-users] Current Date



HI

I want to store the Current Date in a the app.config file. Is there any 
constant available in WIX?

Thank you
Anweshi


    
--
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


  
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build Error in light.exe when building with VS2005

2009-04-20 Thread nickheppleston

Bob,
Many thanks for the reply. I re-jigged the project structure (closer to how
I actually wanted it) and the problem has gone away.

Many thanks for your help anyway.

Cheers, Nick. 


Bob Arnson-6 wrote:
> 
> nickheppleston wrote:
>> I am running the latest build of WiX 3.0 with Votive. I am using Visual
>> Studio 2005 to build the project.
>>   
> 
> Try running msbuild.exe from a command line. Post the light.exe command 
> lines and error messages.
> 
> -- 
> sig://boB
> http://joyofsetup.com/
> 
> 
> 
> --
> Stay on top of everything new and different, both inside and 
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today. 
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> 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/Build-Error-in-light.exe-when-building-with-VS2005-tp2642626p2663261.html
Sent from the wix-users mailing list archive at Nabble.com.


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom Dialog - Property Setting

2009-04-20 Thread ron cooper
Dear All,

I want to create installer for my application which check existence of a
database file located somewhere. If it found the file, it should ask the
user whether to replace it or not.

Till now I have succeed in checking and launching a custom dialog as
mentioned above. I have provided buttons 'Yes' and 'No'.

If user clicks on 'Yes', I want a public property to be set to "1" and if
user clicks on 'No' it should set to "0" without disturbing further
installation process.

Here is my code







The Setup has found database instance on your
system. Do you want to remove it...
 


  INSTALL_FILE="1 "
 <===





INSTALL_FILE="0"
<===






  



I am getting stucked at arrow pointed lines.

The property 'INSTALL_FILE' is not getting set here.

Basically what I want to do is storing this property value in registry and
then take appropriate action while running my application exe.

Thanks Pally Sandher sir/mam for regularly giving suggestions and thanks to
all for making so efforts.

Anyone having ideas???

Regards,

Ron
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Hyperlink in EULA

2009-04-20 Thread Anu Dev
Hi

How can I insert Hyperlink in RTF file. This hyperlink is part of EULA and i am 
adding it in the WIX License Dialog

Thank you
Anweshi


  
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ServiceInstall Least Privilege

2009-04-20 Thread Bob Arnson
Calin Iaru wrote:
> Vista has Service Hardening which I would like to enable with WiX v2. Is 
> there an element/attribute available? 

Yes, but only in WiX v3 and on Windows 7/MSI 5.0.

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



--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build a own UIExtension-Dll

2009-04-20 Thread Neil Sleightholm
I haven't tried this but when you build your wixlib with lit have you tried 
using the -bf option to bind files in to the wixlib.
 
Neil
 
Neil Sleightholm
X2 Systems Limited
n...@x2systems.com  
 



From: Bahn Thomas [mailto:thomas.b...@cic-group.eu]
Sent: Mon 20/04/2009 12:30
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Build a own UIExtension-Dll



Yes, this works, but it dont fit in my needs.

My UI have to be used in many projects, so I maked a new solution and get a 
.wixlib
But i can't use the .wixlib, because it references the bitmaps, etc.. 
absolutely. I need an .wixlib with embedded bitmaps.

So i thought, this is done, when i create an .dll with all the .wxs, .wxl and 
.bmp embedded. So i only ship the .dll and everyone can use it.


Von: Pally Sandher [pally.sand...@iesve.com]
Gesendet: Montag, 20. April 2009 12:31
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] Build a own UIExtension-Dll

One of the regular list posters, Neil Sleighholm, has a pretty good blog
post on how to customise the WiX UI standard libraries at
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html
without any need to compile a DLL. All your authoring is done in a
Fragment (or multiple fragments) so it's very easy to make modifications
if you're not happy with what you've created etc.

I use a similar method in 2 of our products to great effect and I wish
Neil's article had been around back when I was trying to work out an
easy way to do this.

Good luck.

Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501

http://www.iesve.com  
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer




-Original Message-
From: Bahn Thomas [mailto:thomas.b...@cic-group.eu]
Sent: 20 April 2009 08:51
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Build a own UIExtension-Dll

Hello,

I would build my own UI into an WebAppUIExtension.dll, I already have an
WebAppUI.wixlib.

I have seen the code of the UIExtension shipped with WiX and i get an
WebAppUIExtension.dll, but without the UI themselves. I have included
the AssemblyInfo.cs, UIDecompiler.cs and UIExtension.cs i my
WebAppUIExtension-Project.
How i can include my .wixlib or the .wxs / .wxl Files into the
WebAppUIExtension.dll.

Thanks

Thomas Bahn


--
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Current Date

2009-04-20 Thread Neil Sleightholm
Take a look in the MSI SDK Documentation, I think the properties are [Date] and 
[Time].
 
Neil
 
Neil Sleightholm
X2 Systems Limited
n...@x2systems.com  
 



From: Anu Dev [mailto:queryl...@yahoo.com]
Sent: Mon 20/04/2009 12:19
To: WIX
Subject: [WiX-users] Current Date



HI

I want to store the Current Date in a the app.config file. Is there any 
constant available in WIX?

Thank you
Anweshi


 
--
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Current Date

2009-04-20 Thread Anu Dev
HI

I want to store the Current Date in a the app.config file. Is there any 
constant available in WIX?

Thank you
Anweshi


  
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build a own UIExtension-Dll

2009-04-20 Thread Bahn Thomas
Yes, this works, but it dont fit in my needs.

My UI have to be used in many projects, so I maked a new solution and get a 
.wixlib
But i can't use the .wixlib, because it references the bitmaps, etc.. 
absolutely. I need an .wixlib with embedded bitmaps.

So i thought, this is done, when i create an .dll with all the .wxs, .wxl and 
.bmp embedded. So i only ship the .dll and everyone can use it.


Von: Pally Sandher [pally.sand...@iesve.com]
Gesendet: Montag, 20. April 2009 12:31
An: General discussion for Windows Installer XML toolset.
Betreff: Re: [WiX-users] Build a own UIExtension-Dll

One of the regular list posters, Neil Sleighholm, has a pretty good blog
post on how to customise the WiX UI standard libraries at
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html
without any need to compile a DLL. All your authoring is done in a
Fragment (or multiple fragments) so it's very easy to make modifications
if you're not happy with what you've created etc.

I use a similar method in 2 of our products to great effect and I wish
Neil's article had been around back when I was trying to work out an
easy way to do this.

Good luck.

Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501

http://www.iesve.com
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer




-Original Message-
From: Bahn Thomas [mailto:thomas.b...@cic-group.eu]
Sent: 20 April 2009 08:51
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Build a own UIExtension-Dll

Hello,

I would build my own UI into an WebAppUIExtension.dll, I already have an
WebAppUI.wixlib.

I have seen the code of the UIExtension shipped with WiX and i get an
WebAppUIExtension.dll, but without the UI themselves. I have included
the AssemblyInfo.cs, UIDecompiler.cs and UIExtension.cs i my
WebAppUIExtension-Project.
How i can include my .wixlib or the .wxs / .wxl Files into the
WebAppUIExtension.dll.

Thanks

Thomas Bahn


--
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Write to a configuration file based on a condition

2009-04-20 Thread Anu Dev


Thank you Will try that...



From: Brian Rogers 
To: General discussion for Windows Installer XML toolset. 

Sent: Friday, April 17, 2009 1:01:48 PM
Subject: Re: [WiX-users] Write to a configuration file based on a condition

Hey Anu,

The radio button specifies a value. Under your  element you could
put a  element that supports your needs.

Thanks,

Brian Rogers
"Intelligence removes complexity." - Me
http://icumove.spaces.live.com


On Thu, Apr 16, 2009 at 9:47 AM, Anu Dev  wrote:

> Hi
>
> I am writing to a configuration file during installation. I want to write
> to the configuration based on selection of a radio button. Can anyone please
> let me know how this can be achieved
>
> Thank you
> Anweshi
>
>
>
>
> --
> Stay on top of everything new and different, both inside and
> around Java (TM) technology - register by April 22, and save
> $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
> 300 plus technical and hands-on sessions. Register today.
> Use priority code J9JMT32. http://p.sf.net/sfu/p
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



  
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [Re: UN-Install Issue...]

2009-04-20 Thread Pally Sandher
See this blog post by one of the list posters, Neil Sleightholm. It
should point you in the right direction to achieve what you are trying
to do ->
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html

Good luck.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer



-Original Message-
From: ron cooper [mailto:roncooper...@gmail.com] 
Sent: 20 April 2009 10:43
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] [Re: UN-Install Issue...]

Dear Palbinder Sandhe,

Thank you for valuable information shared with me.

I am trying to get rid off the issue of getting user input using custom
UI dialog, But actually not getting idea how to add it.

Also apology for re-sending same request since my smtp settings was
changed somehow and I could not seen first request in list too.

If possible give some hint about adding custom UI dialog at the time of
installation. I am using  and I wish to
create a new dialog asking user about particular action and take his
input.
Dont know how to do it, but my application requirement is like the same.

If anyone have passed through the situation, please share.

Thanks and Regards,

Ron

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build a own UIExtension-Dll

2009-04-20 Thread Pally Sandher
One of the regular list posters, Neil Sleighholm, has a pretty good blog
post on how to customise the WiX UI standard libraries at
http://neilsleightholm.blogspot.com/2008/08/customised-uis-for-wix.html
without any need to compile a DLL. All your authoring is done in a
Fragment (or multiple fragments) so it's very easy to make modifications
if you're not happy with what you've created etc.

I use a similar method in 2 of our products to great effect and I wish
Neil's article had been around back when I was trying to work out an
easy way to do this.

Good luck.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer
 
 
 
 
-Original Message-
From: Bahn Thomas [mailto:thomas.b...@cic-group.eu] 
Sent: 20 April 2009 08:51
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Build a own UIExtension-Dll

Hello,

I would build my own UI into an WebAppUIExtension.dll, I already have an
WebAppUI.wixlib.

I have seen the code of the UIExtension shipped with WiX and i get an
WebAppUIExtension.dll, but without the UI themselves. I have included
the AssemblyInfo.cs, UIDecompiler.cs and UIExtension.cs i my
WebAppUIExtension-Project.
How i can include my .wixlib or the .wxs / .wxl Files into the
WebAppUIExtension.dll.

Thanks

Thomas Bahn


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Multilanguage msi

2009-04-20 Thread Neil Sleightholm
Windows Installer does not support this. You either have to have multiple MSIs 
or one MSI and transforms for the languages.
 
Neil
 
Neil Sleightholm
X2 Systems Limited
n...@x2systems.com  
 



From: Hukumchand Shah [mailto:hukum.s...@gmail.com]
Sent: Mon 20/04/2009 09:16
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Multilanguage msi



Hi All,

Can any one tell me, how to make one msi which will support more than one
language.
I have one wix installer currently it supports only english language. But I
want to make one msi for multiple languages and not different msi for
different language.

Is there any way to do this in wix?

Thank you,

Regards,
Hukum
--
Stay on top of everything new and different, both inside and
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today.
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installutil in wix

2009-04-20 Thread Pally Sandher
It's possible to register DLL's by using heat.exe to harvest the
self-registration information & outputting a fragment to add to your
project. Heat.exe has a page in the WiX.chm under "Tools and Concepts"
and by running it with the /? Flag it gives plenty of information on how
to use it to get the code you need generated.

How many times in the last week has a variation on this question been
asked? Just use heat.exe. It works & you'll be following the best
practices for rollback/uninstall/etc without even trying.

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the **
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer
 
 
-Original Message-
From: sandun css [mailto:sandun...@gmail.com] 
Sent: 20 April 2009 07:58
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Installutil in wix

Hi,

Is it possible to register dlls using installutil command in wix?

Thanks,
Sandun

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [Re: UN-Install Issue...]

2009-04-20 Thread ron cooper
Dear Palbinder Sandhe,

Thank you for valuable information shared with me.

I am trying to get rid off the issue of getting user input using custom UI
dialog, But actually not getting idea how to add it.

Also apology for re-sending same request since my smtp settings was changed
somehow and I could not seen first request in list too.

If possible give some hint about adding custom UI dialog at the time of
installation. I am using  and I wish to
create a new dialog asking user about particular action and take his input.
Dont know how to do it, but my application requirement is like the same.

If anyone have passed through the situation, please share.

Thanks and Regards,

Ron
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] ServiceInstall Least Privilege

2009-04-20 Thread Calin Iaru
Vista has Service Hardening which I would like to enable with WiX v2. Is there 
an element/attribute available? So far, I see that the relevant specs around SH 
use "sc privs" and friends to specify a running context. If there is no 
element, then the alternative is a custom action?
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Multilanguage msi

2009-04-20 Thread Hukumchand Shah
Hi All,

Can any one tell me, how to make one msi which will support more than one
language.
I have one wix installer currently it supports only english language. But I
want to make one msi for multiple languages and not different msi for
different language.

Is there any way to do this in wix?

Thank you,

Regards,
Hukum
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Build a own UIExtension-Dll

2009-04-20 Thread Bahn Thomas
Hello,

I would build my own UI into an WebAppUIExtension.dll, I already have an 
WebAppUI.wixlib.

I have seen the code of the UIExtension shipped with WiX and i get an 
WebAppUIExtension.dll, but without the UI themselves. I have included the 
AssemblyInfo.cs, UIDecompiler.cs and UIExtension.cs i my 
WebAppUIExtension-Project.
How i can include my .wixlib or the .wxs / .wxl Files into the 
WebAppUIExtension.dll.

Thanks

Thomas Bahn

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Installutil in wix

2009-04-20 Thread sandun css
Hi,

Is it possible to register dlls using installutil command in wix?

Thanks,
Sandun
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users