[WiX-users] Feature installation condition

2007-07-16 Thread Lawrence
Hi all. Forgive me if this has been covered before, but I can find no information in the archives. I am using wix v3 (through visual studio), which admittedly may not be the best way to learn but it does seem to have a more inclusive feature set. I am trying to do a conditional reboot, depending

[WiX-users] How to refer to an env.var for install location?

2007-07-16 Thread Onur Simsek
Hi all, I am writing a plugin and I need help in getting an environment variable's value and install my plugin to that directory. My env.var is %AppinstallDir%. This variable contains the full path of the application. So I am accessing to the value using *$(env.AppinstallDir)* … I r

Re: [WiX-users] Failed to run msi in Vista. How can make CA DEP compatible?

2007-07-16 Thread Bob Arnson
Hao Liu wrote: From the http://support.microsoft.com/kb/929710 link, I understand the msiexec is 4.0 on Vista and it is default DEP enabled. The custom action(s) must be compatible with DEP in windows vista. It's more likely your DLL has a dependency (e.g., the C++ runtime DLL) that isn't

Re: [WiX-users] Weekly Releases

2007-07-16 Thread Bob Arnson
Ian Stevenson wrote: Are they considered to be less stable than what is found here: http://sourceforge.net/project/showfiles.php?group_id=105970&package_id=16 ? Just wondering whether it's recommend to use or a

Re: [WiX-users] Install target directory from Registry key.

2007-07-16 Thread Bob Arnson
Please keep /wix-users/ on the thread. Benas wrote: I have tried "RAW" but results where the same. How stable is V3? Is it recommended to release products with it or not? WiX v3 is still in active development so breaking schema changes are still possible. However, nothing in AppSearch handli

Re: [WiX-users] Shield Decoration on buttons

2007-07-16 Thread Bob Arnson
Please keep /wix-users/ on the thread. Deily, Don wrote: I'm having the same problem as "Gareth at Serif": In Vista, my installer has properties that cause "Ignoring disallowed property" messages. My question to you is: How do I use your suggested grammar "Property/@Secure="yes"" ? Is that h

Re: [WiX-users] How to call a .dll from wix with arguments?

2007-07-16 Thread Christopher Painter
InstallShield has a user story called `standard dll` ( vs `MSI dll` ) where a built-in CA and describing table data maps MSI properties ( and constants ) to function arguments. This allows you to take a DLL written by someone that wasn't specifically designed for MSI and place a wrapper around

Re: [WiX-users] How to call a .dll from wix with arguments?

2007-07-16 Thread Ian Stevenson
Hi Srini, The idea is that you don't explicitly pass any arguments to the function call (the only argument being the MSI handle that get's set by the installer), instead they are passed by a process of the installer setting up the necessary properties before the custom action is executed. Then wi

[WiX-users] Weekly Releases

2007-07-16 Thread Ian Stevenson
Thanks Bob, I was unaware of that location. Question: Are they considered to be less stable than what is found here: http://sourceforge.net/project/showfiles.php?group_id=105970&package_id= 16 ? Just wondering whether it's recommend to use or avoid those packages? Thanks, Ian. __

Re: [WiX-users] How to call a .dll from wix with arguments?

2007-07-16 Thread srinivas nomu
Does this mean I have to use only one argument by combining those two arguments?. You also said that "Your custom action will have to read any other information it needs from the install database using e.g. MsiGetProperty." What is meant by that?. Can you elaborate?. Any good examples?.

Re: [WiX-users] How to call a .dll from wix with arguments?

2007-07-16 Thread Mike Dimmick
A DLL custom action expects one argument only, an MSIHANDLE. The signature should be: UINT WINAPI MyCustomAction( MSIHANDLE hInstall ); Your custom action will have to read any other information it needs from the install database using e.g. MsiGetProperty. If your custom action is deferred

Re: [WiX-users] How to call a .dll from wix with arguments?

2007-07-16 Thread Wilson, Phil
If that's a custom action Dll the function signature is fixed, so I assume you own that Dll to make it fit. After that, you don't pass parameters you retrieve properties with MsiGetProperty(). If you follow the usual model for a CD key, that first parameter is the PIDKEY standard Windows Installe

[WiX-users] Failed to run msi in Vista. How can make CA DEP compatible?

2007-07-16 Thread Hao Liu
Dear friends, I am trying to run an msi on Vista, It failed. It can run on XP and windows 2000 without any problem. For testing, I just include a very simple custom action (dll written in VC++) called StartAtHocDSWSetup and entrypoint: SetupDSW. Its purpose is to write CustomActionData to a Me

