[WiX-users] Something wrong with the component condition

2007-09-13 Thread JosephLee

hi all,
I has a windows installer package and i want to install the feature sooa
when it is on Windows 2008 Server, so i write the component condition like
this, but it doesn't work at all and on any operating system the sooa will
be installed. Does any one know what's wrong with it. 
Thanks very much.

Feature Id=FeatureSsoa
Title=ssoa
Level=3
Condition Level=0![CDATA[MsiNTProductType=3 AND
VersionNT=600]]/Condition
ComponentRef Id=Sss /
/Feature

-- 
View this message in context: 
http://www.nabble.com/Something-wrong-with-the-component-condition-tf4440318.html#a12668955
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 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


[WiX-users] something strange about appsearch in vista

2007-09-06 Thread JosephLee

hi all,
I made a msi package using wix tools. But now i have a quite strange
problem, my program is used under vista and i have problem with the user
access control when uninstall the product. Installation of the product is
quite normal, but when i click the installer again and in the maintaince
dialog choose the Remove choice, the UAC Credential don't prompt and
nothing was removed. When i delete the Condition NAPAGENTEXISTS, the UAC
Credential prompt when remove the product in the maintaince dialog.
Does anyone knows what wrong is it?

the source file is here:
Property Id=NAPAGENTEXISTS
RegistrySearch Id=NapAgentRegistry
Root=HKLM
Key=SYSTEM\CurrentControlSet\Services\napagent
Name=ObjectName
Type=raw /
/Property

Feature Id=FeatureSha
Title=Health Agent
Description=Microsoft NAP System Health Agent Plugin
Level=0
ConfigurableDirectory=INSTALLDIR 
ComponentRef Id=Sha /
Condition Level=3NAPAGENTEXISTS/Condition
/Feature

-- 
View this message in context: 
http://www.nabble.com/something-strange-about-appsearch-in-vista-tf4390625.html#a12518277
Sent from the wix-users mailing list archive at Nabble.com.


-
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] Shield Decoration on buttons

2007-08-29 Thread JosephLee

hi,

I have the same problem. And now i have something even more serious. In my
package, i have something out of the installer's control, just an service
have registries self-registered. When I do an maintenance using the package,
just like Remove action, but the UAC credentials won't prompt, and the
service can't be removed, neither the file associates it. And when i run the
package again, it appears not the setup dialog but the maintenance dialog, i
choose Remove again, the UAC credentials prompt, but nothing happened
besides this. The file and the service is still running normally.

Is there something wrong? 
thanks for help~~

In addition, if i uninstall the product from the Add/Remove Program, the
credentials prompt, the service and the file are all removed. This also can
be done when we run this as an administrator. 

Rob Hamflett wrote:
 
 Hopefully I'm just being stupid and have missed something obvious, but I'm
 having problems with 
 decorating a button with the Shield icon (for Vista UAC).  I have 
 [EMAIL PROTECTED]elevated, and on my final Install button I
 have 
 [EMAIL PROTECTED]yes.  This works.  I have the same thing on my
 Repair and Remove 
 buttons but they don't show the shield icon.  Is there something I've
 missed?  I've posted the code 
 below in case it helps.
 
 This shows the shield graphic:
 Control Id=Install Type=PushButton
 X=$(var.VerifyReadyDlg_Install_X) Y=243 
 Width=$(var.VerifyReadyDlg_Install_Width) Height=17 Default=yes
 Text=[ButtonText_Install] 
 ElevationShield=yes
Publish Event=EndDialog Value=Return![CDATA[OutOfDiskSpace 
 1]]/Publish
Publish Event=SpawnDialog
 Value=OutOfRbDiskDlg![CDATA[OutOfDiskSpace = 1 AND 
 OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=P OR NOT
 PROMPTROLLBACKCOST)]]/Publish
Publish Event=EndDialog Value=Return![CDATA[OutOfDiskSpace = 1
 AND OutOfNoRbDiskSpace = 0 
 AND PROMPTROLLBACKCOST=D]]/Publish
Publish Event=EnableRollback Value=False![CDATA[OutOfDiskSpace =
 1 AND OutOfNoRbDiskSpace 
 = 0 AND PROMPTROLLBACKCOST=D]]/Publish
Publish Event=SpawnDialog
 Value=OutOfDiskDlg![CDATA[(OutOfDiskSpace = 1 AND 
 OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND
 PROMPTROLLBACKCOST=F)]]/Publish
 /Control
 
 This doesn't:
 Control Id=Repair Type=PushButton X=236 Y=243 Width=56
 Height=17 Default=yes 
 Text=[ButtonText_Repair] ElevationShield=yes
Publish Event=ReinstallMode Value=ecmus![CDATA[OutOfDiskSpace 
 1]]/Publish
