Re: [WiX-users] Click next control event - Prematurely Stopped

2008-01-26 Thread SaiTeja

Hi,

I tried, but still it is stopped.

Project is Visual C++ -> Win32 -> Win32 project

Please find attached code.

It is working fine in Vista OS 32 bit, windows server 2003 both 32 and 64
bit

Not working in xp 32 bit :(

Any ideas???



Peter Jaworski wrote:
> 
>> I created DLL in MicroSoft Visual Studio
>> and the type of file is "Application Extension"
> 
> Could you give more detailed information. All DLLs are "Application
> Extension" please describe which project type you have chosen for
> creating DLL under VS (File>New>Project..>Other Languages>Visual C++;
> here you will find list of possible projects, which one is yours?).
> 
> See this: http://www.wixwiki.com/index.php?title=Simple_Custom_Action_Dll,
> there you have description what type of project to choose for
> CustomAction DLL.
> 
> Best regards,
> Peter Jaworski
> 
> -
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Click-next-control-event---Prematurely-Stopped-tp15062166p15116426.html
Sent from the wix-users mailing list archive at Nabble.com.


-
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] Reference a BinaryKey in ExeCommand

2008-01-26 Thread Vincent Privat
2008/1/26, Bob Arnson <[EMAIL PROTECTED]>:
> Vincent Privat wrote:
> > The problem is that OpenVPNTapINF is not a property but a Binary, and
> > I don't know how I can reference it in my ExeCommand arguments ? The
> > syntax above is not valid :/
> >
>
> MSI doesn't support streaming arbitrary data from the Binary table
> except for the CA binaries themselves. You'd have to write a CA to
> extract the file.
>

Ok.

Is there a way to do that without a DLL ?

-
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


[WiX-users] error CNDL0150: Undefined preprocessor variable

2008-01-26 Thread RW
Hi,

Am using WiX3 in VS2008.  v. 3.0.3725.0

I have a really simple project.  With a single file entry (the rest of the
file is almost the default example):

  

It gives this error when I try and compile it:

error CNDL0150: Undefined preprocessor variable
'$(var.DataEngineDebug.TargetFileName)'.

To me this means it doesn't have a definition of the 'DataEngineDebug' bit,
but I followed the instructions and added that project through the
References section in the GUI.  It shows in the project file:


  

  DataEngineDebug
  {XXX-whatever-guid}
  True

  


When the compilation takes place, the output shows:


Target "Compile" in project "MyProjWiXSetup.wixproj"
Building target "Compile" completely.
Output file "obj\Release\MyProjWiXSetup.wixobj" does not exist.
Task "Candle"
Command:
C:\Program Files\Windows Installer XML v3\bin\candle.exe
-d"DevEnvDir=C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\\"
-dSolutionDir=C:\_cvs\MyProj\ -dSolutionExt=.sln
-dSolutionFileName=MyProj.sln -dSolutionName=MyProj
-dSolutionPath=C:\_cvs\MyProj\MyProj.sln -out
obj\Release\MyProjWiXSetup.wixobj MyProjWiXSetup.wxs
Microsoft (R) Windows Installer Xml Compiler version
3.0.3725.0
Copyright (C) Microsoft Corporation 2003. All rights
reserved.
MyProjWiXSetup.wxs
C:\_cvs\MyProj\MyProjWiXSetup\MyProjWiXSetup.wxs(10,0): error CNDL0150:
Undefined preprocessor variable '$(var.DataEngineDebug.TargetFileName)'.
The command exited with code 150.


As I cannot see it passing in during the candle operation mentioning either
the Wix project, or the DataEngineDebug project, I can imagine that it would
fail... but what am I doing wrong?  I thought adding the references to other
projects would enable the preprocessor to correctly use the projects - that
is what the help file says.

Thanks,

RW


-
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] Is there a way to override the Permanent attribute on a component?

2008-01-26 Thread Bob Arnson
Ben Greenberg wrote:
> Is there a way to override the Permanent attribute on components at 
> install time, or a way to force permanent components to be removed at 
> uninstall?
>   

No. It would violate component rules to have different attributes for 
the same components.

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



-
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] Reference a BinaryKey in ExeCommand

