Re: [WiX-users] Conditional Property Value

2008-07-28 Thread ramya ragupathy

  Publish Property='B' Value='A is one'![CDATA[A = 1]]/Publish
 Publish Property='B' Value='A is not one'![CDATA[A  1]]/Publish

Sajid1105 wrote:
 
 I want to set a property value depending on a condition.. 
 
 Property Id=A Value=1/
 Property Id=B Value=Some value/
 
 if A == 1 then
B = A is one
 else
B = A is not one
 
 How do I do this?
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Conditional-Property-Value-tp18704186p18704562.html
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] CreateFolder and CopyFile elements

2008-06-24 Thread ramya ragupathy

Hi All,
 Component Id=ProductComponent1
Guid={4971CCA6-FE16-4a1d-8E03-9925F2EF85EA}
 File Id='File1' Name='test' LongName='test.txt'
DiskId='1'   Source='test.txt' Vital='yes'
/File

CopyFile Id='FileCopy71' DestinationProperty='DEST'
DestinationLongName ='test.dll'   DestinationName='t.dll'
FileId='File1'/

  /Component
 Property Id='DEST'C:\Sample/Property

This code was able to create a folder called Sample in C:\ (the folder did
not exist previously) and copy the specified file to the destination. The
filecopy was succesful with the path specified as a property. i faced
problems when i used the DestinationDirectory and SourceDirectory
Attribute.It would be gud if someone could help me with this issue


Ramya
-- 
View this message in context: 
http://www.nabble.com/CreateFolder-and-CopyFile-elements-tp17983049p18089198.html
Sent from the wix-users mailing list archive at Nabble.com.


-
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] Condition based on INSTALLLOCATION

2008-03-10 Thread ramya ragupathy

Hey try changing the level to some negative number..tht should wrk fine

RW-11 wrote:
 
 Hi,
 
 I'm trying to turn on and off a feature based on whether a file already
 exists in the installation directory.
 
 To do this, I'm setting a property based on a FileSearch:
 
 Property Id=XMLFILEEXISTS
   DirectorySearch Id=CheckXMLFileDir Path=[INSTALLLOCATION]
 Depth=0
 FileSearch Id=My.XML Name= My.XML /
   /DirectorySearch
 /Property
 
 Then, in the feature I have a level condition on it:
 
 Feature Id=MyXML Level=1 Title=My XML Description=Select
 to
 permit installer to backup and replace your XML with a clean version.
   ComponentRef Id=MyXMLFiles /
   Condition Level='1000'
 XMLFILEEXISTS
   /Condition
 /Feature
 
 
 However, this doesn't appear to work.  Looking in the log files, it
 appears
 that XMLFILEEXISTS is evaluated as part of the AppSearch, which happens
 before the INSTALLLOCATION property is even set, therefore I'm not sure
 where it's looking!
 
 I could be totally wrong of course... but in the log file, the
 INSTALLLOCATION is set much later than any reference to My.XML.
 
 Any ideas on what the right way to do this is?
 
 Many 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
 
 

-- 
View this message in context: 
http://www.nabble.com/Condition-based-on-INSTALLLOCATION-tp15233800p15974974.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] How to test if user is an administrator

2008-02-11 Thread ramya ragupathy

chk the PRIVILEGED property with condition tag


Tom.Chmielenski wrote:
 
 Is there an easy way to test for the condition where the user is not an
 administrator on the machine?
 
 Tx.
 Tom
 
 -
 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/How-to-test-if-user-is-an-administrator-tp15334172p15427073.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


[WiX-users] directory search

2008-02-11 Thread ramya ragupathy

hi..help needed
i use a browse dialog box through which i select a custom directory.
wat i want to do now is to check whether thrs a directory called 'v62'
in the custom directory and proceed with installation only if the directory 
exists. an error mesg shoul pop up if the directory is not there.