Publish Event=Reinstall Value=All![CDATA[OutOfDiskSpace 
 1]]/Publish
Publish Event=EndDialog Value=Return![CDATA[OutOfDiskSpace 
 1]]/Publish
Publish Event=SpawnDialog
 Value=OutOfRbDiskDlg![CDATA[OutOfDiskSpace = 1 AND 
 OutOfNoRbDiskSpace = 0 AND (PROMPTROLLBACKCOST=P OR NOT
 PROMPTROLLBACKCOST)]]/Publish
Publish Event=EndDialog Value=Return![CDATA[OutOfDiskSpace = 1
 AND OutOfNoRbDiskSpace = 0 
 AND PROMPTROLLBACKCOST=D]]/Publish
Publish Event=EnableRollback Value=False![CDATA[OutOfDiskSpace =
 1 AND OutOfNoRbDiskSpace 
 = 0 AND PROMPTROLLBACKCOST=D]]/Publish
Publish Event=SpawnDialog
 Value=OutOfDiskDlg![CDATA[(OutOfDiskSpace = 1 AND 
 OutOfNoRbDiskSpace = 1) OR (OutOfDiskSpace = 1 AND
 PROMPTROLLBACKCOST=F)]]/Publish
 /Control
 
 
 Rob
 
 
 -
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Shield-Decoration-on-buttons-tf3566512.html#a12383502
Sent from the wix-users mailing list archive at Nabble.com.


-
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] The problem of uac in maintenance

2007-08-28 Thread JosephLee

I made an MSI database with wix and use it on vista. In the database, I use
the self registration when a service start. So when i take an maintenance
install. Just like remove, the service i installed doesn't change at all.
But when i execute this installer with an administrator command, everything
will be OK.  I checked some articles on MSDN, it says that the maintenance
of the product is managed after it has been installed. Does anyone know how
to fix this problem, thanks very much.

By the way, it is also OK in the Add/Remove Programs. 
-- 
View this message in context: 
http://www.nabble.com/The-problem-of-uac-in-maintenance-tf4345367.html#a12379829
Sent from the wix-users mailing list archive at Nabble.com.


-
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] Different action on uninstall

2007-08-28 Thread JosephLee

Try Remove=YourFeatureName, it take effect when you changed the Feature
status.


Benas wrote:
 
  'REMOVE=ALL is true when user clicks uninstall.
 
 But if user double click on msi file there he'll be able to pick from
 repair
 or uninstall and if he pick up uninstall the condition 'REMOVE=ALL is
 false.
 What condition should i use if i want it be true for all uninstall
 actions?
 
 
 
 2007/8/1, Rob Hamflett [EMAIL PROTECTED]:

 The Installed property will tell you if the product is installed or
 not.  So a Custom Action with a
 condition of 'NOT Installed' will only be trigger on install.  A
 condition
 of 'Installed' is
 obviously the opposite to this, but it's also true for repairs and
 maintenance.  If you need to tell
 the difference between these and an actual uninstall, I think a condition
 of 'REMOVE=ALL' is what
 you want.

 Rob

 Benas wrote:
  I need some property to detect if it's installation or uninstallation
  process
 
  2007/8/1, Benas [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]:
 
  During installation I'm calling extern C function in my cpp dll.
 
  But during uninstallation i want to call other function from the
  same dll - how can i do that?
 
 
  Thanks for answers,
  Benas
 
 
 
 
  --
  Pagarbiai,
  Benediktas Lipnickas
 
 
 
 
 
 
 -
  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


 -
 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

 
 
 
 -- 
 Pagarbiai,
 Benediktas Lipnickas
 
 -
 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Different-action-on-uninstall-tf4198893.html#a12379860
Sent from the wix-users mailing list archive at Nabble.com.


-
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] How to make features do not display in the SelectionTree

2007-08-27 Thread JosephLee

hi all,
i build a windows installer by wix, in my package i have some features, some
of them used a common component and some not, so i want to install this
component when it is needed, does anyone konws how to complete this. thanks
-- 
View this message in context: 
http://www.nabble.com/How-to-make-features-do-not-display-in-the-SelectionTree-tf4339499.html#a12361394
Sent from the wix-users mailing list archive at Nabble.com.


-
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] How to install some features when some other software has been installed

2007-08-20 Thread JosephLee

Hi all,
I just want to choose the specific features when the required software has
been installed, how can i do this.
Could a feature condition and an appsearch fix this problem? 
-- 
View this message in context: 
http://www.nabble.com/How-to-install-some-features-when-some-other-software-has-been-installed-tf4302882.html#a12247982
Sent from the wix-users mailing list archive at Nabble.com.


-
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