Re: [WiX-users] Wix3: File/@Name as part of @Source

2007-12-29 Thread Alexander Biryukov
Thank you Bob for reply.

Bob Arnson <[EMAIL PROTECTED]> wrote:

> I detailed what it does on my blog:  
> http://www.joyofsetup.com/2007/12/07/simplifying-the-wix-v3-language/.
>
>> In real, Wix not working as described in history.txt, but working as
>> described in documentation - if Name not specified then Name *taken from
>> Id*. It is BAD. Files Id must be unique in msi package scope, but file  
>> names
>> may be same.
>>
>
> It's a default: If you need files with the same name, then you cannot  
> rely on the Name value defaulting from Id.

Yes, i need change Id, but in current feature realization i also need  
change Name.
Typically target file name is same to source file name, but not same to Id.

See below example:
   
 ...
 
   

   
 ...
 
   

In current wix realization i also need to set Name attribute. It not  
simplify setup developing in this cases.

> Because the compiler already had support for defaulting Name from Id.  
> Defaulting Id from Source was a new feature that wasn't a breaking  
> change. Going the other way would be a breaking change so I didn't  
> pursue it. Feel free to file a feature request -- it's not a bad idea  
> and I think we could check for the combination in WixCop.
>

Bob, while it feature is NEW, you can improve it without damage of  
bracking changes.
If you cannot improve this feature withot "Feature request", i will create  
it.

--
Alexander Biryukov

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Upgrade XML config files

2006-12-21 Thread Alexander Biryukov
Yes, XmlConfig useful for me in some cases.
Is exist a plans for port this CA to Wix2 ?

--
Alexander Biryukov


On Thu, 21 Dec 2006 20:04:53 +0300, Bob Arnson <[EMAIL PROTECTED]> wrote:

> Alexander Biryukov wrote:
>> Can anybody suggest universal mechanism to upgrade XML config files  
>> (such  as Web.config) ?
>>
>
> Take a look at the XmlConfig custom action in WiX v3.
>

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


[WiX-users] Upgrade XML config files

2006-12-20 Thread Alexander Biryukov
Hi,

Can anybody suggest universal mechanism to upgrade XML config files (such  
as Web.config) ?

I need to upgrade/reinstall product with XML config file, but modified by  
user XML attributes and added elements must be stay.

Thanks.

-- 
Alexander Biryukov

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


Re: [WiX-users] Install .Net COM+ without .TLB

2006-12-20 Thread Alexander Biryukov
Maybe you confuse COM with COM+ ?
If you installing COM+, than why you do't use standart Wix CA  
(ComPlusApplication element) ?

-- 
Alexander Biryukov


On Wed, 20 Dec 2006 20:27:54 +0300, Christer Solskogen  
<[EMAIL PROTECTED]> wrote:

