Re: [WiX-users] Preprocessor ?if $(var.A) or $(var.B) ?

2011-07-22 Thread Stefan Pavlik
I have opened an issue here:
https://sourceforge.net/tracker/?func=detailaid=3374854group_id=105970atid=642714

On 21/07/2011 17:16, Rob Mensching wrote:
 Sounds like a bug.
 
 On Thu, Jul 21, 2011 at 2:22 AM, Stefan Pavlik stefan.pav...@gmail.comwrote:
 
 Hi All

 I need to include some part code depending on existence of several
 macros. I would write something like this:

 ?if $(var.A) or $(var.B) ?
 !--code--
 ?endif?

 Problem is that candle will generate error CNDL0150 (Undefined
 preprocessor variable) if any of the variables is not defined.

 According to http://wix.sourceforge.net/manual-wix3/preprocessor.htm
 (More Examples) it should be possible to use undefined preprocessor
 variables in ?if ? expression. Unfortunately compilation of this
 example will also end with error.

 Any help is appreciated.

 Stefan

 --
 Stefan Pavlik | stefan.pav...@gmail.com
 Lietavska 14 | 851 06 Bratislava | Slovak Republic

-- 
Stefan Pavlik | stefan.pav...@gmail.com
Lietavska 14 | 851 06 Bratislava | Slovak Republic

--
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks  Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Preprocessor ?if $(var.A) or $(var.B) ?

2011-07-21 Thread Stefan Pavlik
Hi All

I need to include some part code depending on existence of several
macros. I would write something like this:

?if $(var.A) or $(var.B) ?
!--code--
?endif?

Problem is that candle will generate error CNDL0150 (Undefined
preprocessor variable) if any of the variables is not defined.

According to http://wix.sourceforge.net/manual-wix3/preprocessor.htm
(More Examples) it should be possible to use undefined preprocessor
variables in ?if ? expression. Unfortunately compilation of this
example will also end with error.

Any help is appreciated.

Stefan

-- 
Stefan Pavlik | stefan.pav...@gmail.com
Lietavska 14 | 851 06 Bratislava | Slovak Republic

--
5 Ways to Improve  Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Preprocessor ?if $(var.A) or $(var.B) ?

2011-07-21 Thread Stefan Pavlik
My own reply:

On Thu, Jul 21, 2011 at 11:22 AM, Stefan Pavlik stefan.pav...@gmail.comwrote:

 ?if $(var.A) or $(var.B) ?
 !--code--
 ?endif?


Of course I can use following code but it is a bit unhandy (to check for
aprox. 20 possible macros)

?ifdef A?
  ?ifdef USE_FEATURE_1?
?undef USE_FEATURE_1?
   ?endif?
  ?define USE_FEATURE_1?
?endif?

?ifdef B?
  ?ifdef USE_FEATURE_1?
?undef USE_FEATURE_1?
   ?endif?
  ?define USE_FEATURE_1?
?endif?

?ifdef USE_FEATURE_1 ?
  !-- Feature1 --
?endif?


-- 
Stefan Pavlik | stefan.pav...@gmail.com
Lietavska 14 | 851 06 Bratislava | Slovak Republic
--
5 Ways to Improve  Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Preprocessor ?if $(var.A) or $(var.B) ?

2011-07-21 Thread Stefan Pavlik

On 21/07/2011 11:30, Peter Shirtcliffe wrote:
 This works for us
 
 ?ifndef compression ?
 ?define compression = high ?
 ?endif?

This works also for me, but it is not possible (AFAIK) to use 'OR',
'AND' operators in ?ifdef?, ?ifndef? expressions.


-- 
Stefan Pavlik | stefan.pav...@gmail.com
Lietavska 14 | 851 06 Bratislava | Slovak Republic

--
5 Ways to Improve  Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Preprocessor ?if $(var.A) or $(var.B) ?

2011-07-21 Thread Stefan Pavlik
On Thu, Jul 21, 2011 at 11:30 AM, Peter Shirtcliffe pshirtcli...@sdl.comwrote:

 This works for us

 ?ifndef compression ?
 ?define compression = high ?
 ?endif?


This will simplify a bit the code but still it is not very pretty:

?ifdef A?
  ?ifndef USE_FEATURE_1?
?define USE_FEATURE_1?
   ?endif?
?endif?

?ifdef B?
  ?ifndef USE_FEATURE_1?
?define USE_FEATURE_1?
   ?endif?
?endif?

?ifdef USE_FEATURE_1 ?
  !-- Feature1 --
?endif?


-- 
Stefan Pavlik | stefan.pav...@gmail.com
Lietavska 14 | 851 06 Bratislava | Slovak Republic
--
5 Ways to Improve  Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Preprocessor ?if $(var.A) or $(var.B) ?

2011-07-21 Thread Stefan Pavlik

On 21/07/2011 11:42, Peter Shirtcliffe wrote:
 Rather than depending on the existence of the variables, could you give them
 an arbitrary null/empty/false value as a default and test for them being not
 null/empty/false ? Would that work ?

Hm... It is problem because the macros are created dynamically (for some
configuration they are created and for other they are not).

It seems that I should change the script that generates the macros - to
create all macros and check only the values using ?if? expression.
(but I think that it would be simpler to use the wix code that I wrote
in previous reply).

Thanks


-- 
Stefan Pavlik | stefan.pav...@gmail.com
Lietavska 14 | 851 06 Bratislava | Slovak Republic

--
5 Ways to Improve  Secure Unified Communications
Unified Communications promises greater efficiencies for business. UC can 
improve internal communications as well as offer faster, more efficient ways
to interact with customers and streamline customer service. Learn more!
http://www.accelacomm.com/jaw/sfnl/114/51426253/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ProductLanguage property not included in transformation (created using Torch.exe)

2009-12-03 Thread Stefan Pavlik
Hi

There was no error message while creating the transform nor during
applying it to MSI file.

I do not want to create patch. Only thing I need is to create
language transformation that will change also ProductLanguage property.

Following command line will create language transformation but the
ProductLangauge property is not included in the MST file:
 torch.exe -t language Package_EN.msi Package_DE.msi -out 1031.mst

Following command will generate MST file with changed
ProductLanguage property:
 msitran.exe -g Package_EN.msi Package_DE.msi 1031.mst

Currently I am using the msitran.exe command in our build process. I
was only wondering whether the behavior is by design or it is some
kind of bug.

Thanks

Stefan

Rob Mensching wrote:
 Was this ever resolved? Are you really getting an error message talking
 about patching while using torch?
 


-- 
Stefan Pavlik | stefan.pav...@gmail.com
Lietavska 14 | 851 06 Bratislava | Slovak Republic

--
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] ProductLanguage property not included in transformation (created using Torch.exe)

2009-11-20 Thread Stefan Pavlik
Hi all

I have problem that is described on:
http://sourceforge.net/tracker/?func=detailatid=642714aid=2887011group_id=105970

In short:
Language transformation created using command:
torch.exe -t language Package_EN.msi Package_DE.msi -out 1031.mst
does not contain the ProductLanguage property.

I have received following answer:
 you need to add the PropertyRef to the PatchFamily element for a
 patch to include it in the patch. PatchFamily is a filter (and defines a
 patch family for the resulting MSP).

The answer results in another question:
I do not want to create the MSP file. I want to create the MST
transformation that will (after applying to MSI) change the
ProductLanguage property (and all the texts). Is it possible using
torch.exe?

Thanks

Stefan

-- 
Stefan Pavlik | stefan.pav...@gmail.com
Lietavska 14 | 851 06 Bratislava | Slovak Republic

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Running .exe file as part of OS startup

2008-06-10 Thread Stefan Pavlik
Anidil wrote:
 
 How do i run the startup application with elevated privileges on windows
 Vista?
 
It is not possible without user interaction.
The application needs to use manifest with line:
requestedExecutionLevel level=requireAdministrator 
uiAccess=false /

regards

Stefan



-- 
Stefan Pavlik | [EMAIL PROTECTED]
Lietavska 14 | 851 06 Bratislava | Slovak Republic

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


Re: [WiX-users] Wix v2 localization

2008-06-09 Thread Stefan Pavlik
Natxo Mateos wrote:
 Hi,
 
 At the moment I've been unable to build an executable with Wix v2 and 
 that uses dialogs.
 
 How is has to be done to specify the culture in WIX 2. It's possible via 
 Votive? Or the only way is through the command line?

Hi

the WiX 2 does not use something like 'culture'. And there is also 
no Votive support for multiple localization files in WiX2.

To compile and link the localized installer you need to specify the 
wxl file in the command line. e.g.

candle.exe *.wxs
light.exe *.wixobj -loc WixUI_en-us.wxl -out Product.msi

regards

Stefan

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

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


Re: [WiX-users] Vista UAC warning when setup runs

2008-05-22 Thread Stefan Pavlik
John Lister wrote:
 Hi, I've created a wix msi file which is then signed however when i run 
 it under vista i get a strange UAC warning:
  
 Program needs your permission to continue
  
 which has the Manufacturer name as the msi is signed, but the program is 
 listed as a random/temporary 5 digit name (eg 1cd5b.msi)
  
 Is it possible to get rid of this or at least put the correct msi name in?

Hi

I am using signtool.exe (by Microsoft) with the 'sign' switch. You 
need to provide the description - it will be displayed instead of 
random 5 digit name.

example:

signtool sign /f certificate.pfx /p Password /d Package ABC /t 
http://timestamp.verisign.com/scripts/timstamp.dll

Regards

Stefan


-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
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] Addin files in a transform

2008-04-30 Thread Stefan Pavlik
[EMAIL PROTECTED] wrote:
 I need to add a couple files using a transform to an already existing MSI 
 that contains all of its files in an embedded cabinet.  I understand that 
 I'll need to add the files to a new Feature that will contain new 
 Component(s) for the files.  
 
 I would like to keep the new files in a new embedded cabinet, but I 
 understand it might not be possible to add the new cabinet in the transform 
 to the _Streams table.  Must the cabinet file be external, or is their a way 
 to use the Binary table to embedd the files?
 
 TIA
 greenaj

The transformation file (MST) can change only the logic of the MSI 
package. It is not possible to change the cabinet file using the 
transform.

Of course you can add some files to Binary table (using transform) 
but you need to have separate custom action to extract the file from 
Binary table and copy it to desired place.
BIG disadvantage of such approach is that you need to create 
separate custom actions for installing, uninstalling, rollbacking 
the files 'installed' from Binary table.

Simple answer to your question is that it is not possible.

regards

Stefan

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Re start Manager on Vista

2008-04-03 Thread Stefan Pavlik
Anidil wrote:
 Hello there..any luck on this issue? even I'm facing the same problem
 
 
 Stefan Pavlik-2 wrote:
 Hi,

 I have a problem with Restart Manager on Windows Vista.
 During uninstallation of our application (usually after establishing
 the connection - our software is manager for Data Cards) the Windows
 Installer shows that it needs to close and restart several system
 services (e.g. Application Experience, Application Information,
 Application Management, Background Intelligent Transfer Service,
 Certificate Propagation, Extensible Authentication Protocol, Group
 Policy Client, IKE and AuthIP IPsec Keying Modules,). After
 pressing OK the installation ends with restart required.
 My problem is that I do not know how to avoid displaying of such
 ugly dialog (the user is unable to stop the system services).
 All services are hosted in one process (svchost.exe) and therefore
 all services are displayed to the user.

 Any help is highly appreciated.

 Thanks

 Stefan


I still have no solution for this problem.

Stefan

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Check machine type

2008-01-06 Thread Stefan Pavlik
Christopher Painter wrote:
 VersionNT64 is not a public or restricted public property.  It is a
 standard private property.

Of course it is not public property. Sorry my fault.