2008-01-26 Thread Bob Arnson
Vincent Privat wrote:
> The problem is that OpenVPNTapINF is not a property but a Binary, and
> I don't know how I can reference it in my ExeCommand arguments ? The
> syntax above is not valid :/
>   

MSI doesn't support streaming arbitrary data from the Binary table 
except for the CA binaries themselves. You'd have to write a CA to 
extract the file.

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



-
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] How to link to WiXUIExtension.dll - "Light.exe" exited with code 92

2008-01-26 Thread Bob Arnson
Peter Jaworski wrote:
> Is there any table with errors' numbers and its descriptions? 

The descriptions are normally provided in the error message; the bug is 
that they're not appearing in VS right now.

> I have still problem with WiXUIExtension.dll referencing outside VS
> (because not using WiX project) and I have to comment  lines that are
> "refered" to WiXUIExtension.dll features to compile it outside VS.
> How to solve this? Is there any command line attribute for candle or
> light (both in v2 and v3)?
>   

You can build .wixproj with MSBuild. Or you can manually add -ext 
switches to the candle and light command lines.

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



-
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] CNDL1024 error using include files

2008-01-26 Thread Bob Arnson

Mike Dimmick wrote:


The preprocessor code returns this error if any XmlException occurs 
when loading the document after it has been preprocessed. One source 
of problems as I recall is that the XML namespaces used in the include 
file aren't 'hoisted' into the including document. Ensure that all 
namespaces used in the include file are explicitly listed in the 
document which includes it.


 

Presumably not having .NET Framework 1.1 Service Pack 1 /also/ tended 
to cause XmlExceptions at this point, but it's certainly not the only 
possible reason.




...which is why Rob removed that message. It's certainly wrong now that 
we require .NET 2.0.


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

-
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] Unchecked features in un upgraded MSI

2008-01-26 Thread Bob Arnson

Adrian Alonso wrote:
Hi, I'm creating an upgrade for an existent product and I need to add 
a few new /optional/ features that didn't exist in the original one.
I want the new features appear checked in the feature tree by default. 
The only way we found to achieve this is by defining the 
Allow="Disallow" attribute in the feature but this won't allow the 
user to uncheck the feature.


What are the new features' levels? Are you using 
UpgradeVersion/@MigrateFeatures?


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

-
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


[WiX-users] Reference a BinaryKey in ExeCommand

2008-01-26 Thread Vincent Privat
Hi,

I'm trying to do this in a CustomAction:


TAP0901








The problem is that OpenVPNTapINF is not a property but a Binary, and
I don't know how I can reference it in my ExeCommand arguments ? The
syntax above is not valid :/

Thanks for your help !

-
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


[WiX-users] Installed condition in InstallExecuteSequence

2008-01-26 Thread Ted Yu
Hi,
I found that my action isn't executed although the App Pool did exist:
Installed

How does MSI determine this Installed condition ?
Should I check certain registry ?

Thanks
-
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] ClearCase Dynamic View issue

2008-01-26 Thread Mike Dimmick
You may also find Junfeng Zhang's blog entry 'Diagnosing SideBySide
failures' helpful.

 

http://blogs.msdn.com/junfeng/archive/2006/04/14/576314.aspx.

 

-- 

Mike Dimmick

 

  _  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of martin lavelle
Sent: 25 January 2008 13:37
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] ClearCase Dynamic View issue

 

Hello,
Whilst stored under ClearCase source control and running from a Dynamic
View, some of the WiX V3 and V2 executables fail with the following error
message:
"This application has failed to start because the application configuration
is incorrect. Reinstalling the application may fix this problem."
The programs which fail are:
Light.exe.
Setup.exe.
1) It fails on ClearCase Dynamic views, but succeeds on ClearCase static
views. There is more latency on a Dynamic view and it uses a different file
system (mvfs).
2) All the programs are permissioned identically.
3) Since some programs do work, Security (caspol, etc) is not the issue.
4) If copied to another location, all programs start working.
5) All the WiX files are present (this error message will appear if certain
files are missing).
Running the Compiler from a non-ClearCase location is an acceptable
temporary workaround, but has irritating long-term issues.
As ClearCase Dynamic views suffer an initial latency when accessing files, I
wonder if Light.exe is not waiting long enough for its file checks to
return?
Is Light.exe able to tolerate long initial latencies when doing its initial
WiX integrity checks?
Does anyone have any useful suggestions?
 

