Re: [WiX-users] Parsing properties

2008-07-01 Thread Nitin Chaudhari
String manipulation is not supported in WIX, you will have to write a C++/.net/vbs custom action to get substring. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Frédéric Viollet Sent: Tuesday, July 01, 2008 3:41 PM To: General discussion for Windows

[WiX-users] Is msi being executed with Runas?

2008-03-26 Thread Nitin Chaudhari
How can i determine if my setup program was invoked using runas option? In most of the cases, my setup is given to a user who does not have admin rights, so an administrator does a runas to install the program, which means all HKCU settings go to that admin and not to the user. If it is possible

[WiX-users] executing CA with logged on user not runas user

2008-03-11 Thread Nitin Chaudhari
Hi, In my scenario, most of the time the user who wants to install does not have administrator priviledges, so an Administrator does a runas and executes the setup for the user, when setup completes it launches excel.exe, however the username for this process is administrator and not the original

[WiX-users] FilePath manipulation in WIX

2007-10-19 Thread Nitin Chaudhari
Hi, I can do a registrysearch and obtain a path like : D:\Program Files\Microsoft Office\OFFICE11\ADDINS\OTKLOADR.DLL Once I have this path I want to split it in directory (D:\Program Files\Microsoft Office\OFFICE11\ADDINS) and file (OTKLOADR.DLL) and then use it in directorysearch and

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

2007-10-18 Thread Nitin Chaudhari
I got the answer you have to write it like this Condition Message=You do not have#xD;#xA;Admin Rights #xD;#xA; represents CRLF Thanks, Nitin -Original Message- From: Stefan Pavlik [mailto:[EMAIL PROTECTED] Sent: Thursday, October 18, 2007 11:09 AM To: Nitin Chaudhari Cc: wix-users

[WiX-users] RegistrySearch with empty registrykeys

2007-10-18 Thread Nitin Chaudhari
Hi, I want to check if a Key exists, it may or may not have any values or subkeys in it, so I tried the following RegistrySearch Id=ExcelExistsRegistry Type=raw Root=HKLM Key=SOFTWARE\Microsoft\Office\Excel\ I am including the Name attribute since I don't want to check for anything.. I

[WiX-users] Dialog disappearing instantly

2007-10-17 Thread Nitin Chaudhari
Hi, I have the following in UI sequence Show Dialog=PrereqCheck After=CostFinalize![CDATA[Installed= AND NOT RESUME]]/Show Show Dialog=Installing After=PrereqCheck![CDATA[Installed= AND NOT RESUME]]/Show Now the problem is I can see the PrereqCheck dialog, but it instantly disappears

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

2007-10-17 Thread Nitin Chaudhari
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

[WiX-users] NOT PRIVILEDGED Condition

2007-10-16 Thread Nitin Chaudhari
Hi, I created a default Limited user account in windows XP and my wxs has Condition Message=You need to be Administrator to install this add-in.NOT PRIVILEDGED/Condition Inspite of this, when I start installing, it does not prompt, and then when my the msi tried to access HKCR it throws error

Re: [WiX-users] error dialog issue

2007-05-30 Thread Nitin Chaudhari
By sync i ment, how can I execute tasks by order. Can I ensure that dialog in InstallUISequence is shown only after some custom actions in InstallExecuteSequence are executed. Thanks, Nitin On 5/30/07, Bob Arnson [EMAIL PROTECTED] wrote: Nitin Chaudhari wrote: Although the Pushbutton is place

[WiX-users] error dialog issue

2007-05-29 Thread Nitin Chaudhari
Hi, My Error Dialog is as follows: Dialog Id =ErrorDialog Width=370 Height= 100 Title= [ProductName] ErrorDialog =yes Control Type =Text Width= 123 Height= 17 X =20 Y =10 Id =text1 Text ![CDATA[{\VSI_Arial16.0_1_0}Install Unsucessful! ]]/ Text /Control

[WiX-users] changing setup at runtime

2007-04-20 Thread Nitin Chaudhari
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

Re: [WiX-users] Run button Vs Install Button