Stefan


 */Stefan Pavlik [EMAIL PROTECTED]/* wrote:
 
 SaiTeja wrote:
  Hi,
 
  How can I check the machine is 32 bit or 64 bit
 
 
 Check the VersionNT64 public property.
 
 http://msdn2.microsoft.com/en-us/library/aa372497(VS.85).aspx
 
 Stefan

-
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] Check machine type

2008-01-04 Thread Stefan Pavlik
SaiTeja wrote:
 Hi,
 
 How can I check the machine is 32 bit or 64 bit
 
 
Check the VersionNT64 public property.

http://msdn2.microsoft.com/en-us/library/aa372497(VS.85).aspx

Stefan

-
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] Check machine type

2008-01-04 Thread Stefan Pavlik
SaiTeja wrote:
 My main aim is I want to set program files folder
 Is the following way is correct
 
 ?if $(VersionNT64) ?
   ?define P_GUID = 4B1FB95B-4E4F-4ee3-B94C-7A3BF41BCBA2 ?
   ?define PrgFiles = ProgramFiles64Folder ?
   ?define MSI_version = 300 ?
   ?define MSI_platform = x64 ?
 ?else?
   ?define P_GUID = FFE8FDEB-9EFE-41f5-AEEB-E739648921CD ?
   ?define PrgFiles = ProgramFilesFolder ?
   ?define MSI_version = 200 ?
   ?define MSI_platform = Intel ?
 ?endif?

It is not correct.

The VersionNT64 is public property. All public properties are
evaluated in RunTime.
You want to use some Macro (macro is evaluated in Compile time).

By using the code above you need to specify (somewhere) the macro
'VersionNT64' and create two MSI packages (one for each VersionNT64
value).


For creating the 64 / 32 bit packages you should check this forum a
bit deeper. There are several threads that are worth to read.

regards

Stefan

-- 
Stefan Pavlik

-
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] Check machine type

2008-01-04 Thread Stefan Pavlik
SaiTeja wrote:
 Hi Stefan
 
 after I searched I got
 
  ?if $(env.BUILDTARGET) = i386?
 ?define IsWin64  = no?
 ?define WinSystemFolder = SystemFolder?
 ?else ?
 ?define IsWin64  = yes?
 ?define WinSystemFolder = System64Folder?
 ?endif ?
 
 Directory Id=TARGETDIR
 Directory Id=$(var.WinSystemFolder)
 Component Win64=$(var.IsWin64)
File Id=”fileConfig” Name=file.config /
/Component
 
   /Directory
 /DirectoryRef
 
 But I didnt udnerstand how to set the variable env.BUILDTARGET

In this case the BUILDTARGET is environmental variable. You can set
it via commandline:
set BUILDTARGET=i386
and run the installer immediately after that (the variable is not
preserved for future use).

You can also use following code:

?if $(var.BUILDTARGET) = i386?
 ...
?else ?
 ...
?endif ?

and rund the candle in following form:
candle.exe SourceCode.wxs -dBUILDTARGET=i386

regards

-- 
Stefan Pavlik

-
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] Re Post: Msi Logging

2007-12-17 Thread Stefan Pavlik
SaiTeja wrote:
 Hi,
 
 thanks for response
 I tried but not working
 
 - Property Id=MsiLogFileLocation Value=C:\Install.txt/
 -  Property Id=MsiLogFileLocationC:\Install.txt/Property
 
 Can u suggest more.

Hi

The MsiLogFileLocation Property is available since Windows Installer
4.0 (Windows Vista or newer). So it will not work for XP or 2000.

-- 
Stefan

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Special Folders: How do I?

2007-12-14 Thread Stefan Pavlik
Rory Clark wrote:
 In my WxS file, I want to install a file into a subdirectory of My
 Documents. Does anyone have a sample for that? Doing an web search
 isn't turning anything up.

Try the PersonalFolder property. It should point to Documents folder
of the current user.

See the following link for details:
http://msdn2.microsoft.com/en-us/library/aa370905.aspx#system_folder_properties

regards

Stefan


-- 
Stefan Pavlik

-
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] TARGETDIR

2007-12-11 Thread Stefan Pavlik
SaiTeja wrote:
 But when I mention only TARGETDIR ie Directory Id=TARGETDIR
 Name=SourceDir
 it is not showing C:\. It is showing some times D:\ or E:\
 
 What is the problem here? How can I get drive C:\

Hi

If the TARGETDIR is not defined explicitly (common case) then it is
defaulted to ROOTDRIVE. And ROOTDRIVE property is set by installer
to partition which have most free space.

See following links for details:

http://msdn2.microsoft.com/en-us/library/aa372064.aspx
http://msdn2.microsoft.com/en-us/library/aa371372.aspx

-- 
Stefan Pavlik

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


Re: [WiX-users] TARGETDIR

2007-12-11 Thread Stefan Pavlik

SaiTeja wrote:
 actually I want to assign C:\ to some property. Presently I hardcoded like
 this.
 Property Id=INSTALLPATH Value=C:\/
 
 And am using this property in many places. Suppose if machine doesn't have
 C: drive it will give problems.
 So I want to assign default drive to my property ie INSTALLPATH
 
 Can you tell me how Can I do this

You should use the WindowsVolume Property. It is the root of the
partition where Windows is installed.
http://msdn2.microsoft.com/en-us/library/aa372817.aspx

regards

Stefan


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


Re: [WiX-users] Re posting Condition for Silent Install

2007-12-06 Thread Stefan Pavlik
Hi Again...

You cannot use the INSTALLUILEVEL_NONE string in the WiX. It is
defined only in some C++ header file and you can use it in the C++
project.
You need to use the UILevel property. It means:

InstallExecuteSequence
  Custom Action=test Sequence='1200'UILevel=2/Custom
/InstallExecuteSequence

UILevel is name of property and 2 is value which means
INSTALLUILEVEL_NONE.

Regards

Stefan
SaiTeja wrote:
 Hi
 
  I want to execute some custom actions only in Silent Mode
 
 For ex: Custaction1,Custaction2,Custaction3,Custaction4, etc
 When I run in Silent Mode Custaction1 and Custaction2,
 Custaction3,Custaction4 Should execute
 When I run in UI mode, only Custaction3, Custaction4 should execute
 
 I tried in two ways.
 
  Property Id=SilentInstallINSTALLUILEVEL_NONE/Property
   
   For custom action:
 
   InstallExecuteSequence
  Custom Action=test Sequence='1200'SilentInstall/Custom Action
   /InstallExecuteSequence
 
 and another way is (No Ppty)
 
 InstallExecuteSequence
  Custom Action=test Sequence='1200'INSTALLUILEVEL_NONE/Custom
 Action
  /InstallExecuteSequence
 
 But its not working fine.
 
 It would be great if any one gave solution
 
 
 
 SaiTeja wrote:
 Hi Stefan,

 Thanks for you resp. Following is my sample code. Plz let me know the way
 is correct or not

  Property Id=SilentInstallINSTALLUILEVEL_NONE/Property
   
 For custom action:

   InstallExecuteSequence
  Custom Action=test Sequence='1200'SilentInstall/Custom
 Action
   /InstallExecuteSequence

   Binary Id='Customization.vbs' src='Customization.vbs'/
   CustomAction Id='test' BinaryKey='Customization.vbs'
 VBScriptCall='Hello' Return='check'/
   


 Thanks
 Hi,





 Stefan Pavlik-2 wrote:
 Hi,...

 You should create the condition for the CustomAction based on the
 UILevel property: http://msdn2.microsoft.com/en-us/library/aa372096.aspx


 UILevel:

 NSTALLUILEVEL_NONE  2 Completely silent installation.
 INSTALLUILEVEL_BASIC3 Simple progress and error handling.
 INSTALLUILEVEL_REDUCED  4 Authored UI, wizard dialogs suppressed.
 INSTALLUILEVEL_FULL 5 Authored UI with wizards, progress, errors.

 Regards

 Stefan

 SaiTeja wrote:
 Hi,

 I want to execute particular custom action [OR] I want to execute some
 lines
 of my wix code only in silent mode.

 Any answers?



 -- 
 Stefan Pavlik | [EMAIL PROTECTED]
 Whitestein Technologies s.r.o. | www.whitestein.com
 Panenska 28 | 811 03 Bratislava | Slovak Republic
 Main +421 2 5443-5502 | Direct +421 2 5930-0735

 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Condition Privileged not working

2007-12-06 Thread Stefan Pavlik
Hi...

I am using similar condition with WiX 2.0 for two years and it is
working OK.

You should check the verbose log of the installation.

msiexec.exe /i YourProduct.msi /l*v log_file.log

regards

Stefan

Gonzalo Diethelm wrote:
 Hello everyone,
 
 I need a Wix 2.0 package to be installed only by administrator users, so
 I added the following as a child of the Product element:
 
   Condition Message=Admins onlyPrivileged/Condition
 
 Then I logged in as a non-administrator user in Windows XP  SP2 and ran
 the installer. I never saw the Admins only message, and the
 installation proceeded Ok to the end. Am I missing something?
 
 Thanks and best regards,
 
 
 -- 
 Gonzalo Diethelm
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 
 
 
 -
 SF.Net email is sponsored by: The Future of Linux Business White Paper
 from Novell.  From the desktop to the data center, Linux is going
 mainstream.  Let it simplify your IT future.
 http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Condition for Silent Install

2007-12-03 Thread Stefan Pavlik
Hi,...

You should create the condition for the CustomAction based on the
UILevel property: http://msdn2.microsoft.com/en-us/library/aa372096.aspx


UILevel:

NSTALLUILEVEL_NONE  2 Completely silent installation.
INSTALLUILEVEL_BASIC3 Simple progress and error handling.
INSTALLUILEVEL_REDUCED  4 Authored UI, wizard dialogs suppressed.
INSTALLUILEVEL_FULL 5 Authored UI with wizards, progress, errors.

Regards

Stefan

SaiTeja wrote:
 Hi,
 
 I want to execute particular custom action [OR] I want to execute some lines
 of my wix code only in silent mode.
 
 Any answers?
 
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Msitran.exe - new version == new return code?

2007-11-23 Thread Stefan Pavlik
Hi

If anybody of you are using the Msitran.exe to create/ apply the
transformation files, do you check the return code of it?

It seems to me that the new version of it is returning 256 on
success. At least the output to console is: 'Done' which means SUCCESS.

The version 2.0.3790.0 returns 0 on success.
The version 4.0.6000.16384 returns 256 on success.

Does anybody know if my observation and guess is correct?

Thanks

Stefan


-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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] Reuse cabinet deletes cabinet

2007-11-12 Thread Stefan Pavlik
Hi

I am using following command and it works OK:

light.exe *.wixobj -cc CabCache -loc LocEN.wxl -out Package.msi
light.exe *.wixobj -cc CabCache -reusecab LocDE.wxl -out Package.msi

Regards

Stefan


Joachim Back wrote:
 Hello,
 
 I want to create two MSI based on the same external cabinet data.cab.
 
 My goal is to create the cabinet file only one time during installation build.
 
 I use the parameters -reusecab like this
 
 light -sacl -ss -spdb -b %WIXPATH% -ext WixUtilExtension -vwx -nologo -loc 
 English.wxl -out %RESULT%\%PRODUCT%_English.msi .\temp\%PRODUCT%.wixobj
 
 light -sacl -ss -spdb -reusecab -b %WIXPATH% -ext WixUtilExtension -vwx 
 -nologo  -loc French.wxl -out %RESULT%\%PRODUCT%_French.msi 
 .\temp\%PRODUCT%.wixobj
 
 I can see from the file modification time stamp, that the cabinet is again 
 modified by the second execution, even that the files contained in the 
 cabinet are the same for both. 
 
 Should I use -cc to achieve my goal?
 
 Regards,
 Joachim
 
 
 
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Bug in WiX2 2.0.5805.0 - CompanionFile attribute

2007-10-18 Thread Stefan Pavlik
Hi
 I think I have found  a bug in WiX2 (2.0.5805.0) (not sure if it is
also in Wix3 - not using it)

Consider this code:

Component Id=Component1 Guid=GUID DiskId=1
  File Id=File1 Name=File1.exe Vital=yes KeyPath=yes
Checksum=yes /
  File Id=File2 Name=File2.dll Vital=yes Checksum=yes
CompanionFile=File1/
/Component

Checking the MSI file with ORCA the FileTable:
The row that belongs to file File2 will contain the real version of
the file (in Column Version) instead of text: File1

The problem appears only if the file is binary. If the file File2 is
text file the Version column is filled correctly.

regards

Pls. let me know if I should open a bug...

Stefan

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Bug in WiX2 2.0.5805.0 - CompanionFile attribute

2007-10-18 Thread Stefan Pavlik
You are right.
The same problem is also in WiX2.

I will add a comment to the bug.

thanks

Stefan

John Hall wrote:
  I think I have found  a bug in WiX2 (2.0.5805.0) (not sure 
 if it is also in Wix3 - not using it)

 Consider this code:

 Component Id=Component1 Guid=GUID DiskId=1
   File Id=File1 Name=File1.exe Vital=yes KeyPath=yes
 Checksum=yes /
   File Id=File2 Name=File2.dll Vital=yes Checksum=yes
 CompanionFile=File1/
 /Component

 Checking the MSI file with ORCA the FileTable:
 The row that belongs to file File2 will contain the real 
 version of the file (in Column Version) instead of text: File1

 The problem appears only if the file is binary. If the file 
 File2 is text file the Version column is filled correctly.
 
 Stefan,
 
 I found a bug in WiX 3 along these lines:
 http://sourceforge.net/tracker/index.php?func=detailaid=1758782group_i
 d=105970atid=642714
 
 Regards,
 John
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to add newline in Condition message

2007-10-17 Thread Stefan Pavlik
Hi

WiX does not directly support this.

But you can create the Public Property from Custom Action (e.g.
CRLF) and this property will contain the new line sequence \r\n.
After that you can write your message in the following way:


Condition Message=Not Admin [CRLF] don’t have 2.0(NOT
Priviledged) AND MsiNetAssemblySupport lt;= 2.0.50727/Condition


BTW: It would be nice if WiX could generate such PublicProperty
during creation of MSI package...

regards

Stefan



Nitin Chaudhari wrote:
 Hi,
 
  
 
 I tried the following, but it doesn’t work
 
  
 
 Condition Message=Not Admin \n\r don’t have 2.0(NOT Priviledged) AND
 MsiNetAssemblySupport lt;= 2.0.50727/Condition
 
  
 
 How to display message in multiple lines.
 
  
 
 Thanks,
 
 Nitin
 
  
 
 DISCLAIMER == This e-mail may contain privileged and
 confidential information which is the property of Persistent Systems
 Ltd. It is intended only for the use of the individual or entity to
 which it is addressed. If you are not the intended recipient, you are
 not authorized to read, retain, copy, print, distribute or use this
 message. If you have received this communication in error, please notify
 the sender and delete all copies of this message. Persistent Systems
 Ltd. does not accept any liability for virus infected mails.
 
 
 
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now  http://get.splunk.com/
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Remove section using XMLConfig

2007-10-10 Thread Stefan Pavlik
Please keep wix-users on the thread so everyone can participate.


My solution is already mentioned in the thread
BTW I am using Wix v2 (and have no experience with Wix v3)

I found the solution:

XML file:
?xml version=1.0?
dpInst
  search
subDirectoryDirOne/subDirectory
subDirectoryDirTwo/subDirectory
  /search
  suppressAddRemovePrograms/
  quietInstall/
/dpInst

To remove the line
subDirectoryDirTwo/subDirectory
you need to write the XMLConfig in following way:

File Id='XmlSettings' Name='dpinst.xml' DiskId='1' /
XmlConfig Id='RemoveOneLine'
   File='[#XmlSettings]  '
   Action='delete'
   ElementPath='//dpInst/search'
   VerifyPath='subDirectory[\[].=DirTwo[\]]'
   Node='element'
   On='install'
   Sequence='1' /

Hope that it will help somebody...

Stefan

Ravikumar Gopinath wrote:
 Hi,
 I am trying to remove a section using XmlConfig and it isn't working for
 me. Can you please let m know how you resolved this issue? I am using
 the following piece of code:
  
 Component Id=WHManagerXml_$(var.LCID) DiskId=1
 Guid=111BCB33-664E-42ca-A186-DE04C317681D
  File Id=TestxmlFile Name=test.xml Source=test.xml/
 util:XmlConfig
 Id=TestXmlChange
 File=[TestxmlFile]
 Action=delete
 Node=element
 ElementPath=Parent/Descendant1
 VerifyPath='[EMAIL PROTECTED]abcd[\]]
  /
 /Component
 
 My Xml is
 Parent
   Descendant1
 Descendant2 guid='abcd' /
 Descendant2 guid='efgh' /
   /Descendant1
 /Parent
  
  
 Thanks
 Ravi
  

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now  http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing to SystemFolder\Drivers

2007-09-06 Thread Stefan Pavlik
Hi,...

I was using following code to install the driver into
system32\drivers folder adn it was working OK.

Directory Id='SystemFolder' Name='.' SourceName='.' 
  Directory Id='SystemDriversDir' Name='DRIVERS' LongName='drivers'
Component Id='C__Driver' Guid='GUID' 
File Id='PCASp50_sys' Name='PCASp50.sys' Checksum='yes'
DiskId='1' KeyPath='yes'/
/Component
  /Directory
/Directory

Anyway you should not copy the sys file directly to system32\drivers
folder. You should use the inf file to install the driver correctly.

regards


Stefan



Principher wrote:
 I am trying to install a file into the C:\Windows\System32\Drivers folder,
 but cannot figure out how to do it. I have no problem getting the file
 installed into the SystemFolder (System32) but moving on to Drivers
 subfolder is giving me trouble :( The code I have tried is the following:
 
 Directory Id='SystemFolder'
   Directory Id='Dr' Name='Drivers'
 Component Id='MD' Guid='1C35B99F-B693-4c1a-A7B5-465D2AEEDC0D'
   File Id=Porttalk Name=myDriver.sys Vital=yes/
 /Component
   /Directory
 /Directory
 
 This results in the destination folder becoming C:\Windows\System32, however
 the Drivers part is added to the source dir... I am sure there is something
 fundamental I am doing wrong, but what?
 
 I cannot use the INSTALLLOCATION folder for the Drivers folder, since I am
 using it for installing other files.
 
 And yes, I am very new to WiX. I like it very much, really great tool, if
 only I could figure out all the neat features it has :). Oh and just so you
 do not tell me to use descriptive IDs rather than those two letter ones, I
 am doing that already I just didn't feel like typing them in the example.

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Remove section using XMLConfig

2007-08-31 Thread Stefan Pavlik
I found the solution:

XML file:
?xml version=1.0?
dpInst
  search
subDirectoryDirOne/subDirectory
subDirectoryDirTwo/subDirectory
  /search
  suppressAddRemovePrograms/
  quietInstall/
/dpInst

To remove the line
subDirectoryDirTwo/subDirectory
you need to write the XMLConfig in following way:

File Id='XmlSettings' Name='dpinst.xml' DiskId='1' /
XmlConfig Id='RemoveOneLine'
   File='[#XmlSettings]  '
   Action='delete'
   ElementPath='//dpInst/search'
   VerifyPath='subDirectory[/[].=DirTwo[/]]'
   Node='element'
   On='install'
   Sequence='1' /

Hope that it will help somebody...

Stefan


-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Remove section using XMLConfig

2007-08-31 Thread Stefan Pavlik
And again - of course you need to use
 VerifyPath='subDirectory[\[].=DirTwo[\]]'

The \ is escape character (not /).

Stefan Pavlik wrote:
 I found the solution:
 
 XML file:
 ?xml version=1.0?
 dpInst
   search
 subDirectoryDirOne/subDirectory
 subDirectoryDirTwo/subDirectory
   /search
   suppressAddRemovePrograms/
   quietInstall/
 /dpInst
 
 To remove the line
 subDirectoryDirTwo/subDirectory
 you need to write the XMLConfig in following way:
 
 File Id='XmlSettings' Name='dpinst.xml' DiskId='1' /
 XmlConfig Id='RemoveOneLine'
File='[#XmlSettings]  '
Action='delete'
ElementPath='//dpInst/search'
VerifyPath='subDirectory[/[].=DirTwo[/]]'
  Node='element'
On='install'
Sequence='1' /
 
 Hope that it will help somebody...
 
 Stefan
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] how to create language transform in wix? Is it possible to do this in wix?

2007-08-17 Thread Stefan Pavlik
Hi all...

AFAIK the language transform cannot be created using WiX.
You can create several MSI packages (one for each language) and use
another tool (msitran.exe) to compare the packages and create the
language transformation.

Msitran.exe is part of SDK.

Regards

Stefan

Gareth at Serif wrote:
 Yes
 
 
 shambhu kumar wrote:


 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wrap a tooltip

2007-08-13 Thread Stefan Pavlik
Hi ...

I had similar problem.
My solution was to create the public property CRLF which will
contain the new line character sequence. Since I was not able to
fill the property with WiX I created the CustomAction which calls the
::MsiSetProperty(m_hInstall, LCRLF, L\r\n);
function.

Then I use the property [CRLF] in the strings to wrap the text.

Regards

Stefan

Joachim Back wrote:
 Hi,
 I managed to have tooltips in the user interface for explaining input
 fields to the user.
 
 E.g.
 Control Id=LicenseLabel Type=Text X=124 Y=155 Width=267
 Height=15 TabSkip=no Text=amp;!(loc.LicensePort):
 ToolTip=!(loc.DestinationTooltip1)
 /Control
 
 String Id=DestinationTooltip1Licensing is done via a license server.
 Please enter the hostname and port number of the license server
 separated by '.'./String
 
 My question is now:
 How to wrap this tooltip text in two lines and show it with a line feed
  carriage return?
 
 I tried \n and #10; as it works in many other programming languages and
 in HTML, but did not succeed.
 
 MSI has a property to enable/disable word-wrap for text controls, but
 not for tooltip.
 I think MSI does not support it and so Wix does not. True?
 
 Regards,
 Joachim
 
 
 
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] HKLM - purposely persistent

2007-08-10 Thread Stefan Pavlik
If the component is marked as Permanent then it will not be removed
during uninstall.

If the key is still removed there must be something different that
removes it.

Check the verbose log of the installer.

msiexec /x Package.msi /l*v Msilog.log

regards

Stefan

Simon Topley wrote:
 Thanks for the tip Stefan. Is this a tried and tested method? My keys
 still seem to disappear.
 
 Simon
 
 -Original Message-
 From: Stefan Pavlik [mailto:[EMAIL PROTECTED] 
 Sent: 09 August 2007 12:08
 To: Simon Topley
 Cc: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] HKLM - purposely persistent
 
 Hi Simon
 
 You can place the registry key to one Component and add
 [EMAIL PROTECTED]yes.
 
 It will ensure that the component (and thus the  registry key) wil not
 be removed during uninstall.
 
 regards
 
 Stefan
 
 Simon Topley wrote:
 Greetings one and all!

 It's been a while but I have returned once again to conquer the land 
 of installers. I have a pretty simple problem with my registry 
 settings. I create keys all over the LM and CU hives in the registry 
 however I wish to leave something behind in LM\software\company
 name\product version.
 I have used createkey to make this key and not 
 createKeyAndRemoveKeyOnUninstall. Sadly my key is still removed. I 
 know it's not exactly good manners to leave things in the registry but
 
 my hand is being forced here. Obviously there are many other keys in 
 the same place that do need to be removed on uninstall.

 Any help would be good. 

 Simon
 The information contained in this e-mail is likely to be confidential 
 and may be legally privileged. It is intended only for the addressee. 
 If you have received this message in error please notify the sender 
 immediately at the above address. The disclosure, copying or 
 distribution of this message or its contents without the prior 
 approval of Wallingford Software is strictly prohibited. Wallingford 
 Software is not liable for unauthorised disclosures nor for subsequent
 
 actions or omissions in reliance upon them.

 Registered in the UK, company no: 02288719 Wallingford Software 
 Limited, Howbery Park, Wallingford, Oxfordshire, OX10 8BA

 --
 --- This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a
 browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/ 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 
 --
 Stefan Pavlik | [EMAIL PROTECTED]
 Whitestein Technologies s.r.o. | www.whitestein.com Panenska 28 | 811 03
 Bratislava | Slovak Republic Main +421 2 5443-5502 | Direct +421 2
 5930-0735
 The information contained in this e-mail is likely to be confidential and
 may be legally privileged. It is intended only for the addressee. If you
 have received this message in error please notify the sender immediately at
 the above address. The disclosure, copying or distribution of this message
 or its contents without the prior approval of Wallingford Software is
 strictly prohibited. Wallingford Software is not liable for
 unauthorised disclosures nor for subsequent actions or omissions in reliance
 upon them.
 
 Registered in the UK, company no: 02288719
 Wallingford Software Limited, Howbery Park, Wallingford, Oxfordshire, OX10 8BA
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] HKLM - purposely persistent

2007-08-09 Thread Stefan Pavlik
Hi Simon

You can place the registry key to one Component and add
[EMAIL PROTECTED]yes.

It will ensure that the component (and thus the  registry key) wil
not be removed during uninstall.

regards

Stefan

Simon Topley wrote:
 Greetings one and all!
 
 It's been a while but I have returned once again to conquer the land of
 installers. I have a pretty simple problem with my registry settings. I
 create keys all over the LM and CU hives in the registry however I wish
 to leave something behind in LM\software\company name\product version.
 I have used createkey to make this key and not
 createKeyAndRemoveKeyOnUninstall. Sadly my key is still removed. I
 know it's not exactly good manners to leave things in the registry but
 my hand is being forced here. Obviously there are many other keys in the
 same place that do need to be removed on uninstall.
 
 Any help would be good. 
 
 Simon
 The information contained in this e-mail is likely to be confidential and
 may be legally privileged. It is intended only for the addressee. If you
 have received this message in error please notify the sender immediately at
 the above address. The disclosure, copying or distribution of this message
 or its contents without the prior approval of Wallingford Software is
 strictly prohibited. Wallingford Software is not liable for
 unauthorised disclosures nor for subsequent actions or omissions in reliance
 upon them.
 
 Registered in the UK, company no: 02288719
 Wallingford Software Limited, Howbery Park, Wallingford, Oxfordshire, OX10 8BA
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creating binary value in the registry

2007-07-30 Thread Stefan Pavlik
Hi

You should not use the '#x' prefix in the Value attribute.
The light.exe (I think) will create correct value during creation of
the MSI package.

Check Registry Value of the MSI file in ORCA editor and you will see
that the string in the 'Value' column is:
#x#x{4E4F5445530046726F6E74506167654578706C6F72657257696E646F773430}

Regards

Stefan

Anidil wrote:
 Can anyone tell me if the Value attribute i have specified is correct?
 This piece of code doesn't seems to work when the msi is run..
 
 Registry Id=PCPERegUnCooperativeApps Root=HKLM
 Key=Software\Wow6432Node\APC\APC PowerChute Personal
 Edition\2.01.100\Shutdown
 Registry Action=write Name=UnCooperativeApps
 Type=binary 
   
 Value=#x{4E4F5445530046726F6E74506167654578706C6F72657257696E646F773430}
 xmlns=http://schemas.microsoft.com/wix/2006/wi; /
   /Registry
 
 Am i using the proper syntax to specify the binary value?

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creating binary value in the registry

2007-07-30 Thread Stefan Pavlik


Stefan Pavlik wrote:
 Check Registry Value of the MSI file in ORCA editor and you will see

I meant 'Registry Table' not Registry Value.

Stefan

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creating binary value in the registry

2007-07-30 Thread Stefan Pavlik
Hi again...

I am not sure that you can directly write to Software\Wow6432Node\ key.

The Wow6432Node key is present only on 64-bit Windows.

I think you should write the value to
Root=HKLM
Key=Software\APC\APC PowerChute Personal Edition\2.01.100\Shutdown

If the component is not 64 Bit it will be written into the
Wow6432Node key (when installing on 64-bit Windows)

Regards

Stefan


Anidil wrote:
 Can anyone tell me if the Value attribute i have specified is correct?
 This piece of code doesn't seems to work when the msi is run..
 
 Registry Id=PCPERegUnCooperativeApps Root=HKLM
 Key=Software\Wow6432Node\APC\APC PowerChute Personal
 Edition\2.01.100\Shutdown
 Registry Action=write Name=UnCooperativeApps
 Type=binary 
   
 Value=#x{4E4F5445530046726F6E74506167654578706C6F72657257696E646F773430}
 xmlns=http://schemas.microsoft.com/wix/2006/wi; /
   /Registry
 
 Am i using the proper syntax to specify the binary value?

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Annoying RemoveFolders problem

2007-07-06 Thread Stefan Pavlik
Hi

The Condition in Component is evaluated ONLY during install time. If
it will be evaluated to TRUE the component will be installed.

In your scenario the Registry keys are not present during
Installation so the Component is installed (registered in system).

And during uninstallation (since the component was installed) the
RemoveFolder rows are processed.

You will probably need to write some CustomAction to solve your problem.

Regards

Stefan

Pierson Lee (Volt) wrote:
 I’m at my wit’s end trying to figure out this RemoveFolders problem so
 any help will be greatly appreciated.
 
  
 
 I am attempting to remove 2 folders that I created on install ONLY if
 all 3 registry keys I’m checking for do not exist.
 
  
 
 My Component for removeFolders looks like this:
 
  
 
 Component Id=ShareAFolderRemoval Guid={MY-GUID-HERE} 
 
 Condition(NOT (KEY1_EXISTS=1) OR NOT (KEY2_EXISTS=1) OR NOT
 (KEY3_EXISTS=1)) AND Installed/Condition
 
   RemoveFolder Id=ShareA_RemoveFolder Directory=ShareADir
 On=uninstall /
 
   RemoveFolder Id=ShareB_RemoveFolder Directory=ShareBDir
 On=uninstall/
 
 /Component
 
  
 
 Unfortunately, every time I run the uninstall it will remove the folders
 even when the key . My next step is during the folder creation process,
 to set those components to Permanent=”yes” but that causes the folders
 not to be removed.
 
  
 
  
 
 Any one have any suggestions?
 
  
 
 Thanks
 --Pierson
 
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] [wix-users] Conditions for setup in GUI and without GUI?

2007-06-26 Thread Stefan Pavlik
Another info from MSDN (Windows Installer Error Messages):

Windows Installer errors have an error code of 1000 or greater. The
error codes numbered 1000 to 1999 are ship errors and must be
authored into the Error table. The error codes numbered greater than
2000 are internal errors and do not have authored strings, but these
can occur if the installation package has been incorrectly authored.
For a list of reserved error codes, see Error table.


Stefan



Rob Hamflett wrote:
 Hmm, haven't seen that before.  I've been using 2000+ for all my error codes. 
  Should probably get 
 round to fixing that some day, then.
 
 Rob
 
 Stefan Pavlik wrote:
 I know that the code below is just an example but to be precise:

 MSDN: Error Table
 The range from 25000 to 3 is reserved for errors from custom
 actions. Authors of custom actions may use this range for their
 custom actions.


 Regards

 Stefan


 Rob Hamflett wrote:
 Yuo could create custom errors like this:
 Error Id=2000This is my error message/Error
 and create a custom action to trigger it like this:
 CustomAction Id=MyError Error=2000 /

 You can call this in the InstallExecuteSequence like this:
 Custom Action=MyErrorNOT WANTED_CONDITION /Custom

 The additional problem is how do you stop them triggering if the UI ran?
 You can create another CA like this:
 CustomAction Id=setUI_RAN Property=UI_RAN Value=1 /
 and schedule it at some point in the InstallUISequence (as long as it's 
 before ExecuteAction). 
 There's no need to declare the UI_RAN property; it will be created when the 
 CA is run.  The 
 condition on your CA would then be something like:
 Custom Action=MyErrorNOT WANTED_CONDITION AND NOT UI_RAN/Custom

 Rob



 Mailinglist wrote:
 Hi WiX-Users,

  

 in our Setup we use a personalized GUI, that checks in its first dialog 
 several conditions and shows messages, if one condition fails. Most of 
 this conditions handle previously needed software, like “MMC 3.0” and 
 “Powershell 1.0”.

  

 This just works fine for us, but if the install is done with “/quiet” 
 parameter, those checks won’t ever be run, since the dialog is not 
 initialized anyway. So I tried of checking those conditions in the 
 product itself, which works, but even while install with gui the 
 messages pop up from the msi and not in our gui. How can I trigger the 
 conditions to only be checked if the installation is done in quiet mode?

  

 Snippet of the project itself:

  

 !-- Launch conditions --

 Condition Message='You have to be a local administrator to 
 install $(var.AppName).'

   Privileged

 /Condition

 Condition Message=Windows XP or Windows Server 2003 or 
 later is required.

   ![CDATA[VersionNT = 501]]

 /Condition

 Condition Message='This setup requires the .NET Framework 
 2.0 or higher.'

   ![CDATA[MsiNetAssemblySupport = 2.0.50727]]

 /Condition

 Condition Message=Microsoft SQL Server 2005 or SQL Server 
 Express have to be present for this version to be installed.

   ![CDATA[ NOT(VERSIONFULLSQL) AND 
 NOT(VERSIONEXPRESSSQL) ]]

 /Condition

 Condition Message='This setup requires the Microsoft 
 Management Console 3.0 or higher.'

   ![CDATA[NOT(MMC3) AND NOT(VersionNT = 600)]]

 /Condition

 Condition Message='This setup requires the Microsoft 
 Powershell v1.0 or higher.'

   ![CDATA[NOT (POWERSHELL)]]

 /Condition

  

 Snippet of the GUI with its conditions:

  

 Control Id=Next Type=PushButton X=236 Y=243 Width=56 
 Height=17 Default=yes Text=!(loc.WixUINext)

   Publish Event=NewDialog 
 Value=[WixUI_WelcomeDlg_Next]1/Publish

  

   Condition Action=disable

 ![CDATA[ ((VersionNT  502) OR (VersionNT = 502 
 AND NOT(ServicePackLevel = 1))) ]]

   /Condition

   Condition Action=disable

 ![CDATA[ NOT(VERSIONFULLSQL) AND 
 NOT(VERSIONEXPRESSSQL) ]]

   /Condition

   Condition Action=disable

 ![CDATA[NOT(MMC3) AND NOT(VersionNT = 600) ]]

   /Condition

   Condition Action=disable

 ![CDATA[NOT POWERSHELL]]

   /Condition

   Condition Action=enable

 ![CDATA[ ALLOWSERVER

 AND (VERSIONFULLSQL OR VERSIONEXPRESSSQL)

 AND (MMC3 OR (VersionNT = 600))

 AND (POWERSHELL)

 AND NOT((VersionNT  502) OR (VersionNT = 502 AND NOT(ServicePackLevel 
  = 1)))

 ]]

   /Condition

  

   Publish Property=IDIR 
 Value=[NEWINSTALLDIR]Aldi-Ews\MSSERVER/Publish

  

   Publish Property=WixUI_InstallMode 
 Value=InstallComplete/Publish

 /Control

  

  

 Any hints

[WiX-users] ForceReboot

2007-06-11 Thread Stefan Pavlik
Hi

I am installing some drivers (intermediate filter driver).
During update of the product the driver needs to be uninstalled and
installed again (I am not sure why).
My problem is that the uninstallation of the driver sometimes ends
with NETCFG_S_REBOOT error (success but reboot is required to complete).

My question is:
Is it possible to call the ForceReboot action from deferred Custom
Action?

I have tried MsiDoAction(hMsiHandle, LForceReboot) but if it is
called from deferred custom action it ends with error 6 (invalid
handle).
I am able to schedule the ForceReboot action (e.g. MsiDoAction -
from immediate custom action) but in this time I do not know whether
the Reboot will be necessary.

Thanks in advance

Stefan

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ForceReboot

2007-06-11 Thread Stefan Pavlik
I have found that the
MsiSetMode(hInstall, MSIRUNMODE_REBOOTNOW, TRUE) can be called from
deferred custom action and it seems that this will solve the problem.

Are there any 'issues' regarding the MSIRUNMODE_REBOOTNOW (except
for reboot itself)?

thanks again...

Stefan

Stefan Pavlik wrote:
 Hi
 
 I am installing some drivers (intermediate filter driver).
 During update of the product the driver needs to be uninstalled and
 installed again (I am not sure why).
 My problem is that the uninstallation of the driver sometimes ends
 with NETCFG_S_REBOOT error (success but reboot is required to complete).
 
 My question is:
 Is it possible to call the ForceReboot action from deferred Custom
 Action?
 
 I have tried MsiDoAction(hMsiHandle, LForceReboot) but if it is
 called from deferred custom action it ends with error 6 (invalid
 handle).
 I am able to schedule the ForceReboot action (e.g. MsiDoAction -
 from immediate custom action) but in this time I do not know whether
 the Reboot will be necessary.
 
 Thanks in advance
 
 Stefan
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ForceReboot

2007-06-11 Thread Stefan Pavlik
Yes it is DLL custom action.

Rob Hamflett wrote:
 Just to check, is it a DLL custom action you're using?  I probably should 
 have pointed that out in 
 my first post.
 
 Rob
 
 Stefan Pavlik wrote:
 Thanks for the answer.

 Problem is that I can not set the public property from the deferred
 custom action. The result is the same as with MsiDoAction or
 MsiSetMode -  error 6 - Invalid handle.

 Am I missing something?

 Stefan


 Rob Hamflett wrote:
 You could scheduled ForceReboot with a condition that is false using a 
 property.  In the Custom 
 Action you could change the property so that the condition became true if 
 you needed a reboot.

 Rob

 Stefan Pavlik wrote:
 Hi

 I am installing some drivers (intermediate filter driver).
 During update of the product the driver needs to be uninstalled and
 installed again (I am not sure why).
 My problem is that the uninstallation of the driver sometimes ends
 with NETCFG_S_REBOOT error (success but reboot is required to complete).

 My question is:
 Is it possible to call the ForceReboot action from deferred Custom
 Action?

 I have tried MsiDoAction(hMsiHandle, LForceReboot) but if it is
 called from deferred custom action it ends with error 6 (invalid
 handle).
 I am able to schedule the ForceReboot action (e.g. MsiDoAction -
 from immediate custom action) but in this time I do not know whether
 the Reboot will be necessary.

 Thanks in advance

 Stefan

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom dialog control enable / disable

2007-05-28 Thread Stefan Pavlik
Hi Milan,...

Milan Tomeš wrote:
 Hi all,
 
 RadioGroup is linked to property 
 _ServiceInstall which has value VersionNT. I guess that will result in 
 1 if VersionNT is set and 0 if not right ? If its true so why my code 
 isn't working ? If I set 1 instead if VersionNT in _ServiceInstall 
 property value its working ok.

You didn't post the code for initial setting of _ServiceInstall
property.

I think it should be the custom action (type 51), sequenced before
displaying of the dialog and conditioned by the VersionNT property.


Property Id='_ServiceInstall' Value='0' / !-- default value --

CustomAction Id=PROPCA__ServiceInstall Property=_ServiceInstall
Value=1 Execute=immediate /

InstallUISequence
Custom Id='PROPCA__ServiceInstall' Before='...' VersionNT/Custom
/InstallUISequence

Hope that it will help you.

Regards

Stefan

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Set property value according to the return value of a custom action

2007-05-28 Thread Stefan Pavlik
Hi,...

You should use CustomAction in DLL and write the Property
IS_VS_RUNNING directly from the Custom action.

Check the WiX tutorial for details on how to write the DLL:
http://www.tramontana.co.hu/wix/lesson3.php#3.3

I would not use the C# for custom action since it would require the
.NET framework to be already installed on the machine. The sample in
the tutorial is in C++.

Regards

Stefan

Xin Liu (Intl Vendor) wrote:
 Our installation requires a way to detect whether Visual Studio is
 currently running. If it is, installation will quit.
 
 Since Wix v2 doesn’t have a way to detect the running process, what I’m
 thinking is:
 
 1.   Use C# to write a tool named CheckProcess.exe which will return
 1 if Visual Studio is running.
 
 2.   Invoke CheckProcess.exe in a Custom Action after
 “LanuchCondirion” and set the value of IS_VS_RUNNING according to the
 return value of CheckProcess.exe.
 
 3.   If IS_VS_RUNNING, installer will pop up an error message and
 quit the installation.
 
  
 
 The question is how to set the value of a property according to the
 return value of a Custom Action?
 
  
 
 Thanks,
 
 Xin
 
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ServiceInstall Problem

2007-05-25 Thread Stefan Pavlik
Hi ...

I had similar problem two years ago.
I had no problem to install the service using 'Service.exe -service'
command.

I found out that during call to 'Service.exe -service' some registry
keys are written into HKCR.

If you have source code of your service check for the
YourService.rgs file and adjust the following code with appropriate
values:

Component ...
  File ...
  ServiceInstall...
  AppId Id=YOUR_SERVICE_GUID
LocalService=YourServiceName
ServiceParameters=-Service
Description=YourServiceDescription /
Component/


If you do not have the sources of your Service.exe you can check the
registry keys for the needed values:

[HKEY_CLASSES_ROOT\AppID\YourServiceName.EXE]
AppID={YOUR_SERVICE_GUID}

[HKEY_CLASSES_ROOT\AppID\{YOUR_SERVICE_GUID}]
ServiceParameters=-Service
LocalService=YourServiceName
@=YourServiceDescription



Hope that it will help you.

Regards

Stefan




 Pankaj Savdekar wrote:
 Hi All,
 
  
 
 I'm facing one problem using ServiceInstall. I have one ATL windows
 service which works fine when I manually register it (Service.exe
 -service). But service gives following error, when I install it using
 installer made using ServiceInstall element.
 
  
 
 Error 1053: The service did not respond to the start or control request
 in a timely fashion.
 
  
 
 Component definition in Wix file:
 
 
 
 Component Id='MainExecutable' Guid='0C47CD31-8876-42aa-B2D9-7D6FF823D171'
 
  
 
File Id='WinService' Name='WinSvc.exe' LongName='WinService.exe'
 DiskId='1'
 
   Source='WinService.exe' Vital='yes' KeyPath='yes'/
 
  
 
ServiceInstall Id=MyWinService Name=Win Service
 
   DisplayName=Windows service
 
   Type=ownProcess Start=auto ErrorControl=normal Vital=yes
 
ServiceDependency Id=RpcSs/
 
/ServiceInstall
 
  
 
 /Component
 
 
 
  
 
 Any idea what could be wrong?
 
  
 
 Thanks,
 
 Pankaj
 
 
 
 The idiot box is no longer passe; It's making news and how!
 http://content.msn.co.in/Entertainment/TV/Default.aspx
 
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Russian localisation for WiX2 UI

2007-05-23 Thread Stefan Pavlik
Hi,

You can download it from
http://www.tramontana.co.hu/wix/loc/

http://www.tramontana.co.hu/wix/loc/wixui_ru-ru.wxl

It is not yet officially distributed, but it is finished (according
to the page).

Regards

Stefan

Peter G. Sakhno wrote:
 Does any body have WixUI_ru-ru.wxl, Russian localisation for WiX2 UI?

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Why is my conditional statement not working

2007-05-18 Thread Stefan Pavlik
Hi again,...

Maybe I am wrong, but I think that:

- the 'IAgree' property is evaluated in the UISequence and thus it
must not be all uppercase.

- if you want to evaluate the property in the InstallExecuteSequence
(which is your case)  the property should be uppercase and Secure
Property Id=UNICODE_PROPERTY Secure=yes 

Stefan


Venkatesh wrote:
 If you look at the examples the radiobutton property for I agree has
 property like this
 RadioButtonGroup Property=IAgree
 So, case should not be matter.
 However, i did not get this
  I think it needs to be public to be transferred into the server
 install sequence. 
  
 What is meant by this?.Thank you so much.
  
 Regards
 Venkatesh
 
 *//*
 
 Doesn't your property name Unicode need to be uppercase? If you're
 using it as a Component condition I think it needs to be public
 to be transferred into the server install sequence.
 Phil Wilson
 
 
 *From:* [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] *On Behalf Of
 *Venkatesh
 *Sent:* Thursday, May 17, 2007 9:23 AM
 *To:* Stefan Pavlik; [EMAIL PROTECTED]; WiX-users
 *Subject:* Re: [WiX-users] Why is my conditional statement not working
 
 Stefan,
 I think, I am hands  down, with this. I donot know what is happening
 here. I am not using any conditional statement in the feature now. I
 put my conditional statements under components. Please these
 attached file. I created a simple directory with Test under which I
 created test1 and test2. Test1 has test1.txt and test3.txt. Test2
 directory has test2.text.
  
 I have the following code under component:
  
 Component Id=component0 DiskId=1
 Guid=00030829---C000-0046
 Condition![CDATA[Unicode = Yes]]/Condition
 File Id=file0 Name=test1 LongName=test1.txt
 src=D:\Demo\WIX\wixbinaries\test\test1\test1.txt /
 /Component
 Component Id=component2 DiskId=1
 Guid=4AA9EDBB-FC6C-460C-8866-358CECF4832B
 Condition![CDATA[Unicode = No]]/Condition
 File Id=file2 Name=Test3 LongName=Test3
 src=D:\Demo\WIX\wixbinaries\test\test1\test3.txt /
 /Component
  
 and  in the feature:
 Feature Id='Complete' Title='Teams Designer10.0.0'
 Description='TEAMS complete package.'
 Display='expand' Level='1' ConfigurableDirectory='TARGETDIR'
 Feature Id='MainProgram' Title='Program' Description='Teams
 executable.' Level='1'
 ComponentRef Id='component0' /
 ComponentRef Id='component1' /
 ComponentRef Id='component2' /
  
 Although I select option No it is installing the test1.txt file. I
 would like to see test3.txt file when I select No option in the
 radio button(TEAMS-ASCII) , in this case.
  
  
 Regards
 Venkatesh
 */Stefan Pavlik [EMAIL PROTECTED]/* wrote:
 
 Hi Again.
 
 (please use reply to all - to keep WiX-user in)
 
 Read this carefully:
 
 Here is sample code:
 
 
 
 ...
 
 
 
 ...
 
 
 
 
 
 
 
 
 
 And here is meaning:
 
 If 'FeatureCondition' property is set to Yes THEN the entire feature
 'F_FeatureA' will not be installed (it means that both components
 will not be installed no matter on the 'ComponentCondition'
 setting).
 
 If 'FeatureCondition' property is set to Yes THEN the feature
 'F_FeatureA' will be installed. The install state of components is
 now dependent on the 'ComponentCondition' property.
 
 - if the 'ComponentCondition' property is set to 'Yes' then
 component 'component0' will be installed and 'component1' will not
 be installed
 
 - if the 'ComponentCondition' property is set to 'No' then component
 'component1' will be installed and 'component0' will not be
 installed
 
 
 
 The element Condition belongs to element Feature or Component. The
 Condition cannot affect the ComponentRef element.
 
 
 Hope that now you will understand it.
 
 Regards
 
 Stefan
 
 Venkatesh wrote:
  Still I am not able to get it going. I have code like this
 
 
 
 
 
 
 
 
 
 
  When the condition is Yes, it should install Component0 and
 Component1
  is n't it?. Still installs Component2 also. Same thing with
 the No, It
  installs all three components. What am I doing wrong here.
 Thanks in
  advance.
 
  Venkatesh
 
 
  */Stefan Pavlik /* wrote:
 
  Hi Venkatesh,
 
  The use of Condition element is different.
  You can use it in:
 
  a) inside Component element (that is probably what you want

Re: [WiX-users] Why is my conditional statement not working

2007-05-17 Thread Stefan Pavlik
Hi Venkatesh,

The use of Condition element is different.
You can use it in:

a) inside Component element (that is probably what you want)
  Component Id=component0 Guid=
Condition![CDATA[Unicode = Yes]]/Condition
...
  /Component

  the component will be installed if the condition is evaluated to true

b) inside the Feature element:
  Feature Id=F_FeatureA Level=1
Condition Level=0 ![CDATA[Unicode = Yes]]/Condition
  /Feature

  the Feature Level will be changed to 0 if the condition is
evaluated to true

The Condition element can be used in other ways also. You can find
complete usage in the WIX Help file.


Regards

Stefan

Venkatesh wrote:
 I ahve a radio button where user selects a version of productUnicode Or
 ASCI) depending upon I need to install a different binary. I am using
 condition statement under feature. Looks like it is not working for me.
 I donot know what I am doing wrong here. Please help me.
 
 Code as follows:
 
 Feature Id='Complete' Title='Teams 1.0' Description='The TEAMS complete
 package.'
   Display='expand' Level='1' ConfigurableDirectory='TARGETDIR'
   Feature Id='MainProgram' Title='Program' Description='The main
 executable.' Level='1'
 Condition![CDATA[Unicode = Yes]]/Condition
  ComponentRef Id='component0' /
 Condition![CDATA[Unicode = No]]/Condition
ComponentRef Id='component1' /
  ComponentRef Id='component2' /
   
 /Feature
 
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Why is my conditional statement not working

2007-05-17 Thread Stefan Pavlik
Hi Again.

(please use reply to all - to keep WiX-user in)

Read this carefully:

Here is sample code:

Component Id=component0 Guid=...
Condition![CDATA[ComponentCondition = Yes]]/Condition
...
/Component
Component Id=component2 Guid=...
Condition![CDATA[ComponentCondition = No]]/Condition
...
/Component

Feature Id=F_FeatureA Level=1
Condition Level=0 
![CDATA[FeatureCondition = Yes]]/Condition
ComponentRef Id='component0' /
ComponentRef Id='component1' /
/Feature

And here is meaning:

If 'FeatureCondition' property is set to Yes THEN the entire feature
'F_FeatureA' will not be installed (it means that both components
will not be installed  no matter on the 'ComponentCondition' setting).

If 'FeatureCondition' property is set to Yes THEN the feature
'F_FeatureA' will be installed. The install state of components is
now dependent on the 'ComponentCondition' property.

- if the 'ComponentCondition' property is set to 'Yes' then
component 'component0' will be installed and 'component1' will not
be installed

- if the 'ComponentCondition' property is set to 'No' then component
'component1' will be installed and 'component0' will not be installed



The element Condition belongs to element Feature or Component. The
Condition cannot affect the ComponentRef element.


Hope that now you will understand it.

Regards

Stefan

Venkatesh wrote:
 Still I am not able to get it going. I have code like this
 
   Feature Id='MainProgram' Title=' TEAMS Program' Description='The main
 executable.'Level='1'
 Condition Level=1 ![CDATA[Unicode = Yes]]/Condition
  ComponentRef Id='component0' /
 ComponentRef Id='component1' /
  Condition Level=0 ![CDATA[Unicode = No]]/Condition
  ComponentRef Id='component2' /
 
 /Feature
 
 When the condition is Yes, it should install Component0 and Component1
 is n't it?. Still installs Component2 also. Same thing with the No, It
 installs all three components. What am I doing wrong here. Thanks in
 advance.
 
 Venkatesh
 
 
 */Stefan Pavlik [EMAIL PROTECTED]/* wrote:
 
 Hi Venkatesh,
 
 The use of Condition element is different.
 You can use it in:
 
 a) inside Component element (that is probably what you want)
 
 
 ...
 
 
 the component will be installed if the condition is evaluated to true
 
 b) inside the Feature element:
 
 
 
 
 the Feature Level will be changed to 0 if the condition is
 evaluated to true
 
 The Condition element can be used in other ways also. You can find
 complete usage in the WIX Help file.
 
 
 Regards
 
 Stefan
 
 Venkatesh wrote:
  I ahve a radio button where user selects a version of
 productUnicode Or
  ASCI) depending upon I need to install a different binary. I am using
  condition statement under feature. Looks like it is not working
 for me.
  I donot know what I am doing wrong here. Please help me.
 
  Code as follows:
 
 
  Display='expand' Level='1' ConfigurableDirectory='TARGETDIR'
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 -
  This SF.net email is sponsored by DB2 Express
  Download DB2 Express C - the FREE version of DB2 express and take
  control of your XML. No limits. Just data. Click to get it now.
  http://sourceforge.net/powerbar/db2/
 
 
 
 
 
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 -- 
 Stefan Pavlik | [EMAIL PROTECTED]
 Whitestein Technologies s.r.o. | www.whitestein.com
 Panenska 28 | 811 03 Bratislava | Slovak Republic
 Main +421 2 5443-5502 | Direct +421 2 5930-0735
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Restart Manager on Vista

2007-04-23 Thread Stefan Pavlik
Hi,

I have a problem with Restart Manager on Windows Vista.
During uninstallation of our application (usually after establishing
the connection - our software is manager for Data Cards) the Windows
Installer shows that it needs to close and restart several system
services (e.g. Application Experience, Application Information,
Application Management, Background Intelligent Transfer Service,
Certificate Propagation, Extensible Authentication Protocol, Group
Policy Client, IKE and AuthIP IPsec Keying Modules,). After
pressing OK the installation ends with restart required.
My problem is that I do not know how to avoid displaying of such
ugly dialog (the user is unable to stop the system services).
All services are hosted in one process (svchost.exe) and therefore
all services are displayed to the user.

Any help is highly appreciated.

Thanks

Stefan



Here is the InstallaValidate action from the Log file :

Action start 11:21:43: InstallValidate.
MSI (s) (28:18) [11:21:43:366]: Note: 1: 2205 2:  3: _RemoveFilePath
MSI (s) (28:18) [11:21:47:219]: Note: 1: 2756 2: OLD_START_MENU_FOLDER
MSI (s) (28:18) [11:21:47:313]: Note: 1: 2756 2:
OLD_MSI_PROGRAM_GROUP_UP_PATH
MSI (s) (28:18) [11:21:47:313]: Note: 1: 2756 2:
OLD_MSI_PROGRAM_GROUP_UPUP_PATH
MSI (s) (28:18) [11:21:47:406]: PROPERTY CHANGE: Modifying
CostingComplete property. Its current value is '0'. Its new value:'1'.
MSI (s) (28:18) [11:21:47:406]: Note: 1: 2205 2:  3: BindImage
MSI (s) (28:18) [11:21:47:406]: Note: 1: 2205 2:  3: ProgId
MSI (s) (28:18) [11:21:47:406]: Note: 1: 2205 2:  3: PublishComponent
MSI (s) (28:18) [11:21:47:406]: Note: 1: 2205 2:  3: SelfReg
MSI (s) (28:18) [11:21:47:406]: Note: 1: 2205 2:  3: Extension
MSI (s) (28:18) [11:21:47:406]: Note: 1: 2205 2:  3: Font
MSI (s) (28:18) [11:21:47:406]: Note: 1: 2205 2:  3: Class
MSI (s) (28:18) [11:21:47:406]: Note: 1: 2727 2:
MSI (s) (28:18) [11:21:58:358]: RESTART MANAGER: Detected that
application with id 2776, friendly name 'GUI for Unlimited Data
Manager', of type RmUnknownApp and status 1 holds file[s] in use.
MSI (s) (28:18) [11:21:58:358]: RESTART MANAGER: Detected that
application with id 2148, friendly name 'UDM Service', service short
name 'UDM Service', of type RmService and status 1 holds file[s] in use.
MSI (s) (28:18) [11:21:58:358]: RESTART MANAGER: Detected that the
service UDM Service will be stopped due to a service control action
authored in the package before the files are updated. So, we will
not attempt to stop this service using Restart Manager
MSI (s) (28:18) [11:21:58:358]: RESTART MANAGER: Detected that
application with id 516, friendly name 'Sesam Control Service',
service short name 'SesamService', of type RmService and status 1
holds file[s] in use.
MSI (s) (28:18) [11:21:58:358]: RESTART MANAGER: Detected that the
service SesamService will be stopped due to a service control action
authored in the package before the files are updated. So, we will
not attempt to stop this service using Restart Manager
MSI (s) (28:18) [11:21:58:358]: RESTART MANAGER: Detected that
application with id 1056, friendly name 'Shell Hardware Detection',
service short name 'ShellHWDetection', of type RmService and status
1 holds file[s] in use.
MSI (c) (24:C0) [11:21:58:358]: RESTART MANAGER: Session opened.
MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that
application with id 2776, friendly name 'GUI for Unlimited Data
Manager', of type RmMainWindow and status 1 holds file[s] in use.
MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that
application with id 1056, friendly name 'Application Experience',
service short name 'AeLookupSvc', of type RmCritical and status 1
holds file[s] in use.
MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that
application with id 1056, friendly name 'Application Information',
service short name 'Appinfo', of type RmCritical and status 1 holds
file[s] in use.
MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that
application with id 1056, friendly name 'Application Management',
service short name 'AppMgmt', of type RmCritical and status 1 holds
file[s] in use.
MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that
application with id 1056, friendly name 'Background Intelligent
Transfer Service', service short name 'BITS', of type RmCritical and
status 1 holds file[s] in use.
MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that
application with id 1056, friendly name 'Extensible Authentication
Protocol', service short name 'EapHost', of type RmCritical and
status 1 holds file[s] in use.
MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that
application with id 1056, friendly name 'Group Policy Client',
service short name 'gpsvc', of type RmCritical and status 1 holds
file[s] in use.
MSI (c) (24:C0) [11:21:58:389]: RESTART MANAGER: Detected that
application with id 1056, friendly name 'IKE and AuthIP IPsec Keying
Modules', service short name 'IKEEXT', of type RmCritical and status
1 holds 

Re: [WiX-users] changing setup at runtime

2007-04-20 Thread Stefan Pavlik
I am using exactly the same thing.

I have custom action (that runs as immediate) that will create the
GUID and will fill some property with this GUID.
This guid is used in Registry element - it is written to the registry.

(functions to search:
UuidCreateSequential
UuidToString )

Regards

Stefan

Nitin Chaudhari wrote:
 Hi,
  
 I need to add some information to my setup at runtime. So that every
 user who downloads the setup, get a unique setup. Basically I need
 to embedded a GUID in the setup, and when it runs, I want to write this
 guid to registry or some file. Any pointers on how to achieve this.
  
 I heard about changing resources in the setup at runtime... or maybe
 updating property in MSI. I can either put this guid in the bootstrapper
 (setup.exe) or MSI
  
 What do u guys think?
  
 - Nitin
 
 
 
 
 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Calling Candle/Light from mapped network drive

2007-04-13 Thread Stefan Pavlik
Hi,


I know that it is a bit strange but I want to ask if it is possible
to call candle / light from mapped network drive.

The problem is described here:
http://blogs.msdn.com/shawnfa/archive/2005/02/04/367390.aspx

Error:

Unhandled Exception: System.Security.SecurityException: That
assembly does not allow partially trusted callers.
   at
System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly
asm, PermissionSet granted, PermissionSet refused,
RuntimeMethodHandle rmh, SecurityAction action, Object demand,
IPermission permThatFailed)
   at Microsoft.Tools.WindowsInstallerXml.Tools.Candle..ctor()
   at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Main(String[]
args)
The action that failed was:
LinkDemand
The assembly or AppDomain that failed was:
candle, Version=2.0.5130.0, Culture=neutral,
PublicKeyToken=ce35f76fcda82bad
The Zone of the assembly that failed was:
Intranet
The Url of the assembly that failed was:
file:///W:/Projects/head/wix2/candle.exe

Is there a way to call candle from network drive without rebuilding
the WiX code (and adding the AllowPartiallyTrustedCallersAttribute
to the code)?

Thanks

Stefan

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shield Decoration on buttons

2007-04-12 Thread Stefan Pavlik
Stefan Pavlik wrote:
 But when you check the uninstallation log you will see that the

I meant:
But when you check the maintenance installation log you will see...

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] why am I getting a UAC prompt with my MSI?

2007-04-11 Thread Stefan Pavlik
Hi Patrick,

You should probably set the msidbSumInfoSourceTypeLUAPackage bit in
the Summary information stream.

see the section Elevation Privleges Not Required in
http://blogs.msdn.com/windows_installer_team/archive/2005/11/03/488945.aspx

or

http://msdn2.microsoft.com/en-us/library/aa372870.aspx

regards

Stefan

Patrick Schmid wrote:
 I am trying to make my program Vista standard-user installable, but I just
 don't 
 understand why I am getting a UAC prompt. I am using wix3 to create the MSI 
 file.
 All it does is:
 - create a folder and a subfolder in the AppDataFolder 
 - put two DLLs there (no registration of them at all, just plain file copy)
 - create two reg entries in HKCU\Software\companyname\appname
 
 I just don't see where I am triggering anything that requires elevated 
 privileges. Can anyone make me see it please?
 
 Thanks,
 
 Patrick Schmid
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Create temp custom action

2007-04-11 Thread Stefan Pavlik
Hi, Brian...


I do not know if there is a public custom action for this but if you
want to write your own you should check the MsiRecordReadStream()
function in MDNS:

http://msdn2.microsoft.com/en-us/library/aa370370.aspx

You can also search for MsiRecordReadStream in the WiX source files.

regards

Stefan

Brian Cardiff wrote:
 Does somebody knows if exists a custom action to dump the content of a
 embedded file (Binary table) to a temporal file?
 
 -- 
 Brian J. Cardiff
 
 
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 WiX-users mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Install not checking for existing version of install

2007-04-10 Thread Stefan Pavlik
Hi,...

If you are talking about the same version of package (same product,
package code, same version) than this is normal behaviour.

Of course you can add some warnings to warn the user that same
version is already installed.

Anyway, you should use the Upgrade table to detect other versions of
the product installed.

Upgrade Id=$(var.UpgradeCode)
UpgradeVersion IgnoreRemoveFailure=yes Language=1033
Maximum=$(var.Version) IncludeMaximum=no Minimum=1.0.0.0
MigrateFeatures=no Property=UPGRADE_VERSION_PROP /
UpgradeVersion Minimum=$(var.Version) IncludeMinimum=no
OnlyDetect=yes Property=NEWERVERSIONDETECTED MigrateFeatures=no/
/Upgrade


where $(var.UpgradeCode) is wix preprocessor variable defining the
Upgrade code of your product.
The NEWERVERSIONDETECTED property will be set (filled with product
code of detected installation) if there is newer version of the
product already installed.
The UPGRADE_VERSION_PROP property will be set (filled with product
code of detected installation) if there is older version of the
product installed.

For more details see msdn - Upgrade Table
http://msdn2.microsoft.com/en-us/library/aa372379.aspx
or WiX help.

Regards

Stefan


David Allen wrote:
 I have created an install package, but I am able to
 run the install over and over without being prompted
 with an error message telling me the application I am
 trying to install already exists.
 
 Is there some sort of attribute I need on the Product
 or Package tag? I am new to WIX and cant find any
 documentation on how to do this.
 
 Thanks in advance.
 
 

 
 Don't get soaked.  Take a quick peak at the forecast
 with the Yahoo! Search weather shortcut.
 http://tools.search.yahoo.com/shortcuts/#loc_weather
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] enter user into registry

2007-04-10 Thread Stefan Pavlik
Hi,...

The accesspath property should be public (all uppercase) see
http://msdn2.microsoft.com/en-us/library/aa370912.aspx

regards

Stefan


Some user wrote:
 that's what I have tried to do, but it didn't seem to work so I thought it
 couldn't be done that way.  In the components I had a
 Registry Id=accesspath Root=HKCR Key=Software\Company\Init
 Name=Path Value=[accesspath] Type=string /
 
 and then in one of the dialogs I had
 Control Type=Edit Width=230 Height=18 X=52 Y=113 Id=Path
 Property=accesspath /
 
 but the key is not created?

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Making Edit Controls required on dialog

2007-04-10 Thread Stefan Pavlik
Hi,...

The Button controls can have conditions such as disable/ enable/
hide / show.
Such condition should use the property from the Edit control.

e.g.:
Control Id=Cancel Type=PushButton ...
  Condition Action=disable![CDATA[PROPERTY = 0]]/Condition
  Condition Action=enable![CDATA[PROPERTY0]]/Condition
/Control


regargds

Stefan


David Allen wrote:
 I am trying to come up with a way to require edit
 controls on a dialog to be required before allowing
 user to click on the next button and move to the next
 dialog. Anyone have a way of doing this?
 
 Thanks.
 
 

 
 Get your own web address.  
 Have a HUGE year through Yahoo! Small Business.
 http://smallbusiness.yahoo.com/domains/?p=BESTDEAL
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Port monitor + printer driver

2007-04-10 Thread Stefan Pavlik
What about the DPInst.exe from DIFxApp (see
http://msdn2.microsoft.com/en-us/library/aa370579.aspx)
It is part of WDK. It is standalone binary and by default it will
try to install all drivers in the working directory.

I am using the DPInst.exe to install the PnP drivers for PCMCIA
adapters and it is working well. If this will not work then the
DIFxApp framework will not help you.

regards

Stefan

Friedrich Dominicus wrote:
 Ok, here we go again. Is there anothe way to install a port monitor
 and a printer driver from one installer file. Or do one has to write
 setup program which internally first run msiexec on the port monitor
 and afterwards the printer driver, in which one then can run a custom
 action to add the PrinterMonitor and a Printer?
 
 Regards
 Friedrich
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Prevent install to network drive or removable media

2007-04-10 Thread Stefan Pavlik
You can write the custom action that will check the path selected /
typed by the user.

I suppose that in silent mode the default path is correct so it
should be enough to check the path only during InstallUISequence.

Regards

Stefan

Jason Van Eaton wrote:
 Is there a way to prevent installing to certain media types or paths?  I 
 scanned the schema and didn't see anything that looked appropriate.  Thank 
 you.
 
 JVE
 
 
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to get 8.3 path for INSTALLDIR

2007-04-03 Thread Stefan Pavlik
Hi,...


First of all - I do not know how to create short directory name (you
can try to write custom action).

But for [!FileId] - it is feature of MSI but it is related only to
files. It means that you cannot use it to create the 8.3 format of
directory.

I would use the Custom action which will read the property filled
with [!FileId] and then it will remove the filename from the end (
check the funciton splitpaht() ).

Regards

Stefan

[EMAIL PROTECTED] wrote:
 I’m trying to set an environment variable to be the value of INSTALLDIR,
 but I need it to be the 8.3 style path.
 
 
 I saw an old mailing list thread about this topic that Rob responded to
 with:
 
  
 
 You could always just use [!FileId] to get the short name of a 
 file.
 
  
 
 This thread was in the context of WiX 3.0, however.  When I try to do
 this with WiX 2.0, my environment variable ends up unset.
 
  
 
 Is this a WiX 3 specific feature?
 
  
 
 --Chris
 
 
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to install a windows service with account.

2007-03-29 Thread Stefan Pavlik
Hi,

You didn't wrote anything aobut used OS.
I am not suer whteher it will help you but you may need to secure
the public properties that should be used during Execute Sequence.

You Should read the pint 1 of following page:
(I know that it is about vista but the rule is valid also for XP but
 it is not enforced enough in XP):
http://www.macrovision.com/company/news/newsletter/tips/is_vista.shtml

regards

Stefan

SHI CHEN wrote:
 Hi,
 
 I have an urgent problem about wix version 2.
 
 It is needed to allow user to assign the startname/account and password
 of a windows service instead of using LocalSystem. I want to assign it
 through two ways:
 
 1.   Commandline at time of installation.
 
 2.   UI dialog ask for account/password.
 
 I used public  Property to assign account/password through command line.
 But the service cannot get started. Does anybody know what I need to do
 this job with the build in functions of wix? Or I have to write my own
 custom action?
 
 Time is urgent, please help.  Thanks a lot.
 
  
 Shi
 
 
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Registry are duplicated

2007-03-28 Thread Stefan Pavlik
Hi,


The problem is with auto generation of Registry @ Id attribute.

If you use the following code snippet you will get the same error:

Registry Root=HKLM Key=Software\Acme /
Registry Root=HKLM Key=Software\Acme Value=Acme Type=string/

from the WiX.chm:
If this attribute is not specified, an identifier will be generated
by hashing the parent Component identifier, Root, Key, and Name.

In your case the the Component, Root, Key and Name are the same - it
means that autogenerated Id will be the same for both rows.

You should :
- generate the [EMAIL PROTECTED] manualy
or
- do not use the Registry Root=HKLM Key=Software\Acme / row
since it will be created with second row.

Regards

Stefan


Jacquet Fabian wrote:
 Hi,
  
 I have registered a lot of dll in my wix file.
 When I compile, It say me:
 primary key 'regBE0F48905C64AC279B15D9E4AD01FD72' in column 'Registry'
 are duplicated in table 'Registry'
  
 I don't understand.
 
 
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Directories/Merge Modules

2007-03-23 Thread Stefan Pavlik
Hi Thomas

The C:\Windows\Installer\ folder is hidden system folder which is
used by Windows Installer INTERNALY. It means that you should not
install any files to this folder (I think).

Anyway, you should use the
Directory Id='WindowsFolder' Name='.' SourceName='.'
to get the correct Windows folder location.

Regards

Stefan

Thomas Svare wrote:
 Hello,
 
  
 
 I’m converting an existing InstallShield merge module to Wix.  This
 merge module puts some files in the Windows Installer cache directory to
 support maintenance operations.
 
  
 
 My code is as follows:
 
  
 
 Directory Id=WindowsFolder
 
 Directory Id=Installer Name=INSTAL1~ LongName=Installer
 
 Directory Id=_XXXx__
 Name={XX~ LongName={----}
 
  
 
 Component /Component
 
 .
 
 .
 
 /Directory
 
 /Directory
 
 /Directory
 

 
 When installed the files go to
 C:\Installer\{----}, the Windows
 directory is ignored.  A verbose log show the WindowsFolder.guid
 property correctly but the files end up in the wrong place.
 
  
 
 Any ideas on what I’m doing wrong?
 
  
 
 Thanks,
 
 Tom
-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Just a question out of frustration

2007-03-21 Thread Stefan Pavlik
Hi,...

I am using VS 2005 to create cutsom action in C++ and the resulting
isntaller is working on XP /Vista without problems.

It seems that your custom action Dll is dependent on MFC /CRT
dynamic libraries.
My Custom Action Dll is using Standard Windows Libraries and so I
do not need the Dlls to be installed on the system.

I think you should remove the CRT/ MFC dependency of your custom
action Dll or at least you should use it staticaly linked.
(Project Properties-Configuration Properties-General-Use of MFC =
 Use MFC in a Static Library)

Hope it will help.

Stefan

Friedrich Dominicus wrote:
 Does anyone have written an installer using a custom action written in
 C wich MSVC 2005 on Vista? 
 
 What have you done to get this f installed on a machine without
 MSVC 2005?
 
 I tried:
 1) adding the files to the installation
 2) integrated things like the crt runtime .msm files with my installer
 
 fetched the redistributable stuff from 
 
 http://www.microsoft.com/downloads/details.aspx?familyid=32BC1BEE-A3F9-4C13-9C99-220B62A191EEdisplaylang=en
 
 The error message was to use sxstrace. No that's that it showed:
 =
 Startet die Generierung des Aktivierungskontextes.
 Eingabeparameter:
   Flags = 0
   ProcessorArchitecture = x86
   CultureFallBacks = de-DE;de
   ManifestPath = Y:\Windows\Installer\MSICF44.tmp
   AssemblyDirectory = Y:\Windows\Installer\
   Application Config File =
 -
 INFORMATION: Manifestdatei Y:\Windows\Installer\MSICF44.tmp wird analysiert.
   INFORMATION: Die ManifestsdefinitionsidentitÀt ist (null).
   INFORMATION: Verweis: 
 Microsoft.VC80.CRT,processorArchitecture=x86,publicKeyToken=1fc8b3b9a1e18e3b,type=win32,version=8.0.50727.762
 INFORMATION: Verweis 
 Microsoft.VC80.CRT,processorArchitecture=x86,publicKeyToken=1fc8b3b9a1e18e3b,type=win32,version=8.0.50727.762
  wird aufgelöst.
   INFORMATION: FÃŒr ProcessorArchitecture x86 wird der Verweis 
 aufgelöst.
   INFORMATION: Verweis fÌr Kultur Neutral wird aufgelöst.
   INFORMATION: Bindungsrichtlinie wird angewendet.
   INFORMATION: Sucht nach Herausgeberrichtlinien 
 in 
 Y:\Windows\WinSxS\manifests\x86_policy.8.0.microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.312_none_91939f3c671de810.manifest.
   INFORMATION: Es wurde keine 
 Bindungsrichtlinienumleitung gefunden.
   INFORMATION: Startet die Assemblierungssuche.
   INFORMATION: Die Assemblierung in WinSxS wurde 
 nicht gefunden.
   INFORMATION: Versuch, ein Manifest unter 
 Y:\Windows\assembly\GAC_32\Microsoft.VC80.CRT\8.0.50727.762__1fc8b3b9a1e18e3b\Microsoft.VC80.CRT.DLL
  zu finden.
   INFORMATION: Versuch, ein Manifest unter 
 Y:\Windows\Installer\Microsoft.VC80.CRT.DLL zu finden.
   INFORMATION: Versuch, ein Manifest unter 
 Y:\Windows\Installer\Microsoft.VC80.CRT.MANIFEST zu finden.
   INFORMATION: Versuch, ein Manifest unter 
 Y:\Windows\Installer\Microsoft.VC80.CRT\Microsoft.VC80.CRT.DLL zu finden.
   INFORMATION: Versuch, ein Manifest unter 
 Y:\Windows\Installer\Microsoft.VC80.CRT\Microsoft.VC80.CRT.MANIFEST zu 
 finden.
   INFORMATION: Es wurde kein Manifest fÃŒr die 
 Kultur Neutral gefunden.
   INFORMATION: Beendet die Assemblierungssuche.
   FEHLER: Der Verweis 
 Microsoft.VC80.CRT,processorArchitecture=x86,publicKeyToken=1fc8b3b9a1e18e3b,type=win32,version=8.0.50727.762
  kann nicht aufgelöst werden.
 FEHLER: Bei der Generierung des Aktivierungskontextes ist ein Fehler 
 aufgetreten.
 
 
 teh relevant part is:
   FEHLER: Der Verweis 
 Microsoft.VC80.CRT,processorArchitecture=x86,publicKeyToken=1fc8b3b9a1e18e3b,type=win32,version=8.0.50727.762
  kann nicht aufgelöst werden.
 
 Read he can not find the proper runtime files. So I'm surly supposed
 to get this stuff with the manifests done. Or mayb simply use MSVC 6
 again. 
 
 I'm sorry if I sound harsh, I'm really fed up with all this
 f hurdles for such thing as installing a Custom action for an
 installaion
 
 If you have encountered this stuff and get through, would you mind to
 share your findings?
 
 Regards
 Friedrich
 
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX

Re: [WiX-users] Convert .reg file to .wxs?

2007-03-20 Thread Stefan Pavlik
Hi,...

Tallow.exe -reg reg_file.reg

in WiX 2.0 is able to do it. But you are using WiX 3.0 I think.

Regards

Stefan

Chris Bardon wrote:
 Quick question-is there a way to convert a .reg file to wxs format?  I
 was able to get a COM exe server's registry changes using a registry
 diff tool that generated a .reg file, which I proceeded to convert by
 hand to wix markup.  Just wondering if there's an easier way to do the
 conversion that I don't know about, possibly with heat. 
  
 Thanks,
  
 Chris
 
 
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Tallow from WiX 2.0.5112.0 is generating deprecated wxs file

2007-03-14 Thread Stefan Pavlik
The bug is opened.

http://sourceforge.net/tracker/index.php?func=detailaid=1680395group_id=105970atid=642714


-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Tallow from WiX 2.0.5112.0 is generating deprecated wxs file

2007-03-13 Thread Stefan Pavlik
Hi all,

the output of tallow (version 2.0.5112.0) is deprecated.

 e.g.:
tallow -d direcotry
will generate deprecated wxs file.

The File @src attribute is deprecated.

should I open the bug for it?

regards

Stefan




-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Shortcut Creation

2007-03-04 Thread Stefan Pavlik
Hi Michael

you should play with the 'Advertise' attribute of 'Shortcut'
element. The default value is 'Yes'.
Also the 'Target' attribute of 'Shortcut' element should not be
absolute path.

Frm the WiX manual:
Target - The target for a non-Advertised shortcut. This attribute is
not valid for Advertised shortcuts. The value will be defaulted to
the parent File when nested under a File element. If you specify
this value then use a formatted file identifier, for example:
[!TargetFileId].


I, personaly , have no experience with advertised shortcuts but I
think that this is your scenario:
I think that in your case the first shortcut (documentation) is
created as Advertised and thus whole component is advertised. When
you double click on the documentation shortcut the component will /
should be installed and then you should see also the second shortcut.

Hope that it will help.

Stefan

[EMAIL PROTECTED] wrote:
 
 Hi-
 
 The install I’m creating needs to create a start menu shortcut to a
 program in a fixed location on a network mapped drive.  I’ve done a
 bunch of searching but couldn’t find anything that helped.  I may be
 missing something obvious but I can’t seem to get the shortcut created!
 
 Here’s the relevant part of the wix file:
 
   Directory Id=ProgramMenuFolder Name=PMenu LongName=Programs
 Directory Id='PMDir' Name='Comp' LongName='CompanyName'
   Directory Id=ProgramMenuDir Name='SampSys' LongName=Sample
 System /
 /Directory
   /Directory
 
   Component Id='Shortcuts'
 Guid='F43D0A76-E587-449c-944F-D4D2993A05F7'
 File Id='Manual' Name='Docs.chm'
 LongName='Sample.Documentation.chm'  DiskId='1'
 Source='Sample.Documentation.chm'
   Shortcut Id=startmenuManual Directory=ProgramMenuDir
 Name=Docs LongName=Sample Documentation /
 /File
 Shortcut Id=startmenuApp1 Directory=ProgramMenuDir
 Name=App1 LongName=Sample Application 1
 Target=V:\Folder\App\App1.exe/
   /Component
 
 When I install that component, the “Sample Documentation” shortcuts get
 created, but the “Sample Application 1” doesn’t.
 
 Thanks for any help.
 
 -Michael O. Schoneman
 
 
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Conditional feature properties...

2007-03-02 Thread Stefan Pavlik
Hi...

what about silent (unattended) installation?
Or installation with reduced UI?

msiexec /i Package.msi /qr

regards

Stefan


Carl Quirion wrote:
 Ok, i found a simple way to do it, im calling CostFinalize on the
 PushButton of my Next button, on the serial number form.
 
 Example:
 
 Control Id=Next Type=PushButton X=236 Y=243 Width=56
 Height=17 Default=yes Text=amp;Next
   Publish Event=DoAction Value=CheckingPID1/Publish
   Publish Event=SpawnDialog Value=InvalidPidDlgPIDACCEPTED
 = 0/Publish
   Publish Event=DoAction Value=CostFinalize1/Publish
 [...]
 
 Thanks
 
 -- 
 Carl Quirion
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 On 3/1/07, *Carl Quirion* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 wrote:
 
 From my understanding, CostFinalize is done before any UI is
 shown... however my CA validats a serial number entered by the user.
 I can't launch my CA before the user enter his serial number, that
 wouldnt make any sense, hehe.
 Can re-order the sequence so that CostFinalize is only called after
 that particular dialog (Before the feature tree dialog) ?
 
 
 On 3/1/07, *Bob Arnson* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] 
 wrote:
 
 Carl Quirion wrote:
 My FeatureTree shows up and every products are visible, when i
 was expecting product3 to be invisible. Whats wrong?
 
 You probably need to sequence your CA before the CostFinalize
 action; that's when MSI queries the Condition
 http://condition_table.htm table to determine which features
 are scheduled to be installed (or so says the doc).
 
 -- 
 sig://boB
 http://bobs.org
 
 
 
 
 
 -- 
 Carl Quirion
 [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies s.r.o. | www.whitestein.com
Panenska 28 | 811 03 Bratislava | Slovak Republic
Main +421 2 5443-5502 | Direct +421 2 5930-0735

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Stpping and starting a windows service as a custom action or something

2007-02-23 Thread Stefan Pavlik
Hi...

You should try to use the ServiceControll Table.
In WiX you will find it under the ServiceControl Element:

ServiceControl Id=ServiceID
Name=ServiceName
Start=install
Stop=both
Wait=yes /

regards...

Stefan


dave_c wrote:
 Hi there,
 
 Being both new to Wix and new to windows platform this is a little bit wooly
 but was hoping someone might be able to help
 
 What I wuld like to do is 
 
 1. Determine whether a service process is running and, if it is, stop and
 remove it by running the command 
 $SomePath/bin/OUKWatchdog.exe --remove
 
 2. Install some files (I think I know how to do this)
 
 3. Re-start the service at the end of the installation by running the
 command
$SomePath/bin/OUKWatchdog.exe --install
 
 Can this be done, if so could someone provide an example and can we pass a
 parameter such as --install to the running of the executable.

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Nested folders

2007-02-19 Thread Stefan Pavlik
Hi Ricardo...

The folder is not created unless you install some file in this folder.

Another way to ensure that the folder is created is using the
CreateFolder element. Te folder will be created even if it is empty.
But it will not be removed automaticaly on uninstallation (you need
to specify RemoveFolder element for it).

See:
http://msdn2.microsoft.com/en-us/library/Aa368053

Regards

Stefan

Ricardo Lopes wrote:
 Hi,
 
 I have problems creating folders on the instalation folder. The
 application folder is created but none of the folder inside it are created.
 Im using Wix 2 and my file looks like this:
 
 Directory Id=TARGETDIR Name=SourceDir
  Directory Id=ProgramFilesFolder
   Directory Id=INSTALLLOCATION Name=App

 Directory Id=DocumentsFolder Name=Docs
 LongName=Documents /
 
 Component Id=MainApplicationFilesComponent
 Guid=7e032c07-d8a2-4cc1-870b-2fc1a88ab6ef
File  /
File  /
File  /
 /Component
   /Directory
   /Directory
 
  Directory Id=ProgramMenuFolder
Directory Id=ProgramMenuDir Name=App /
   /Directory
 
   Directory Id=DesktopFolder /
 /Directory
 
  DirectoryRef Id=INSTALLLOCATION
   Directory Id=BackupsFolder Name=Backups
  Component Id=BackupFilesComponent
 Guid=7e032c07-d0a2-47c1-810b-2fc1a88ab6ef
  File  /
 File  /
 File  /
  /Component
 /Directory
  /DirectoryRef
 
 Feature Id=ProductFeature Title=App Files Level=1
 ComponentRef Id=MainApplicationFilesComponent /
 ComponentRef Id=BackupFilesComponent /
  /Feature
 
 
 
 The App folder is created, but the Documents and the Backups
 folders not.
 Am i missing something?
 
 Thanks,
 Ricardo Lopes.
 
 
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Bootstrapper

2007-02-14 Thread Stefan Pavlik
Hi again...

Matthew Rowan wrote:
 Thanks for the quick reply Stefan. What I have found is that when I build a 
 new installer for the next minor version it does not launch in Maintenance 
 mode because the package code is different, but the product code is the same 
 and I get the error message Another version of this product is already 
 installed. Installation of this version cannot continue, when using just 
 the msi or the Visual Studio bootstrapper.
 
 Do you have your Bootstrapper to always launch with the Reinstall properties 
 set when the product code is detected to be installed? However, I would have 
 thought that would always do a reinstall then and not allow maintenance mode.

My bootstrapper works in following way:
If the product is already installed then the installer is launched
with REINSTALLMODE=vomus REINTALL=all
So if the package code is the same it will run the Maintenance mode
and if the package code is different it will run reinstallation.

In fact I do not use the Resume dialog for reinstallation. The
Maintenance mode is started in both cases, so the user needs to
press the Reinstall (repair) button in order to start reinstallaion.

Regards

Stefan


 
 Cheers,
 
 -Matthew Rowan
 
 -Original Message-
 From: Stefan Pavlik [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, 14 February 2007 17:24
 To: Matthew Rowan
 Cc: wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] Bootstrapper
 
 Hi Matthew,...
 
 I have, personaly, no experience with the Visual Studio
 2005 Bootstrapper but the simple bootstrapper I use (wrote) does not
 have the step 6 you are writing about.
 It is simply not needed because when you run the maintenance mode
 with arguments REINSTALLMODE=vomus REINSTALL=ALL it will do what you
 want. It is simply because the 'v' option of REINSTALLMODE means
 'runs from source and recaches local package'.
 
 Regards
 
 Stefan
 
 
 Matthew Rowan wrote:
 Hi All,

 I know this topic has been of much discussion and I have looked through all
 of the previous mailings but am still unable to produce what I need. All I
 want is a bootstrapper that is similar to InstallShield to perform minor
 upgrades.

 I need to:
 1. Ensure prerequisites are present and if not then install (.NET 2.0,
 Windows Installer 3.1)
 2. Get the product code of the package.
 3. Check if the product code is already installed.
 4. If it isn't, launch the install normally.
 5. If it is and the package code is the same, launch maintenance mode.
 6. If the package code is different, launch the install in reinstall mode.
 Preferably I would like to display a splash screen while the bootstrapper
 fires up msiexec.

 Almost all the requirements are handled very nicely by the Visual Studio
 2005 GenerateBootstrapper task and is the preferred solution, however it
 does not handle requirement 6. Changing the product code would resolve
 this,
 but then I need to mess with my msi and schedule RemoveExistingProducts
 near
 the end of the install to maintain settings in files like the
 web.config, as
 far as I know. Is this the recommended action? It is direction I'm leaning
 towards.

 The other option using the Bootstrapper at
 http://sourceforge.net/tracker/?group_id=105970atid=654188 and
 modifying it
 with msistuff.exe setup.exe /o INSTALLUPD /d mymsi.msi /b mymsi.msi /v 200
 /n My Product. Using this requirements 1 and 5 aren't satisfied.

 Another option I have read is to use the GenerateBootstrapper task to
 launch
 a C# UI and check everything with that. But this sounds like a lot of
 unnecessary work and I don't know how to go about this.

 Also with either bootstrapper option I have tried the Visual Styles of my
 installer are gone. This is a minor issue except that the ComboBox drop
 down
 list do not show (you have to use the up and down keys to go through the
 options). Has anyone else experienced this?

 Thanks,

 -Matthew Rowan


 

 -
 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=lnkkid=120709bid=263057dat=121642


 

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

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your

Re: [WiX-users] File Chooser Dialog

2007-02-13 Thread Stefan Pavlik
Hi Guillaume,...

The MSI does not support the File browse dialog.
You should check the CFileDialog class in MFC
http://msdn2.microsoft.com/en-us/dk77e5e7(VS.80).aspx

Here is a snippet of the code I was using for the same purpose:

extern C UINT __stdcall CAOpenFileDialog(MSIHANDLE hInstall)
{
CFileDialog dlg;
if(dlg.DoModal() == IDOK)
{
// do something
}
return ERROR_SUCCESS;
}

Regards

Stefan

Guillaume Girard wrote:
 Hi,
 
 I can't find any support in Wix (or rather, in MSI) for building a file 
 chooser dialog. In particular, I'm missing a file list control. Am I 
 just being confused?
 
 If this is indeed not supported by Wix/MSI, how would you go building 
 one? I thought of having a custom action filling in a list view, but I'm 
 a little doubtful about re-writing the whole logic behind a file chooser 
 dialog. Would it be possible to use a dialog from another UI in a custom 
 action?
 
 Regards,
 Guillaume Girard.
 
 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] File Chooser Dialog

2007-02-13 Thread Stefan Pavlik
It is the C++ CustomAction Type 1 (CA in Dll).

I didn't mention it but I think you have realised that.

Stefan

Stefan Pavlik wrote:
 Hi Guillaume,...
 
 The MSI does not support the File browse dialog.
 You should check the CFileDialog class in MFC
 http://msdn2.microsoft.com/en-us/dk77e5e7(VS.80).aspx
 
 Here is a snippet of the code I was using for the same purpose:
 
 extern C UINT __stdcall CAOpenFileDialog(MSIHANDLE hInstall)
 {
   CFileDialog dlg;
   if(dlg.DoModal() == IDOK)
   {
   // do something
   }
   return ERROR_SUCCESS;
 }
 
 Regards
 
 Stefan
 
 Guillaume Girard wrote:
 Hi,

 I can't find any support in Wix (or rather, in MSI) for building a file 
 chooser dialog. In particular, I'm missing a file list control. Am I 
 just being confused?

 If this is indeed not supported by Wix/MSI, how would you go building 
 one? I thought of having a custom action filling in a list view, but I'm 
 a little doubtful about re-writing the whole logic behind a file chooser 
 dialog. Would it be possible to use a dialog from another UI in a custom 
 action?

 Regards,
 Guillaume Girard.

 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Extra localization files

2007-02-08 Thread Stefan Pavlik
Hi Gabor

I have a question.

I have already send you the Slovak translation, but there is no
change on the (http://www.tramontana.co.hu/wix/loc/index.php) page.
I have received also the email from MS that they already have my
signed agreement.
Is it anything else that I should do (so that the translation can be
 released?)?

Thanks

Stefan



DEXK JAHN, GXbor wrote:
 On Sun, 4 Feb 2007 11:57:23 -0800 (PST), Mike Robertson wrote:
 
 Mike,
 
 The culprit is the assignment agreement process required by MS before any 
 contribution can be added to the actual code and releases. Languages marked 
 'finished' on the localization page 
 (http://www.tramontana.co.hu/wix/loc/index.php) are already done, the files 
 are there but the agreement hasn't yet been processed by the legal dept of 
 Microsoft. I also keep nudging Rob about this issue but, apparently, there is 
 little he can do about it... :-(
 
 Bye,
Gábor
 
 ---
 DEÁK JAHN, Gábor -- Budapest, Hungary
 E-mail: [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=lnkkid=120709bid=263057dat=121642
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Action DLL

2007-01-04 Thread Stefan Pavlik
Anohter thing:

When you are calling the ShellExecute function from .exe file the
program runs in the context of current user.

But
When you are calling the ShellExecute function from the deferred
custom action it can run in the context of Local system accont (if
it is not impersonated). It means that the search mechanism inside
the ShellExecute will use different directories.

Try to use the absolute path as parameter for ShellExecute function.

regards

Stefan


Lionel Pinkhard wrote:
 Hi,
  
 I'm trying to write a custom action DLL that looks up an MSI variable
 and then shellexecutes it, this is turning out to be extremely
 difficult, as if I call ShellExecute in Win32 API (using C++), it just
 does nothing, everything in the code appears to be working, but it just
 does nothing, is there any secret here?
  
 Regards,
  
 Lionel
 
 
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Strang (unreadable) emails from Rob

2007-01-04 Thread Stefan Pavlik
Hi List (and specialy Rob Mensching)

Recently I found that I am (almost) not able to read the emails from
Rob Mensching. I thought that my email client (Thunderbird) is not
able to parse the syntax. But Looking to the online forum
http://sourceforge.net/mailarchive/forum.php?thread_id=31350302forum_id=39978
I realised that it is unreadable also on the web.

I suppose that unk is replacement for new line character but...

Do you (Rob) use some new email client?

Info: The emails from year 2007 are broken. The older emails are OK.

Thanks

Stefan




Rob Mensching wrote:

[USERNAME] should evaluate to whatever you set that Property to at
runtime or hard coded into the Property table.unkunk-Original
Message-unkFrom: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Stuart
A. MaloneunkSent: Thursday, January 04, 2007 11:56unkTo:
wix-users@lists.sourceforge.netunkSubject: [WiX-users] Localized
[USERNAME] string expanded at build time?unkunkunkI'm building an
installer using WiX 3.0.2211, and I'm using
theunkInstallScopeDialog.wxs to ask the user whether they want a
single-unkuser or all-users install.  I'm also using the provided
WixUI_en-unkus.wxl file for localization, which includes the
string:unkunkString Id=InstallScopeDlgPerUser
Overridable=yesunk{\WixUI_Font_Emphasized}Install amp;just for
you ([USERNAME])/StringunkunkMy problem is that [USERNAME] seems
to be expanded at build (candle/unklight) time rather than at
runtime, so that people running theunki
 nstaller see _my_ user name rather than their own.unkunkAny
suggestions on how I might fix this?  Is there some kind
ofunkquoting that would get the property to expand at the right
time?unkunkunkThanks,unkunk--Stuart A. Maloneunk
Llamagraphics, Inc.unk   Makers of Life Balance personal coaching
softwareunk





-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Strang (unreadable) emails from Rob

2007-01-04 Thread Stefan Pavlik
No please do not stop answering.

There is lot of valuable information in your emails, so I think that
it is better to get answer in hard readable email than no answer at all.

thanks for explanation

Stefan

Rob Mensching wrote:
 Yeah, this was just pointed out to me this morning.  My laptop is in a not 
 very happy place and a bunch of things are just not quite working right (but 
 close enough that I haven't taken the time to wipe the machine and rebuild).  
 I suppose I could just stop answering questions for a while... 
 smile/unkunk-Original Message-unkFrom: Stefan Pavlik 
 [mailto:[EMAIL PROTECTED] unkSent: Thursday, January 04, 2007 22:26unkTo: 
 WiX users; Rob MenschingunkSubject: Strang (unreadable) emails from 
 RobunkunkHi List (and specialy Rob Mensching)unkunkRecently I found that 
 I am (almost) not able to read the emails fromunkRob Mensching. I thought 
 that my email client (Thunderbird) is notunkable to parse the syntax. But 
 Looking to the online 
 forumunkhttp://sourceforge.net/mailarchive/forum.php?thread_id=31350302forum_id=39978unkI
  realised that it is unreadable also on the web.unkunkI suppose that unk 
 is replacement for new line character but...unkunkDo you (Rob)
 use some new email client?unkunkInfo: The emails from year 2007 are broken. 
The older emails are OK.unkunkThanksunkunkStefanunkunkunkunkunkRob 
Mensching wrote:unkunk[USERNAME] should evaluate to whatever you set that 
Property to atunkruntime or hard coded into the Property 
table.unkunk-OriginalunkMessage-unkFrom: [EMAIL 
PROTECTED]unk[mailto:[EMAIL PROTECTED] On Behalf Of StuartunkA. 
MaloneunkSent: Thursday, January 04, 2007 11:56unkTo:[EMAIL 
PROTECTED]unkSubject: [WiX-users] Localizedunk[USERNAME] string expanded at 
build time?unkunkunkI'm building anunkinstaller using WiX 3.0.2211, and I'm 
usingunktheunkInstallScopeDialog.wxs to ask the user whether they want 
aunksingle-unkuser or all-users install.  I'm also using the 
providedunkWixUI_en-unkus.wxl file for localization, which includes 
theunkstring:unkunkString 
Id=InstallScopeDlgPerUserunkOverridable=yesunk{\W
ixUI_Font_Emphasized}Install amp;just forunkyou 
([USERNAME])/StringunkunkMy problem is that [USERNAME] seemsunkto be 
expanded at build (candle/unklight) time rather than atunkruntime, so that 
people running theunkiunk nstaller see _my_ user name rather than their 
own.unkunkAnyunksuggestions on how I might fix this?  Is there some 
kindunkofunkquoting that would get the property to expand at the 
rightunktime?unkunkunkThanks,unkunk--Stuart A. 
MaloneunkunkLlamagraphics, Inc.unk   Makers of Life Balance personal 
coachingunksoftwareunkunkunkunkunkunkunk--unkStefan Pavlik | [EMAIL 
PROTECTED]unkWhitestein Technologies | www.whitestein.comunkPanenska 28 | 
SK-81103 Bratislava | Slovak RepublicunkTel +421(2)5930-0735 | Fax 
+421(2)5443-5512unk
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Merge Module question

2007-01-02 Thread Stefan Pavlik
Hi list

Firts of all: Happy new year to all of you!

And here is my question:
I need to use the merge module I have received from 3rd party vendor.
There is custom action declared in this MSM and I should sequence it
according to my needs.

The problem is that Light will generate error:

error LGHT0112 : Unresolved reference to symbol
'CustomAction:InstallDrivers.GUID' in section 'Product:GUID'.

The error is correct because the Custom action InstallDrivers is not
declared in Custom / element.

Is there any way to tell the light that the custom action is
declared in the MSM module?
Or is the entire idea (letting the consumer sequence the Custom
action) wrong?

Thanks

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] RegistrySearch Type=Registry

2006-12-20 Thread Stefan Pavlik
Hi...

Type='registry' is not supported (it was deprecated for a long time...)

You should replace it with Type='raw' probably.

Here is actual help for Type attribute:

This attribute's value should be one of the following:
directory
Sets a directory path from the registry value.
file
Sets a file path from the registry value.
raw
Sets the raw value from the registry value. Please note that this
value will contain a prefix as follows:
DWORD: Starts with '#' optionally followed by '+' or '-'.
REG_BINARY: Starts with '#x' and the installer converts and saves
each hexadecimal digit (nibble) as an ASCII character prefixed by '#x'.
REG_EXPAND_SZ: Starts with '#%'.
REG_MULTI_SZ: Starts with '[~]' and ends with '[~]'.
REG_SZ: No prefix, but if the first character of the registry value
is '#', the installer escapes the character by prefixing it with
another '#'.


Regards Stefan

Steve Bennett wrote:
 Hi all,
 
   I’m trying to maintain an old .wxs file generated a while ago by
 decompiling a Visual Studio-generated .msi. It contains a
 RegistrySearch …type=”Registry” node which doesn’t appear to be
 supported any more. (2.0.4611 doesn’t like it; 2.0.2613 does). Could
 anyone tell me what it did, and what I should update it to? The full
 context is as follows:
 
  
 
 Property Id=IDEINSTALL
 
   RegistrySearch Id=__42E1B969D8E64539B094322695057F0F
 Root=HKLM
 Key=Software\[Manufacturer]\[PfxBaseName]\[PfxMajorVersion]
 Name=InstallRoot Type=registry /
 
 /Property
 
  
 
 Steve
 
  
 
 Steve Bennett
 
 [POWERflex Corporation ]
 
 [Tel: +61-3-9548-9006  Fax: +61-3-9548-9003]
 
 [Email: spb @ pfxcorp.com  Web: www.pfxcorp.com]
 
  
 
 
 
 
 -
 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.phpp=sourceforgeCID=DEVDEV
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Error text - with new line

2006-12-04 Thread Stefan Pavlik
It is possible to use new line character sequence in MSI!!!

My solution:
Use Immediate CA (C++ Dll) to fill the public property (e.g. CRLF)
with \r\n and then use the [CRLF] in the Error table.

It works perfect.

Hope that it will help somebody.

Stefan

Rob Hamflett wrote:
 You can't force newlines.  I had to resort to creating multiple text controls.
 
 Rob
 
 Stefan Pavlik wrote:
 Hi list,

 I want to add my own text to some custom error (e.g. Id 25001).

 Problem is that I don't know how to enter the new line character
 sequence. (\r\n does not work).

 Any suggestions?

 Thanks
 Stefan

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Custom Error text - with new line

2006-11-28 Thread Stefan Pavlik
Hi list,

I want to add my own text to some custom error (e.g. Id 25001).

Problem is that I don't know how to enter the new line character
sequence. (\r\n does not work).

Any suggestions?

Thanks
Stefan
-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Custom Error text - with new line

2006-11-28 Thread Stefan Pavlik
I have already found some interesting thing.

The function
MsiProcessMessage(hInstall,
INSTALLMESSAGE(INSTALLMESSAGE_USER|MB_OK), hRecord)
can use two forms of hRecord.

If you use
MsiRecordSetInteger(hRecord,1,uiErrorID)
then the string is taken from Error table and cannot use the \r\n
(new line). It is basicaly because the \r\n sequence is represented
as four characters ('\','r','\','n').

But if you use
MsiRecordSetInteger(hRecord,0,Text with \r\n newline)
then the text is displayed with new line in place of \r\n.

One possible solution I see is to t\retrieve the text for specified
ErrorID from Error table and replace the \r\n (4 characters)
characters with \r\n (two characters).


Hope that it will help somebody.

Stefan

Rob Hamflett wrote:
 You can't force newlines.  I had to resort to creating multiple text controls.
 
 Rob
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] conditional components

2006-11-15 Thread Stefan Pavlik
Hi again...

André Pönitz wrote:
 But I know that you cannot write to the registry during
 uninstallation using standard action WriteRegistryValues.
 
 Urm, that's bad. Do you know why?

The Registry Table of Windows installer does not support such
action. see MSDN:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/registry_table.asp

 If you need during uninstallation to write something to registry you
 should write the CustomAction for it.
 
 I already tried to do so but failed to figure out how to
 write a registry key from a custom action.

I would prefer to use C++ Custom Action DLL. You should use the
RegSetValueEx() function to write the values to registry.
http://msdn2.microsoft.com/en-us/library/ms724923.aspx

Hope it wil help you.

Stefan
-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Line edit control

2006-11-08 Thread Stefan Pavlik
Hi André

the Type=Edit is probably what you want to use.

You should read the wix tutorial
http://www.tramontana.co.hu/wix

The possible controls which are available in MSI are listed here:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/msi/setup/controls.asp


regards

Stefan


André Pönitz wrote:
 
 I've just started to use Wix v3 (or any .msi based installer toolkit for
 that matter)
 so please bear with me. 
 
 First question: How would I add a line edit control to a dialog?
 
 I have found examples for PushButtons, RadioButtons, static text etc but
 nothing that looks like something that might be usable to get a string from
 the user.
 
 I am aware of the Wix schema not mentioning 'lineedit'.
 
 When I just try to use a control type 'lineedit' nevertheless, the installer
 is
 build, but running it  yields an error 2885 (Failed to create control...)
 
 Andre'
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Leave some files during uninstall

2006-10-31 Thread Stefan Pavlik
Hi,...

you have two (standard) possibilities:

1) Use the component without GUID.
The component without GUID cannot be pathced or deleted via standard
MSI actions.

2) Use Component Guid='YOUR_COMPONENT_GUID' Permanent='yes' .../.
With this approach you will be able to patch the files in the
component. But the files (whole component) will not be removed
during uninstallation.


Regards

Stefan

Anton Filippov wrote:
 Hi All
 
 How to don't delete some files during unistall?
 
 Can I deny remove this files through standart way, or only through CA
 (creating backup)?
 Maybe set this files into one component and verify component (how)?
 
 Thanks.
 Anton.
 
 -
 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=lnkkid=120709bid=263057dat=121642
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 __ NOD32 1.1841 (20061027) Information __
 
 This message was checked by NOD32 antivirus system.
 http://www.eset.com
 
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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=lnkkid=120709bid=263057dat=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-10-23 Thread Stefan Pavlik
Thanks for reply.

The problematic case is when standard MSI FilesInUse check will
detect the application but the user will answer Ignore. In such case
another FilesInUse dialog will not be correct.

Thanks anyway...

Stefan

Wilson, Phil wrote:
 But if you're calling it from a custom action, aren't you detecting a
 FilesInUse condition that the standard one did not detect?  I'm not why
 you'd call it from a CA if MSI is showing FilesInUse when necessary. 
 
 Phil Wilson 
 
 
 -Original Message-

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Uninstall a cached msi

2006-10-23 Thread Stefan Pavlik
Hi...

The cached copy of MSI file is stored in hidden system folder
%WINDIR%\Installer\.
In this filder there are several files with .msi extension. You need
to find the file that belongs to your (broken) product and edit it
(via ORCA). You should back up the file you are about to modify in
case that your changes aren't good.

Regards

Stefan



Rai Wasif wrote:
 hi,
   i m geting problem in uninstalling a msi. because its older version is
 cached in which some CA failed and so rollback occur. let me know the
 solution of this prob. tell me where is its db table files to remove or
 what else is the solution. i remove all of my temp directory but
 couldn't able to install it yet.
 Regards
 Rai wasif jahangir
 
 
 
 __ NOD32 1.1817 (20061019) Information __
 
 This message was checked by NOD32 antivirus system.
 http://www.eset.com
 
 
 
 
 -
 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=lnkkid=120709bid=263057dat=121642
 
 __ NOD32 1.1817 (20061019) Information __
 
 This message was checked by NOD32 antivirus system.
 http://www.eset.com
 
 
 
 
 
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 __ NOD32 1.1817 (20061019) Information __
 
 This message was checked by NOD32 antivirus system.
 http://www.eset.com
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] If-statements?

2006-10-23 Thread Stefan Pavlik
Hi ,...

I am using preprocessor variables for the same purpose.

In the begining of my wxs file there is definition of variables:

?ifdef RELEASE ?
?define DebugReleaseDir=Release ?
?else ?
?define DebugReleaseDir=Debug ?
?endif ?

The file is compiled with command line
candle.exe -dRELEASE source.wxs for release version and
candle.exe source.wxs  for debug.

Inside the components I am using variable $(var.DebugReleaseDir) to
get the correct name/path.


Hope this helps you...


Stefan


Christer Solskogen wrote:
 I'm working on a project which have both a debug build and a release 
 build, and our goal is to make a MSI-package for both of them.
 Normally this is not a big problem, but in our case the files used in 
 debug does not have the same name as in the release build.
 Is it possible to solve this in a normal matter, without using to much 
 search/replace or maintaining two wix files?
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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=lnkkid=120709bid=263057dat=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-10-20 Thread Stefan Pavlik
Hi list,...


Is there a way to determine wheter the system FilesInUse dialog was
already displayed (and answered by user) in order to not display it
again (from custom action)?

I can publish a property from the customized (authored) dialog and
check it in th CA. But what about the build-in FilesInUse dialog
(during basic UI)?

On the other side - I can ommit additional check for FilesInUse when
running in basic UI.


Thaks in advance...


Stefan Pavlik

Phil Wilson wrote:
 Sequence the custom action before files get copied so yes, somewhere early
 in the sequence is fine.
 
 Phil Wilson 
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Alexander
 Biryukov
 Sent: Monday, August 07, 2006 1:28 AM
 To: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net
 Subject: Re: [WiX-users] How to show FilesInUse dialog _always_ ?
 
 
 It's good, but how to catch file in use moment (before any file copy
 operation) to show dialog  ?
 
 Maybe somehow that :
 
 InstallExecuteSequence
   Custom Action=MyFileInUseCheck Before=InstallFiles /
 /InstallExecuteSequence
 
 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.phpp=sourceforgeCID=DEV
 DEV ___
 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.phpp=sourceforgeCID=DEV
 DEV ___
 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.phpp=sourceforgeCID=DEVDEV
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 
 -
 Using Tomcat but need to do more? Need to support web services, security?
 Get stuff done quickly with pre-integrated

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

2006-10-20 Thread Stefan Pavlik
I have already realized that it is not possible to Publish the
property from FilesInUse dialog because this dialog is called from
InstallExecuteSequence.

So I am posting my question again:

Is there a way to determine wheter the FilesInUse dialog was
already displayed by InstallValidate action (and answered by user)
in order to not display it again (from custom action)?

Thanks
Stefan


-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Fine service control

2006-10-12 Thread Stefan Pavlik
Hi

It is no problem with steps 4 and 5. You can stop and start the
service using the
ServiceControl ... Start=install Stop=install / element.

But for first trhee steps you need to create custom action. I wuold
prefer the Dll custom action (Type 1 ).

Hope this will help.


Stefan

[EMAIL PROTECTED] wrote:
 1.) Before InstallFiles, determine if my service (from a previous 
 install) is up;
 
 2.) If it is not up, start it;
 
 3.) Query the service (this part I'll use a custom action for), the 
 end result is setting some properties
 
 4.) Stop the service
 
 [ InstallFiles ]
 
 5.) Start the service.
-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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=lnkkid=120709bid=263057dat=121642
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] ForceReboot action during Uninstallation(2)

2006-10-05 Thread Stefan Pavlik
Hi list...

My question is probably related to Windows Installer (not  to WiX)
but anyway...

I want to use ForceReboot standard action during uninstallation of
the product.
(ForceReboot will ask for immediate reboot of computer and schedule
the installation to continue after reboot)

I have scheduled the ForceReboot action to run right after
InstallInitialize (requirement from MSDN).

Everything works as expected, but after reboot the installer ends
with error:
The installation package could not be opened. Verify that the
package exists and that...

Problem is that the msiexec wants to start the temporary file in
C:\Windows\Installer\ which was deleted (and this is problem) during
cleanup before reboot.

See the excerpt from the log in attachment for details.

Am I doing something wrong? Or the ForceReboot action just should
not be used during uninstall?

Thanks for any response...

Stefan




-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

ÿþAction ended 14:18:58: 
InstallInitialize. Return value 1.

Action start 14:18:58: ForceReboot.

MSI (s) (B4:D4) [14:18:58:248]: 
Executing op: 
ProductUnregister(UpgradeCode={9FEE1A00-4CCC-4DB0-AD99-6773CD23CB1E})

MSI (s) (B4:D4) [14:18:58:268]: Note: 
1: 1402 2: 
UNKNOWN\Products\CD4FFBFFA3165F04E90346918A8E1FB4\Transforms
 3: 2 

MSI (s) (B4:D4) [14:18:58:268]: Note: 
1: 1402 2: 
UNKNOWN\Products\CD4FFBFFA3165F04E90346918A8E1FB4\Transforms
 3: 2 

MSI (s) (B4:D4) [14:18:58:268]: 
Scheduling file 
'C:\WINDOWS\Installer\9217d.msi' for 
deletion during post-install cleanup 
(not post-reboot).

MSI (s) (B4:D4) [14:18:58:288]: Note: 
1: 1402 2: 
UNKNOWN\Products\CD4FFBFFA3165F04E90346918A8E1FB4\Usage
 3: 2 

Action ended 14:18:58: ForceReboot. 
Return value 4.

Action ended 14:18:58: INSTALL. Return 
value 4.

MSI (c) (20:58) [14:18:58:388]: Font 
created.  Charset: Req=0, Ret=0, Font: 
Req=MS Shell Dlg, Ret=MS Shell Dlg


The installer must restart your system 
before configuration of Unlimited Data 
Manager 4.0.0 can continue.  Click Yes 
to restart now or No if you plan to 
manually restart later.



MSI (s) (B4:D4) [14:19:20:890]: 
Cleaning up uninstalled install 
packages, if any exist

MSI (s) (B4:D4) [14:19:20:900]: 
Post-install cleanup: removing 
installer file 
'C:\WINDOWS\Installer\9217d.msi'

MSI (s) (B4:D4) [14:19:20:900]: 
Post-install cleanup: removing 
installer file 
'C:\WINDOWS\Installer\{FFBFF4DC-613A-40F5-9E30-6419A8E8F14B}\insticon.ico'

MSI (s) (B4:D4) [14:19:20:900]: 
Post-install cleanup: removing 
installer folder 
'C:\WINDOWS\Installer\{FFBFF4DC-613A-40F5-9E30-6419A8E8F14B}\'
 (if empty)

MSI (s) (B4:D4) [14:19:20:910]: 
MainEngineThread is returning 1641

MSI (s) (B4:CC) [14:19:20:910]: 
Destroying RemoteAPI object.

MSI (s) (B4:0C) [14:19:20:910]: Custom 
Action Manager thread ending.

=== Logging stopped: 10/4/2006  
14:19:20 ===

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel

[WiX-users] No messages from WiX-Users for 2 days

2006-10-05 Thread Stefan Pavlik

Hi all

Anybody has an Idea why the wix-users forum is not working?

I haven't received any mail from this forum for two days (since 2006-10-03).

I hope that it is not the end of the WiX forum

Stefan
-- 
View this message in context: 
http://www.nabble.com/No-messages-from-WiX-Users-for-2-days-tf2387690.html#a6656305
Sent from the wix-users mailing list archive at Nabble.com.


-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Error 1702

2006-10-03 Thread Stefan Pavlik
Hi list

I went through the Windows Installer error texts and found out that
some Errors are quite usefull.
My question is: What should I do to rise such error?
I know that I can create Custom Action type 19 but it will just
display the text and exit the installation.

For example:
I need (some nasty request) to check some condition and rise dialog
with text (and behaviour) similar to error 1702.
(The installer must restart your system before configuration of [2]
can continue.  Click Yes to restart now or No if you plan to
manually restart later.)

Is all this possible?

Thanks

Stefan



-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Error 1702

2006-10-03 Thread Stefan Pavlik
Hi

I know how to do it.

I just need to use the FroceReboot standard action.

Anyway is there any way to find out what error messasage (error
code) is used (trigered) by which action? (some kind of list...)

Thanks

Stefan

Stefan Pavlik wrote:
 Hi list
 
 I went through the Windows Installer error texts and found out that
 some Errors are quite usefull.
 My question is: What should I do to rise such error?
 I know that I can create Custom Action type 19 but it will just
 display the text and exit the installation.
 
 For example:
 I need (some nasty request) to check some condition and rise dialog
 with text (and behaviour) similar to error 1702.
 (The installer must restart your system before configuration of [2]
 can continue.  Click Yes to restart now or No if you plan to
 manually restart later.)
 
 Is all this possible?
 
 Thanks
 
 Stefan
 
 
 

-- 
Stefan Pavlik | [EMAIL PROTECTED]
Whitestein Technologies | www.whitestein.com
Panenska 28 | SK-81103 Bratislava | Slovak Republic
Tel +421(2)5930-0735 | Fax +421(2)5443-5512

-
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.phpp=sourceforgeCID=DEVDEV
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


  1   2   >