Re: [WiX-users] Check input characters of install path

2009-08-24 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) Dialog Id=MyBrowseDlg Width=370 Height=270 Title=!(loc.BrowseDlg_Title)

[WiX-users] Check input characters of install path

2009-08-24 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) Dialog Id=MyBrowseDlg Width=370 Height=270 Title=!(loc.BrowseDlg_Title)

[WiX-users] Check input characters of install path

2009-08-24 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) Dialog Id=MyBrowseDlg Width=370 Height=270 Title=!(loc.BrowseDlg_Title)

[WiX-users] Check input characters of install path

2009-08-24 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) Dialog Id=MyBrowseDlg Width=370 Height=270 Title=!(loc.BrowseDlg_Title)

[WiX-users] check input characters of install path

2009-08-24 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) Dialog Id=MyBrowseDlg Width=370 Height=270 Title=!(loc.BrowseDlg_Title)

[WiX-users] check input characters of install path

2009-08-24 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) Dialog Id=MyBrowseDlg Width=370 Height=270 Title=!(loc.BrowseDlg_Title)

[WiX-users] Shortcuts do not get removed

2009-08-24 Thread sandun css
Hi, I add a start menu item from the msi. I create a quick launch item by right clicking on that start menu item. When I uninstall the msi, the start menu item gets removed. But not the quick launch icon. Is there a way that I can remove it as well? (I don't need to install quick launch from the

[WiX-users] check input characters of install path

2009-08-24 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) Dialog Id=MyBrowseDlg Width=370 Height=270 Title=!(loc.BrowseDlg_Title)

[WiX-users] Check input characters of install path

2009-08-23 Thread sandun css
Hi, I need to check whether the installation path contains characters other than, a-z, A-Z, 0-9, -, _ and space. What I did was this, 1. Removed the standard BrowseDlg and added a new browse dialog. (MyBrowseDlg) Dialog Id=MyBrowseDlg Width=370 Height=270 Title= !(loc.BrowseDlg_Title)

Re: [WiX-users] check Installdir is empty

2009-08-11 Thread sandun css
, Jun 25, 2009 at 9:33 PM, Rob Mensching r...@wixtoolset.org wrote: No, no element built in to do this. sandun css wrote: Hi, I need to check whether the install derectory is empty or not. i.e. Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFiles64Folder Name

Re: [WiX-users] Env variables don't get deleted

2009-08-03 Thread sandun css
I don't get this problem always. I installed and uninstalled the msi multiple times without any problem. But after few attempts, I noticed that the env variable had not got removed. Might this be a problem with WindowsInstaller ? On Fri, Jul 3, 2009 at 2:57 PM, sandun css sandun...@gmail.com

[WiX-users] Registry key don't get deleted.

2009-07-27 Thread sandun css
Hi, I am setting a registry key, using the following code. RegistryKey Root='HKLM' Key='Software\Microsoft\ProductName\Setup' Action=' createAndRemoveOnUninstall' But, it don't get deleted when I uninstalled the msi. Please advice.. Sandun

[WiX-users] Read install location from an env variable

2009-07-16 Thread sandun css
Hi, I need to install my msi to a certain location. That location is read from an env. variable. I am not quite sure how to do it. Property Id=INSTALLLOCATION[%myPath]/Property is not working. (When installing I get an error saying Could not find network location [%myPath]) Any idea regarding

Re: [WiX-users] Env variables don't get deleted

2009-07-03 Thread sandun css
of the variable match the entries in the Name and Value fields of the Environment table. If you want to remove an environment variable, regardless of its value, use the '!' syntax, and leave the Value field empty. -Original Message- From: sandun css [mailto:sandun...@gmail.com] Sent

Re: [WiX-users] Env variables don't get deleted

2009-07-02 Thread sandun css
No Rob. Those don't apply. On Thu, Jul 2, 2009 at 11:56 AM, Rob Hamflett r...@snsys.com wrote: Setting Permanent=yes on the Component or forgetting to give it a GUID would make the env var change permanent. Do either of these apply? Rob sandun css wrote: Hi, I set few env variables

Re: [WiX-users] Boolean paramaters

2009-07-01 Thread sandun css
Thanks for the replies. I was able to get it done with 'MYFLAG~=true' approach. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net

[WiX-users] Env variables don't get deleted

2009-07-01 Thread sandun css
Hi, I set few env variables from my msi. But they don't get deleted when I uninstall them. This is my code, Environment Id='ENVVAR' Name='CONFIG' Action='set' Part='all' Value='[INSTALLDIR]etc\middleware.cfg' System='yes' Permanent='no'/ What can be the problem? Thanks, Sandun