> On Mon, 18 Dec 2006 15:29:41 +0300
> "Alexander Biryukov" <[EMAIL PROTECTED]> wrote:
>
>>
>> Wix COM+ CA (pcaexec) does not allow to install COM+ .Net assembly
>> without TLB file, but basically it possible.
>>
>
> Okay, I'm having a hard time installing a COM+ .Net assembly *with* a
> TLB file (Take a look at the mail from me with the subject "regasm in
> wix?") with Wix3.
>
> Any hints?
>




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


Re: [WiX-users] Install .Net COM+ without .TLB

2006-12-19 Thread Alexander Biryukov
On Tue, 19 Dec 2006 22:06:53 +0300, Fredrik Grohn  
<[EMAIL PROTECTED]> wrote:

> The reason the TLB is required for .NET assemblies is because the TLB is  
> an
> installed resource that would need to be tracked in case you let
> RegistrationHelper create it. The file would for instance be left behind  
> on
> the system if you don't explicitly remove it when the component is  
> removed.
> Also I think that if you install an assembly in the GAC you will end up
> dumping the generated TLB in the Windows\Assemblies directory.

Yes, but on uninstall it will deleted by RegistrationHelper.

> Providing  the
> TLB with the installer removes some complexity from the CA's, and also an
> installation step that might potentially fail.
>

In some situations it creating impasse.

For describe, more detail example :
Third party product install to GAC assembly AssemblyX.dll. AssemblyX.dll  
contain interface IAssemblyX.
My product contain assembly MyAssembly.dll and MyAssembly.TLB, install  
MyAssembly to GAC and install as COM+. MyAssembly.dll contain COM+ object,  
that inherit interface IAssemblyX from AssemblyX.

WiX CA failed, because of RegistrationHelper.InstallAssembly can't load  
MyAssembly.TLB without AssemblyX.TLB.
At now, no way to do it with standart WiX COM+ CA.
Analogous regsvcs utility command "regsvcs.exe /extlb /tlb:MyAssembly.tld  
MyAssembly.dll" also failed.

> Are you saying that you have a scenario where you can not generate the  
> TLB file at build time and include it in the MSI?
Right.

In my modified COM+ CA code i use RegistrationHelper.InstallAssembly()  
without flag ExpectExistingTypeLib and without TLB file. (see attach)

It simplify COM+ authoring in WiX - there is no need to generate TLB and  
less WiX script code.

> If you have dependencies on external TLB's you should be able to register 
> these separately, no?

In my case, external depended assemblies is not COM+ and have not  
generated TLB files.

--
Alexander Biryukov


> Fredrik

>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Alexander
> Biryukov
> Sent: Monday, December 18, 2006 1:30 PM
> To: wix-users@lists.sourceforge.net; Neil Sleightholm
> Subject: [WiX-users] Install .Net COM+ without .TLB
>
>
> Wix COM+ CA (pcaexec) does not allow to install COM+ .Net assembly  
> without
> TLB file, but basically it possible.
>
> In some situations COM+ assembly depend of external interfaces of another
> ..Net assemblies. It required more than one .TLB file to install
> COM+ assembly, but WiX allow set only one TLB file for 'ComPlusAssembly'
> element.
>
> I suggest to optional set attribute 'TlbPath' at 'ComPlusAssembly'
> element. If 'TlbPath' attribute absent, then use method, that install
> assembly without TLB (internally generated tlb). Same method used by
> regsvcs.exe .Net utility.
>
> I can send simply modified code of ca\pubca\pcaexec\cpiasmexec.cpp, that
> install .Net COM+ without TLB file.
> It code already work properly during 2-3 monthes in our products
> installers.
>
> P.S.
>It all about Wix2 (i think in Wix3 similar)
>
> --
> Alexander Biryukov
>


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


[WiX-users] Install .Net COM+ without .TLB

2006-12-18 Thread Alexander Biryukov

Wix COM+ CA (pcaexec) does not allow to install COM+ .Net assembly without  
TLB file, but basically it possible.

In some situations COM+ assembly depend of external interfaces of another  
.Net assemblies. It required more than one .TLB file to install  
COM+ assembly, but WiX allow set only one TLB file for 'ComPlusAssembly'  
element.

I suggest to optional set attribute 'TlbPath' at 'ComPlusAssembly'  
element. If 'TlbPath' attribute absent, then use method, that install  
assembly without TLB (internally generated tlb). Same method used by  
regsvcs.exe .Net utility.

I can send simply modified code of ca\pubca\pcaexec\cpiasmexec.cpp, that  
install .Net COM+ without TLB file.
It code already work properly during 2-3 monthes in our products  
installers.

P.S.
   It all about Wix2 (i think in Wix3 similar)

--
Alexander Biryukov

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


Re: [WiX-users] Conditional Install

2006-12-13 Thread Alexander Biryukov

Feature conditions are evaluated during the CostFinalize action, which
comes before WelcomeDlg action.

Modify your code :


And modify condition code to valid syntax :


--
Alexander Biryukov


On Thu, 14 Dec 2006 09:10:54 +0300, Jonas Abrams  
<[EMAIL PROTECTED]> wrote:

> Hey everyone,
>
> I am trying to base the installation of a feature in my install on a
> property that gets set through a custom action and have been unable to  
> get
> it to work correctly.  These are the steps that I am following:
>
>
> I first set up my property:
>
> 
>
>
> Now I have my feature information (I have tried with and without the '[]'
> around the property):
>
>  Level="1" ConfigurableDirectory='INSTALLDIR'>
>
> [PREREQ] != "1"
>
> 
>
> 
>
> 
>
>
> I have my custom action set up like this within the InstallUISequence
> element:
>
> 
>
>
> Does this look correct?  Is there something I'm missing?  I have tested  
> the
> installation with MSI logging and my custom action is correctly setting  
> the
> property but I'm not sure if it is happening at the right time.  Any help
> would be appreciated.
>
>
> Thanks,
>
> Jonas
>


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


Re: [WiX-users] Detecting if a service is running or not

2006-11-09 Thread Alexander Biryukov
Wix has no such opportunity. It is necessary to write new custom action.

--
Alexander Biryukov

On Thu, 09 Nov 2006 06:15:44 +0300, Harvey Werner <[EMAIL PROTECTED]>  
wrote:

> Can anyone tell me how to use WiX to detect if a Windows service is
> running?
> --
> Harvey Werner
>


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing to GAC

2006-11-09 Thread Alexander Biryukov
Write this for install .Net assembly to GAC :


 


During uninstall this assembly will be removed from GAC by Windows  
Installer.

--
Alexander Biryukov


On Thu, 09 Nov 2006 15:40:11 +0300, vij <[EMAIL PROTECTED]> wrote:

> Hi all,
>  Using WiX, how to install a file to GAC? And also, during the  
> un-installation, how to un-install the file which is in GAC?
>  Any pointers/resources would be of great help!!
>  thanks
>   Vij
>

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Some questions about XmlFile element

2006-08-24 Thread Alexander Biryukov
My installer should work with XML file which can (or not) exist.

1) Can XmlFile create new XML file if it does not exist ?
1) Is possible do not overwrite existing XML attributes, but create if not  
exists ?