2007-04-17 Thread Nitin Chaudhari
If I deploy some application through click once then i do get Install/Dont Install Dialog. Whats happening there? The browser used is same. So there has to be something based on which browser interprets the file. - Nitin On 4/16/07, Bob Arnson [EMAIL PROTECTED] wrote: Nitin Chaudhari wrote

[WiX-users] Run button Vs Install Button

2007-04-15 Thread Nitin Chaudhari
Hi, This may be a little outside wix, but I dont know the related mailing list, so I am posting it here. I used Wix and created a setup. Now, I want my users to download it from a website, so I have provided a link to my msi. However the user experience is as follows : 1. Click Link 2. Open,

Re: [WiX-users] install as standard user

2007-04-10 Thread Nitin Chaudhari
I cant touch ProgramFilesFolder??, then how come a visual studio setup runs fine (as standard user) even when installing to ProgramFilesFolder? On 4/9/07, Bob Arnson [EMAIL PROTECTED] wrote: Nitin Chaudhari wrote: For some reason my installation currently requires administrative priviledges

Re: [WiX-users] Changing property value at runtime SOLVED

2007-04-10 Thread Nitin Chaudhari
ended 21:02:02: GEN_XLS_PATH. Return value 1. Finally the property is changed at client side.. :) - Nitin On 4/9/07, Bob Arnson [EMAIL PROTECTED] wrote: Nitin Chaudhari wrote: I have still not found any solution to the following problem, I tried using a C++ custom action DLL, but even

Re: [WiX-users] Changing property value at runtime