initially i assign the INSTALLDIR property to the BROWSE property
that which i link with the browse dialog box.later i do a directory
search.wat i had in mind while implementing this was even the custom 
directory chosen by the user would not escape the search for
'v62' directory. but even if the directory exists in the custom path
chosen the error msg pops up and the installtion stops.no browse dialog
box also appears




 Property Id=BROWSEINSTALLDIR/Property


 Property Id=FILEEXISTS
DirectorySearch Id=CheckDir Path=[BROWSE] Depth=1
  /DirectorySearch
  /Property


Condition Message=Directory does not existFILEEXISTS/Condition

Feature Id=ProductFeature Title=Feature Title Level=1
  ComponentRef Id=comp /
  
/Feature


Please help me fix this error


TIA
ramya
-- 
View this message in context: 
http://www.nabble.com/directory-search-tp15408513p15408513.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


[WiX-users] any wizard for maintenance mode?

2008-02-07 Thread ramya ragupathy

hi guys
would u lem knw if thrs ny wizard for maintenace mode ?
TIA
-- 
View this message in context: 
http://www.nabble.com/any-wizard-for-maintenance-mode--tp15332477p15332477.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


[WiX-users] uninstaller

2008-02-07 Thread ramya ragupathy

hi

could somebody please help me with developig dialog boxes fro maintenance
mode
as of now am done with developing with user interface part. whr i am stuck
nw is
i dono hw to uninstall a program through wix when the user wants to remove
the
product.customactions dint help me and i learnt yesterday that i cannot call
an msi through another msi package...pls help with me this
had been stuck with dis for the past 2 days :(

TIA

ramya
-- 
View this message in context: 
http://www.nabble.com/uninstaller-tp15350211p15350211.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] UnInstalling

2008-02-07 Thread ramya ragupathy

Hi
am new to wix and i need ur help in knowing how to 
code for uninstallation in wix..coul u pls guide me through 
the uninstallation process in wix?
i tried uninstalling by using the command msiexec /x in a custom action
and i had an error poping up


TIA
ramya



SaiTeja wrote:
 
 Hi,
 
 My INSTALDIR refers to C:\Program Files\Test Program\Client
 
 Client Folder has, Some files and One folder with one file
 
 While uninstalling, all files in Client are deleted properly. But Folder
 is not deleted.
 
 After uninstalling, In my program files Test Program Folder, Inside
 Client Folder, Inside Another folder with file are left. 
 
 Following is my Execute sequence
 
InstallExecuteSequence
  InstallValidate Sequence=1400 /
  RemoveExistingProducts Sequence=1499 /
   InstallInitialize Sequence=1500 /
  RemoveRegistryValues Sequence=2600 /
   UnregisterClassInfo Sequence=2700 /
   RemoveFiles Sequence=3500 /
   RemoveFolders Sequence=3600 /
   CreateFolders Sequence=3700 /
   MoveFiles Sequence=3800 / 
/InstallExecuteSequence
 
 can any one tell  what is the problem here
 
 

-- 
View this message in context: 
http://www.nabble.com/UnInstalling-tp14294476p15350552.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


[WiX-users] uninstallation error

2008-02-06 Thread ramya ragupathy

Hi 
Currently am trying to code for an uninstaller that would uninstall a
specific program of mine. 
I have implemented this uninstallation through this command 

path\msiexec /x project.msi 

and i do this as an custom action 

 Binary Id=CmdExe SourceFile=C:\WINDOWS\system32\cmd.exe / 

CustomAction Id=Remove Return=check HideTarget=yes
Execute=immediate Impersonate=no TerminalServerAware=no 
ExeCommand=/c C:\Documents and Settings\rragupathy\My Documents\Visual
Studio 2005\Projects\feb\feb 4\WixProject11\bin\Debug\msiexec /x
project.msi BinaryKey=CmdExe 

/CustomAction 

later i publish this as an custom action in a push button 

when i run this project am getting an error message stating 
theres an error in this installer package. A program associated with this
setup has 
encountered an error.Contact ur vendor 

Pls help me fixing this error 
Is thre any other method of implementing this uninstallation? 
-- 
View this message in context: 
http://www.nabble.com/uninstallation-error-tp15328560p15328560.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