--
Alexander Biryukov

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Citrix and FilesInUse

2006-08-22 Thread Alexander Biryukov

Is it real to create the custom action, that checks rewrite access to file  
before each copy operation during product installation ?
I need to show dialog with locked file name. Information about running  
application is not obligatory.

For example simple dialog:
--
  File "c:\MyProgram\lib.dll" is locked !
--
[Retry] [Abort]
--

---
Alexander Biryukov


On Tue, 22 Aug 2006 18:10:32 +0400, Chesong Lee <[EMAIL PROTECTED]>  
wrote:

>
> FilesInUse mechanism in MSI only *shows* files in use associated with  
> top-level Windows in the current session. If you want to prevent reboot,  
> I hate to say this but you need a custom action. Most of the  
> non-standard processing requires a custom action. WiX toolset has  
> several custom actions but your scenario can be too application-specific  
> to fit into the general WiX custom actions.
>
>
> A scenario is to detect the application running in other sessions  
> (possibly with help of your application) from your custom action and ask  
> the user to close the application before continuing setup. Dialog can be  
> invoked from the custom action with MsiProcessMessage (FilesInUseDialog  
> can be specified with INSTALLMESSAGE_FILESINUSE).
>
>
> Regards,
>
>
> Chesong Lee
>
>
> 
>
> From: [EMAIL PROTECTED]  
> [mailto:[EMAIL PROTECTED] On Behalf Of Nat  
> Luengnaruemitchai
> Sent: Tuesday, August 22, 2006 7:39 AM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Citrix and FilesInUse
>
>
> Hi,
>
>
> I'm using WiX 2.0 to create an MSI installer for a Citrix application. I  
> found out that FilesInUse cannot detect files in use by other users in  
> the same Citrix server i.e. it doesn't provide any warning before do the  
> installation. Therefore, at the end, it will tell me that I need to  
> reboot the Citrix server. Is there a way to force FilesInUse to detect  
> more thoroughly?
>
>
> P.S. I have admin right on the machine.
>
>
> Thanks,
>
> Nat
>


-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Solution to fix bug "Adding component to COM+ if it is in the GAC" [1487586]

2006-08-22 Thread Alexander Biryukov

Sorry, change fixed file d:\wix\source\src\ca\pubca\pcaexec\cpiasmexec.cpp  
at line 854 :
LPWSTR pwzSubStr = wcsstr(pwzAssemblyName, L", ProcessorArchitecture");
to
LPCWSTR pwzSubStr = wcsstr(pwzAssemblyName, L", ProcessorArchitecture");
^^^

--
Alexander Biryukov


On Tue, 22 Aug 2006 11:07:38 +0400, Neil Sleightholm <[EMAIL PROTECTED]>  
wrote:

> When I compile this using nant I get the following error:
>[cl] Compiling 1 files to
> 'D:\WiX\Source\Build\debug\ca\pubca\pcaexec'.
>[cl] cpiasmexec.cpp
>[cl] d:\wix\source\src\ca\pubca\pcaexec\cpiasmexec.cpp(854) :
> error C2440: 'initializing' : cannot convert from 'const wchar_t *' to
> 'LPWSTR'
>[cl] Conversion loses qualifiers
>
> Neil
>
> -----Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Alexander
> Biryukov
> Sent: 15 August 2006 23:07
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Solution to fix bug "Adding component to COM+ if it
> is in the GAC" [1487586]
>
>
> I found solution to fix bug [1487586] when adding component to COM+ if
> it is in the GAC.
> See attached file with code patch and comments.
>
> Some details:
>   wix version: 2.0.4409.0
>   Updated file src\ca\pubca\pcaexec\cpiasmexec.cpp
>   Patch tested on WinXP SP2 with installed .Net 1.1 and 2.0
> simultaneously.
>   Bug at sourceforge :
> http://sourceforge.net/tracker/index.php?func=detail&aid=1487586&group_i
> d=105970&atid=642714
>
> Is it possible to add this code to main WiX code tree ?
>
> --
> Alexander Biryukov
>



-- 
--
Alexander Biryukov

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Detecting .NET Framework version installed

2006-08-21 Thread Alexander Biryukov

See WiX tutorial : http://www.tramontana.co.hu/wix/lesson6.php


On Mon, 21 Aug 2006 20:23:11 +0400, Harvey Werner <[EMAIL PROTECTED]>  
wrote:

> I am still a newbie to WiX and would like to know the best way using WiX
> to detect what version of .NET framework is installed on a local
> machine. The install needs to detect if .NET 2.0 is installed or not.
> Can someone please point me in the right direction?
> Thanks.
> --
> Harvey Werner / [EMAIL PROTECTED] / 971.327.5279
>

-- 
Alexander Biryukov

-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Solution to fix bug "Adding component to COM+ if it is in the GAC" [1487586]

2006-08-15 Thread Alexander Biryukov


I found solution to fix bug [1487586] when adding component to COM+ if it  
is in the GAC.

See attached file with code patch and comments.

Some details:
 wix version: 2.0.4409.0
 Updated file src\ca\pubca\pcaexec\cpiasmexec.cpp
 Patch tested on WinXP SP2 with installed .Net 1.1 and 2.0 simultaneously.
 Bug at sourceforge :  
http://sourceforge.net/tracker/index.php?func=detail&aid=1487586&group_id=105970&atid=642714


Is it possible to add this code to main WiX code tree ?

--
Alexander Biryukov-
BUG: [ 1487586 ] Adding component to COM+ if it is in the GAC
URL: 
http://sourceforge.net/tracker/index.php?func=detail&aid=1487586&group_id=105970&atid=642714
-

Solution:

See comments in code.
This tested on WinXP SP2 with installed .Net 1.1 and 2.0 simultaneously. 


File src\ca\pubca\pcaexec\cpiasmexec.cpp

...
Line 843:   hr = pAssemblyCache->QueryAssemblyInfo(0, pwzAssemblyName, 
&assemblyInfo);

// -- [Begin of new code] --
if(hr == 0x80131047) // 0x80131047 - The given assembly name or 
code-base is invalid
{
// In .Net 1.x and .Net 2.0 AssemblyName will be different
//   .Net 1.x format: "MyAssembly, Version=1.0.0.0, 
Culture=neutral, PublicKeyToken=A6C259C05F51723A, ProcessorArchitecture=MSIL, 
Language=Neutral"
//   .Net 2.0 format: "MyAssembly, Version=1.0.0.0, 
Culture=neutral, PublicKeyToken=A6C259C05F51723A"
//
// Trying to get assembly info by reformatted assembly name 
string in .Net 2.0 format.

// Cuting off a tail of assambly name string (from 
"ProcessorArchitecture" to end)
LPWSTR pwzSubStr = wcsstr(pwzAssemblyName, L", 
ProcessorArchitecture");
size_t foundPos = pwzSubStr ? pwzSubStr-pwzAssemblyName : -1;
if(foundPos > 0)
{
LPWSTR pwzAssemblyName2 = new WCHAR[foundPos+1];
StringCchCopyW(pwzAssemblyName2, foundPos+1, 
pwzAssemblyName);

WcaLog(LOGMSG_STANDARD, "Alternative assembly name: 
%S", pwzAssemblyName2);

// Trying to get assembly info in alternative format
hr = pAssemblyCache->QueryAssemblyInfo(0, 
pwzAssemblyName2, &assemblyInfo);
delete [] pwzAssemblyName2;
}
}
// -- [End of new code] --

Line 844: if (HRESULT_FROM_WIN32(ERROR_FILE_NOT_FOUND) == hr)
...


---
Alexander Biryukov
[EMAIL PROTECTED]
-
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to show "FilesInUse" dialog _always_ ?

2006-08-07 Thread Alexander Biryukov

It's good, but how to catch "file in use" moment (before any file copy  
operation) to show dialog  ?

Maybe somehow that :





MyFileInUseCheck is custom action, that check file and show FilesInUse  
dialog, when file locked.

It will work ?

--
Alexander Biryukov

On Mon, 07 Aug 2006 00:21:58 +0400, Phil Wilson <[EMAIL PROTECTED]>  
wrote:

> The FilesInUse dialog can be shown from a custom action with
> MsiProcessMessage (...INSTALLMESSAGE_FILESINUSE...), this vbscript shows  
> the
> general idea:
>
> option explicit
> dim inst, rec, res
> const tryagain=4
> const DoExit = 2
> const Docontinue =1
> set inst = CreateObject("WindowsInstaller.Installer")
> set rec=inst.CreateRecord (3)
> rec.StringData(1) = "myfile.exe"
> rec.StringData(2) = "Please use Task Manager to terminate the program"
>
> Do
> res = Session.Message (&H0500, rec)
> ' check for the program terminated
>
> loop until res <> tryagain
>
>
> Phil Wilson
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Alexander
> Biryukov
> Sent: Friday, August 04, 2006 1:19 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] How to show "FilesInUse" dialog _always_ ?
>
> Greetings all,
>
> We need for doing minor upgrades of our software product on servers,  
> that is
> _not acceptably_ to reboot.
> Some of upgrades affect on running windows services, but Windows  
> Installer
> does not show FilesInUse dialog for this, instead show "Please reboot" at
> final of installation. In this situation user not be aware that
> services/files in use and will be updated, for manually prevent reboot.
>
> The Windows Installer documentation says :
> -
> If you expect the installer to display a FilesInUseDialog, but it does  
> not,
> this may be due to one of the following reasons:
> - The files in use are not executables.
> - The installer is not actually trying to install those files.
> - The process holding those files is the process invoking the  
> installation.
> - The process holding those files is one that does not have a window  
> with a
> title associated with it.
> -
>
> Is exist a way to display FilesInUse dialog (or some custom dialog with  
> file
> names) always, for _all_ "files in use" which should be updated ?
>
> --
> Alexander Biryukov
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT Join  
> SourceForge.net's
> Techsay panel and you'll get the chance to share your opinions on IT &
> business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> -
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share  
> your
> opinions on IT & business topics through brief surveys -- and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>


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