[WiX-users] Boolean paramaters

2009-06-30 Thread sandun css
Hi, I have some conditions in my msi, like the following, Condition Message=Required prerequisite (PowerShell 1.0) is not found. ![CDATA[Installed OR (POWERSHELL = 1.0)]] /Condition But I need to run these conditions only if a certain parameter is set to 'true'. (i.e. msiexec /i

[WiX-users] check Installdir is empty

2009-06-23 Thread sandun css
Hi, I need to check whether the install derectory is empty or not. i.e. Directory Id=TARGETDIR Name=SourceDir Directory Id=ProgramFiles64Folder Name=PFiles Directory Id=INSTALLDIR Name=My app/ /Directory When we browse a dirctory as the install dir, I need to make sure it is

[WiX-users] Check INSTALLDIR is empty or not

2009-06-11 Thread sandun css
Hi, I need to install my msi to an empty directory. (Without creating a new directory.) So, is there a way in WiX to verify whether the browsed 'INSTALLDIR' is an empty one or not? Thanks, Sandun -- Crystal Reports -

Re: [WiX-users] UAC dialog poping up

2009-06-10 Thread sandun css
On Tue, Jun 9, 2009 at 10:17 PM, sandun css sandun...@gmail.com wrote: by setting Package/@*InstallScope* =perMachine, I specified that the msi package requires elevated privileges to install. Although I specify this, the UAC dialog appears just before msi starts installing files. (i.e

[WiX-users] Action not found: WelcomeDlg error

2009-06-10 Thread sandun css
Hi, I install my msi using the following command. msiexec /i installer.msi /l test.log The installation was successful, but I found the following entry in the log file. DEBUG: Error 2726: Action not found: WelcomeDlg The installer has encountered an unexpected error installing this package.

Re: [WiX-users] Action not found: WelcomeDlg error

2009-06-10 Thread sandun css
...@joyofsetup.com wrote: sandun css wrote: DEBUG: Error 2726: Action not found: WelcomeDlg It means something is looking for a custom action or dialog that's not in your .msi. What's the context of this message? -- sig://boB http://joyofsetup.com

Re: [WiX-users] Action not found: WelcomeDlg error

2009-06-10 Thread sandun css
, Bob Arnson b...@joyofsetup.com wrote: sandun css wrote: DEBUG: Error 2726: Action not found: WelcomeDlg It means something is looking for a custom action or dialog that's not in your .msi. What's the context of this message? -- sig://boB http://joyofsetup.com

Re: [WiX-users] UAC dialog poping up

2009-06-09 Thread sandun css
by setting Package/@*InstallScope* =perMachine, I specified that the msi package requires elevated privileges to install. Although I specify this, the UAC dialog appears just before msi starts installing files. (i.e. Welcome dialog - Licence Agreement - Install Dir - UAC) I am not quite sure why

[WiX-users] UAC dialog poping up

2009-06-08 Thread sandun css
Hi, When I run my installer, the UAC dialog appears just before the installer starts copying files. Is there a way to make it appear at the start of the msi. (before welcome page) ? I am running the msi as an Administrator. Thanks, Saman

[WiX-users] Speedup build process

2009-06-03 Thread sandun css
Hi, It takes around 30 minutes to build my msi. I learnt that it is possible to reduce the time by, - Increasing the cab files count. - lowering the compression ratio - removing ICE validation - reusing cabs I was able to increase the cab files count and lower the compression

[WiX-users] Installutil in wix

2009-04-20 Thread sandun css
Hi, Is it possible to register dlls using installutil command in wix? Thanks, Sandun -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on

Re: [WiX-users] Installutil in wix

2009-04-20 Thread sandun css
, Glasgow G20 0SP Email Disclaimer -Original Message- From: sandun css [mailto:sandun...@gmail.com] Sent: 20 April 2009 07:58 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Installutil in wix Hi, Is it possible to register dlls using installutil command in wix? Thanks

[WiX-users] Problem reading Environment variables

2009-04-03 Thread sandun css
Hi, I set few environment variables from my wix installer, and refer them from a console application (C#), whcih gets launched at the end of my WiX installer. (I have a custom action to launch that console app, when the user presses the 'Finish' button of the msi) But my console application

[WiX-users] Register com objects

2009-03-30 Thread sandun css
Hi, Is there a way in WiX, to register a COM object, without using custom actions? Thanks, Sandun. -- ___ WiX-users mailing list WiX-users@lists.sourceforge.net

Re: [WiX-users] Delete installation folder

2009-03-27 Thread sandun css
Hi, Thanks for the replies. I tried with both the approaches. But they remove only the installed fils. Logs and other generated files doesn't seem to removing. Sandun -- ___

[WiX-users] Delete installation folder

2009-03-25 Thread sandun css
Hi all, When I uninstall my application all the installed files get removed. But some files do not get removed since they were generated after the installation. (log files etc..) I need to delete those as well. I tried with 'RemoveFolder' element as well. But it doesn't remove folders when they

Re: [WiX-users] Push button custom action problem

2009-03-20 Thread sandun css
to run on Install mode: Not Installed or MaintenanceMode = Repair or Not Installed or MaintenanceMode = Modify Regards, Romeo sandun css wrote: It doesn't seem to fix the problem :( On Wed, Mar 18, 2009 at 3:34 PM, Romeo Salayo Jr. dfox.mxyzp...@gmail.comwrote: try

[WiX-users] Push button custom action problem

2009-03-18 Thread sandun css
Hi, I run a custom action when the finish button of the 'ExitDialog' is pressed. But I need to run that custom action only in the install and repair modes. Publish Dialog=ExitDialog Control=Finish Event=DoAction Value= LaunchPSConfigUI(NOT REMOVE)/Publish But, this executes the custom action

Re: [WiX-users] Push button custom action problem

2009-03-18 Thread sandun css
It doesn't seem to fix the problem :( On Wed, Mar 18, 2009 at 3:34 PM, Romeo Salayo Jr. dfox.mxyzp...@gmail.comwrote: try this condition: MaintenanceMode=Repair Regards, Romeo sandun css wrote: Hi, I run a custom action when the finish button of the 'ExitDialog' is pressed

Re: [WiX-users] Running 64-bit executables silently

2009-03-17 Thread sandun css
Hi Michael, I tested with your code. But the installer failed. found following lines in the log. CAQuietExec64: Error 0x80070057: failed to get command line data CAQuietExec64: Error 0x80070057: failed to get Command Line Then I modified it as follows, CustomAction

[WiX-users] Running 64-bit executables silently

2009-03-16 Thread sandun css
Hi, I was trying to run a powershell script in powershell 64 bit version. (using CAQuietExec64) CustomAction Id=SetInstallScriptParameter Property=InstallScriptAction Value=quot;[POWERSHELLEXE]quot; [INSTALLDIR]scripts\Install.ps1 Execute= immediate Return=check / CustomAction

Re: [WiX-users] Running 64-bit executables silently

2009-03-16 Thread sandun css
/ try this. sandun css wrote: Hi, I was trying to run a powershell script in powershell 64 bit version. (using CAQuietExec64) CustomAction Id=SetInstallScriptParameter Property=InstallScriptAction Value=quot;[POWERSHELLEXE]quot; [INSTALLDIR]scripts\Install.ps1 Execute= immediate

Re: [WiX-users] Execute a powershell script in x64

2009-03-13 Thread sandun css
I could learn that, this was possible a custom action which uses a VB script. But I am not familiar with VB scripts. Please advice me how to do it? Is there any better way? Thanks On Mon, Mar 9, 2009 at 10:17 AM, sandun css sandun...@gmail.com wrote: Hi, I need to execute a powershell script

[WiX-users] Execute a powershell script in x64

2009-03-08 Thread sandun css
Hi, I need to execute a powershell script silently, at the uninstallation. I used following code for that. CustomAction Id=SetUninstallScriptParameter Property=UninstallScriptAction Value=quot;[POWERSHELLEXE]quot; [INSTALLDIR]scripts\Uninstall.ps1 Execute=immediate Return=check / CustomAction

[WiX-users] Verify the installation mode is silent or not.

2009-03-05 Thread sandun css
Hi, My installer launches a 'Windows Forms Application' when the user presses the installation finish button. But if the installer is executed in the silent mode, (msiexec /i installer.msi /q) I don't want to launch that application. In the silent mode I have to execute a console application

Re: [WiX-users] Verify the installation mode is silent or not.

2009-03-05 Thread sandun css
. http://msdn.microsoft.com/en-us/library/aa372096(VS.85).aspx -Brian Simoneau -Original Message- From: sandun css [mailto:sandun...@gmail.com] Sent: Thursday, March 05, 2009 5:26 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] Verify the installation mode is silent

[WiX-users] How to get the current user in WiX?

2009-02-27 Thread sandun css
Is there a way to get the current user's name and password in the wix code? I need it to install services, as the user who is logged in -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC

Re: [WiX-users] How to get the current user in WiX?

2009-02-27 Thread sandun css
there is ever a way to get the user's password as plain text. The user's name is in a standard MSI Property. sandun css wrote: Is there a way to get the current user's name and password in the wix code? I need it to install services, as the user who is logged

[WiX-users] Setting default value of a property

2009-02-27 Thread sandun css
Hi, I have a property called 'USERNAME'. I need to set its default value to the 'LogonUser'. (user name) How can I do that? Sandun. -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC

[WiX-users] Install pre-requisites from server manager features

2009-02-26 Thread sandun css
Hi all, There are few pre-requisites for my application, which will be installed on a Windows server 2008 machine. Most of those pre-requisites are there in the ServerManager features and roles. Is there a way in wix, to verify whether those features are installed, and to install them if not

[WiX-users] Excute an application from wix

2009-02-26 Thread sandun css
Hi, I need to run an application after the user presses the finish button. Is there a simple way to do that, in WiX v3? -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the

[WiX-users] Delete folders

2009-02-25 Thread sandun css
Hi, When I uninstall my application, all the folders which were created after the installation remains without getting deleted. How can I delete those folders? Can't I delete all the folders exist in the Install directory ? If so, how to do it? Thanks, Sandun

[WiX-users] Define constants

2009-02-25 Thread sandun css
Hi, I need to use a certain value in multiple places of the WiX code. Therefore, when that value gets changed, I have to do that change in many places. Is there a way that I can define constant variables kind of thing? I think using the 'Property' element is not suitable here, since Property

Re: [WiX-users] Define constants

2009-02-25 Thread sandun css
Thanks a lot for the help :) On Wed, Feb 25, 2009 at 9:48 PM, John Nannenga john.nanne...@microsoft.comwrote: Take a peek at the Preprocessor section in the WiX.chm file. It has all sorts of information in this regard, complete with examples. -Original Message- From: sandun css

Re: [WiX-users] Delete folders

2009-02-25 Thread sandun css
...@sitecore.net wrote: MSI supports this via RemoveFile table: http://msdn.microsoft.com/en-us/library/aa371201.aspx. WiX wraps this into RemoveFile and RemoveFolder elements (see docs on this). -- Yan -Original Message- From: sandun css [mailto:sandun...@gmail.com] Sent: Wednesday

[WiX-users] Get machine name in wix

2009-02-23 Thread sandun css
Hi, How to get the name and full name of the target machine, in wix ? Thanks -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing

[WiX-users] Wix testing

2009-02-19 Thread sandun css
Hi, Is there a way that I can write some test code for wix testing ? Thanks, Sandun -- Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open

[WiX-users] Writing WiX Tests

2009-02-19 Thread sandun css
Hi, In the Wix documentation I found something called 'smoke'. Please advice me what is that and how can I write my own tests to test the Wix code? Thanks, Sandun -- Open Source Business Conference (OSBC), March 24-25,

Re: [WiX-users] Creating empty folders

2009-02-15 Thread sandun css
Thanks. I was trying with only Directory element, which doesn't create empty folders. :) On Fri, Feb 13, 2009 at 3:29 PM, Chris Ridd chrisr...@mac.com wrote: On 13 Feb 2009, at 08:45, sandun css wrote: Hi, I need to create several folders, which don't contain any files

[WiX-users] Creating empty folders

2009-02-13 Thread sandun css
Hi, I need to create several folders, which don't contain any files at the installation. Is this possible in wix? If so, how to do it? Thanks, Sandun -- Open Source Business Conference (OSBC), March 24-25, 2009, San

Re: [WiX-users] Apply office look and feel to the wix dialogs

2009-02-12 Thread sandun css
the full experience. You would have to go further to handling your own external UI. Thanks, Brian Rogers Intelligence removes complexity. - Me http://icumove.spaces.live.com On Wed, Feb 11, 2009 at 8:38 PM, sandun css sandun...@gmail.com wrote: Hi, Is it possible to apply the MS office

[WiX-users] Apply office look and feel to the wix dialogs

2009-02-11 Thread sandun css
Hi, Is it possible to apply the MS office look and feel to the wix dialogs? If so, how can I do it? Thanks, Sandun -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe

[WiX-users] create environment variables

2009-02-11 Thread sandun css
Hi, I need to create few environment variables during the installation. Please advice me how to do it? Sandun -- Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM) software. With Adobe AIR,

[WiX-users] Install Power Shell snappin failed.

2008-11-28 Thread sandun css
Hi, I was trying to install a powershell snapping using wix. So I added 'xmlns:ps=http://schemas.microsoft.com/wix/PSExtension;' and wrote some code like this, DirectoryRef Id=ASSEMBLY Component Id=myCompId Guid=E1BCC12B-4EAC-49D1-B59C-790366F5EEE9 File Name=Cmdlets.dll