-
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


[WiX-users] Size of feature

2008-01-26 Thread SaiTeja

Hi,

On Cusomize dialog, "This feature requires xxMB on your hard drive"

Can any one tell me is it possible assign size(xx) to any property? If yes
how?
-- 
View this message in context: 
http://www.nabble.com/Size-of-feature-tp15106940p15106940.html
Sent from the wix-users mailing list archive at Nabble.com.


-
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] ClearCase Dynamic View issue

2008-01-26 Thread Schrieken, Rene
I assume you found this technote:
 
http://www-1.ibm.com/support/docview.wss?ratlid=cctocbody&rs=984&uid=swg21222178
 



Van: [EMAIL PROTECTED] namens martin lavelle
Verzonden: vr 1/25/2008 14:37
Aan: wix-users@lists.sourceforge.net
Onderwerp: [WiX-users] ClearCase Dynamic View issue


Hello,
Whilst stored under ClearCase source control and running from a Dynamic View, 
some of the WiX V3 and V2 executables fail with the following error message:
"This application has failed to start because the application configuration is 
incorrect. Reinstalling the application may fix this problem."
The programs which fail are:
Light.exe.
Setup.exe.
1) It fails on ClearCase Dynamic views, but succeeds on ClearCase static views. 
There is more latency on a Dynamic view and it uses a different file system 
(mvfs).
2) All the programs are permissioned identically.
3) Since some programs do work, Security (caspol, etc) is not the issue.
4) If copied to another location, all programs start working.
5) All the WiX files are present (this error message will appear if certain 
files are missing).
Running the Compiler from a non-ClearCase location is an acceptable temporary 
workaround, but has irritating long-term issues.
As ClearCase Dynamic views suffer an initial latency when accessing files, I 
wonder if Light.exe is not waiting long enough for its file checks to return?
Is Light.exe able to tolerate long initial latencies when doing its initial WiX 
integrity checks?
Does anyone have any useful suggestions?
 
Best Regards
 
 
Martin Lavelle




Climb to the top of the charts! Play the word scramble challenge with star 
power. Play now! 
 



 



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
-
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] ClearCase Dynamic View issue

2008-01-26 Thread Schrieken, Rene
I'm wondering why Light fails, as probably Candle did run. Just a guess: might 
the view-private files be the issue? 
If latency is the issue you will experience more problems not just with 
light.exe



Van: [EMAIL PROTECTED] namens martin lavelle
Verzonden: vr 1/25/2008 14:37
Aan: wix-users@lists.sourceforge.net
Onderwerp: [WiX-users] ClearCase Dynamic View issue


Hello,
Whilst stored under ClearCase source control and running from a Dynamic View, 
some of the WiX V3 and V2 executables fail with the following error message:
"This application has failed to start because the application configuration is 
incorrect. Reinstalling the application may fix this problem."
The programs which fail are:
Light.exe.
Setup.exe.
1) It fails on ClearCase Dynamic views, but succeeds on ClearCase static views. 
There is more latency on a Dynamic view and it uses a different file system 
(mvfs).
2) All the programs are permissioned identically.
3) Since some programs do work, Security (caspol, etc) is not the issue.
4) If copied to another location, all programs start working.
5) All the WiX files are present (this error message will appear if certain 
files are missing).
Running the Compiler from a non-ClearCase location is an acceptable temporary 
workaround, but has irritating long-term issues.
As ClearCase Dynamic views suffer an initial latency when accessing files, I 
wonder if Light.exe is not waiting long enough for its file checks to return?
Is Light.exe able to tolerate long initial latencies when doing its initial WiX 
integrity checks?
Does anyone have any useful suggestions?
 
Best Regards
 
 
Martin Lavelle




Climb to the top of the charts! Play the word scramble challenge with star 
power. Play now! 
 



 



This e-mail and any attachment is for authorised use by the intended 
recipient(s) only. It may contain proprietary material, confidential 
information and/or be subject to legal privilege. It should not be copied, 
disclosed to, retained or used by, any other party. If you are not an intended 
recipient then please promptly delete this e-mail and any attachment and all 
copies and inform the sender. Thank you.
-
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