Re: [WiX-users] How to show "FilesInUse" dialog _always_ ?

2006-08-05 Thread Alexander Biryukov

Unfortunately, ServiceControl with Stop='install' always stops service, it  
is not dependent on that updating service or not. Also it does not solve  
the problem with locked non executable files.

Bob Arnson <[EMAIL PROTECTED]> wrote:

> Alexander Biryukov wrote:
>> Is exist a way to display FilesInUse dialog (or some custom dialog  
>> with  file names) always, for _all_ "files in use" which should be  
>> updated ?
>>
> No, FilesInUse is just for files affected by visible processes. But the  
> ServiceControl element lets you stop Windows services on install and  
> uninstall, so you can prevent them from being locked.
>

--
Alexander Biryukov

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


[WiX-users] How to show "FilesInUse" dialog _always_ ?

2006-08-04 Thread Alexander Biryukov
Greetings all,

We need for doing minor upgrades of our software product on servers, that  
is _not acceptably_ to reboot.
Some of upgrades affect on running windows services, but Windows Installer  
does not show FilesInUse dialog for this, instead show "Please reboot" at  
final of installation. In this situation user not be aware that  
services/files in use and will be updated, for manually prevent reboot.

The Windows Installer documentation says :
-
If you expect the installer to display a FilesInUseDialog, but it does  
not, this may be due to one of the following reasons:
- The files in use are not executables.
- The installer is not actually trying to install those files.
- The process holding those files is the process invoking the installation.
- The process holding those files is one that does not have a window with  
a title associated with it.
-

Is exist a way to display FilesInUse dialog (or some custom dialog with  
file names) always, for _all_ "files in use" which should be updated ?

-- 
Alexander Biryukov

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


[WiX-users] What use, WiX 2 or WiX 3 ?

2006-07-20 Thread Alexander Biryukov
In the near future we are going to use WiX for authoring a large installer  
with supporting:
- GAC (install .Net 1.1 components)
- Windows Services
- COM+ components
- Message Queues (MSMQ)
- Web Services
- Creating IIS web site

How much the risk of use WiX 3 Beta, unlike WiX 2 Release ?

Thanks.

-- 
Alexander Biryukov

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