[WiX-users] How to call a .dll from wix with arguments?

2007-07-16 Thread srinivas nomu
Hi I have to call a dll which is written in C. I donot know how to call this dll with arguments. How should I pass these two arguments into entrydll. Write now I have code like this: From main program, the dll works fine like this rc = create_license

Re: [WiX-users] setup.exe has no icon?

2007-07-16 Thread Mike Dimmick
Most straightforward approach at present is to diff the source! -- Mike Dimmick _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Hall Sent: 16 July 2007 16:45 To: Bob Arnson Cc: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] setup.exe has no icon?

[WiX-users] Hospital CEO's on file here

2007-07-16 Thread application Kelley
We're bringing back the special we ran a few weeks ago due to popular demand: American Doctor's Directory over 700 thousand records sortable by state or specialty many different fields, lots of specialties -> $359 American Hospital Directory more than 23 thousand administrators on file ful

Re: [WiX-users] setup.exe has no icon?

2007-07-16 Thread John Hall
Weekly releases of WiX are available at http://wix.sourceforge.net/releases/. Is there an easy way to find out what is changed from release to release? The history.txt file looked promising, but it is not always updated from release to release, and is just a list of changes -

Re: [WiX-users] Update?

2007-07-16 Thread Bob Arnson
Kevin Burton wrote: I am sorry this is such a beginner question but I have read the tutorial and listened to various replies about patches etc. and I have yet to find a solution. What I want is this. If the application is already installed stop the installed services, copy the updated fi

Re: [WiX-users] Checkbox that won't check or un-check

2007-07-16 Thread Bob Arnson
Scott Palmer wrote: > Microsoft certainly doesn't like to make things easy do they? I > assume though that if someone in the WMF group clued in to using MSI > that they might also have the foresight to provide a merge module for > the redistributables. Kind of like they should have years ago.

Re: [WiX-users] setup.exe has no icon?

2007-07-16 Thread Bob Arnson
Ian Stevenson wrote: Where did you get 3.0.3106.0 from? Did you build it from source? I ask because I notice it's not available for download yet (I just checked) and as such it may not really be ready for release yet. Weekly releases of WiX are available at http://wix.sourceforge.net/releases

Re: [WiX-users] setup.exe has no icon?

2007-07-16 Thread Bob Arnson
Lewis G. Pringle, Jr. wrote: I realize I can make a manual copy of the setup.exe 'stub', and put an icon in myself, and then use that stub. But is there some reason WIX doesn't provide an icon for the setup bootstrapper? Is there some reason its not made more easy to override the

Re: [WiX-users] CustomUI change install path not possible?

2007-07-16 Thread Bob Arnson
Mailinglist wrote: > We use a complete custom UI, here is the InstallDirDlg: > That looks fine but the sequencing you give in an earlier message means that any directory chosen by the user will be overwritten by your DirectorySet custom action. You want to add a condition -- NOT TARGETDIR --

Re: [WiX-users] Checkbox that won't check or un-check

2007-07-16 Thread John Hall
Microsoft certainly doesn't like to make things easy do they? I assume though that if someone in the WMF group clued in to using MSI that they might also have the foresight to provide a merge module for the redistributables. Kind of like they should have years ago. How

Re: [WiX-users] Checkbox that won't check or un-check

2007-07-16 Thread Scott Palmer
Microsoft certainly doesn't like to make things easy do they? I assume though that if someone in the WMF group clued in to using MSI that they might also have the foresight to provide a merge module for the redistributables. Kind of like they should have years ago. However, assuming that they

[WiX-users] Order of Custom Actions

2007-07-16 Thread md5hans
Hi! I have a question about controlling the order of my Custom Actions. Below is a section of a Wix file where I want the custom action ModifyArcGisInstallDataFile to be executed (and completed) before the Custom Action LaunchPyton. The first custom action modifies a file that the LanchPyton acti

Re: [WiX-users] CustomUI change install path not possible?

2007-07-16 Thread Mailinglist
Mailinglist wrote: > The directory causing the error is the TARGETDIR. The root path of the > installation and yes, the main component has a CreateFolder tag for it. > Stop, I've just seen that I turned facts. The one MergeModule with the > IisExtension gets its folders createt in the right path

Re: [WiX-users] Removing Folders

2007-07-16 Thread Mailinglist
Hi Craig, Is there a way to call RemoveFolder, and have it remove (and empty) all sub-folders? My uninstall is using RemoveFile/RemoveFolder on a folder (which contains files created after installation), but since some of the files are stored in sub-directories, the uninstall leaves the folde