2007-04-09 Thread Nitin Chaudhari
Hi, I have still not found any solution to the following problem, I tried using a C++ custom action DLL, but even that changes the server side property. Please give me some information at least... so that I can think of some workarounds. - Nitin Chaudhari On 4/2/07, Nitin Chaudhari [EMAIL

[WiX-users] install as standard user

2007-04-08 Thread Nitin Chaudhari
Hi, For some reason my installation currently requires administrative priviledges. I want to pull that down to standard user. Are there any checks I should be doing? I want to find out what is forcing my installation to ask for admin. - Nitin

Re: [WiX-users] dot Net Custom actions

2007-04-06 Thread Nitin Chaudhari
You can run dot net code during installation, although there are some reason why you should not. I have been executing .net code in my installation for quite a while now Anyways here how to do it : Include the following Binary Id=InstallUtil SourceFile=$(env.windir

[WiX-users] RegistrySearch??

2007-04-02 Thread Nitin Chaudhari
In one of my registry keys the system has following strings OPEN REG_SZvalue OPEN1REG_SZvalue1 OPEN2REG_SZvalue 2 now how do i find out that the next name should be OPEN3? On target machine, there may be OPENn (n could be any number) how can i derive OPENn+1 Thanks,

[WiX-users] Changing property value at runtime

2007-04-02 Thread Nitin Chaudhari
\***\Addin\ Property(C): *EXCEL_PROGRAM = DUMMY.EXE* Property(C): TARGETDIR = F:\ … … The property was changed, but still while executing LaunchExcel it is being shown as DUMMY.EXE Any idea what is going wrong here? Thanks, Nitin Chaudhari

Re: [WiX-users] Changing property value at runtime

2007-04-02 Thread Nitin Chaudhari
: [EMAIL PROTECTED] *On Behalf Of *Nitin Chaudhari *Sent:* Monday, April 02, 2007 1:46 AM *To:* wix-users@lists.sourceforge.net *Subject:* [WiX-users] Changing property value at runtime Someone please help me with the following issue? I have this property : Property Id =EXCEL_PROGRAM Value

Re: [WiX-users] Change Add/Remove Programs icon

2007-04-02 Thread Nitin Chaudhari
I got the icon, I was using 32x32 icon, i replaced that with 16x16 pixels icon and it works :) On 3/27/07, Nitin Chaudhari [EMAIL PROTECTED] wrote: No icons for me yet. I copied the 3 lines in my wxs and placed a .ico file in the same place where I had wxs and set the SourceFile value

Re: [WiX-users] Changing property value at runtime

2007-04-02 Thread Nitin Chaudhari
: No, but it depends on where all the other action are scheduled. *From:* [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] *On Behalf Of *Nitin Chaudhari *Sent:* Monday, April 02, 2007 7:09 AM *To:* wix-users@lists.sourceforge.net *Subject:* Re: [WiX-users] Changing property value at runtime I knew that (S

Re: [WiX-users] wix, C# installer class, uninstall

2007-03-26 Thread Nitin Chaudhari
this installation Publish Value=Exit Event=EndDialog1/Publish /Control /Dialog Thanks, Nitin. On 3/23/07, Dana Gutride [EMAIL PROTECTED] wrote: Are they not being executed or are you getting an error in the msi log? Dana On 3/23/07, Nitin Chaudhari [EMAIL PROTECTED] wrote: Hi Dana, Thanks

Re: [WiX-users] Change Add/Remove Programs icon

2007-03-26 Thread Nitin Chaudhari
Even I would love to change the icons for my installation. I tried the Icon tag but wasnt successfull On 3/26/07, Rob Mensching [EMAIL PROTECTED] wrote: You definitely can change the Add/Remove Programs icon (MSI SDK for ARPPRODUCTICON Property or something like that). The top left... don't

Re: [WiX-users] Change Add/Remove Programs icon

2007-03-26 Thread Nitin Chaudhari
, Bob - Original Message From: Nitin Chaudhari [EMAIL PROTECTED] To: Bob Whiton [EMAIL PROTECTED] Sent: Monday, March 26, 2007 10:42:06 AM Subject: Re: [WiX-users] Change Add/Remove Programs icon Even I would love to change the icons for my installation. I tried the Icon tag but wasnt

Re: [WiX-users] Change Add/Remove Programs icon

2007-03-26 Thread Nitin Chaudhari
/ On 3/27/07, Nitin Chaudhari [EMAIL PROTECTED] wrote: No icons for me yet. I copied the 3 lines in my wxs and placed a .ico file in the same place where I had wxs and set the SourceFile value as the filename Why dont I see any icons? On 3/26/07, Bob Whiton [EMAIL PROTECTED] wrote

Re: [WiX-users] How do i embedd and install a 3rd party msi (eg directx or wse runtime) if not already installed

2007-03-26 Thread Nitin Chaudhari
When I first started off with installer, I was thinking of using NSIS too, but I guess if you want to save on time and effort, go with visual studio setup project, set your pre-requisites i.e all ur other MSIs, u can configure these MSI's to be installed from ur own server or a particular

[WiX-users] Wix votive stable version

2007-03-26 Thread Nitin Chaudhari
Hi all, I am planning to use votive, however the wix website tells me that v2.0votive is not maintained and that users should go with votive 3.0 Again wix 3.0 is marked as unstable so which is the best combination to use. I dont wan to risk anything by using unstable builds. Thanks, Nitin.

[WiX-users] wix, C# installer class, uninstall

2007-03-22 Thread Nitin Chaudhari
I am using a C# installer class, during installation, I am able to call my C# install function, however I am not able hook uninstall in wix to call my C# uninstall function. In Wix, I am using the following XML to hook uninstall... but the MSI log shows that this custom action is being invoked

Re: [WiX-users] wix, C# installer class, uninstall

2007-03-22 Thread Nitin Chaudhari
. From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Nitin Chaudhari Sent: Thursday, March 22, 2007 9:37 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] wix, C# installer class, uninstall I am using a C# installer class, during installation, I am able

Re: [WiX-users] public properties, saving state

2007-03-22 Thread Nitin Chaudhari
\Addin\ Property(C): *EXCEL_PROGRAM = DUMMY.EXE* Property(C): TARGETDIR = F:\ … The property was changed, but still while executing LaunchExcel it is being shown as DUMMY.EXE Any idea what is going wrong here? Thanks, Nitin Chaudhari On 3/22/07, Lindsay Harris [EMAIL PROTECTED] wrote: Hi