Re: [WiX-users] Property refernces are not expanded in ScrollableText

2007-01-10 Thread Bob Arnson
Boris Kolpackov wrote: > Height="40" Sunken="yes" TabSkip="yes" > > Text="{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 > Arial;}}\viewkind4\uc1\pard\f0\fs20 [BASEDIR]}"> > > > I'd be surprised if ScrollableText controls supported formatted text. Even the {\rtf1

Re: [WiX-users] How Can I Refresh a dialog?

2007-01-10 Thread Bob Arnson
Levi Wilson wrote: > If anyone has a better solution to not being able to refresh the > dialog controls it would be greatly appreciated. I just don't > understand why since I'm changing the Property in my CA that control > the Control Conditions of my MaskedEdit and Icon controls that it > doe

Re: [WiX-users] Installing the same files to multiple locations

2007-01-10 Thread Bob Arnson
Rob Mensching wrote: > You're installing the same set of files to three different locations, right? > You've got those files include in your setup 3 times (which is a waste of > space but allowed). Why not use CopyFile instead? > One reason not to is that you can't patch or upgrade or other

Re: [WiX-users] Setting the target of a shortcut

2007-01-10 Thread Bob Arnson
Jason Van Eaton wrote: > It was merely an example of passing a command line to %ComSpec%, which is > what I am actually trying to accomplish. It isn't clear to me that I can use > ExeCommand with %ComSpec% since I am not installing that file myself. > You don't need CAs for this. Target shou

Re: [WiX-users] User Interface Help Needed On Displaying A Custom DIalog

2007-01-10 Thread Bob Arnson
Scullum wrote: > > Error LGHT0204: ICE17: PushButton: 'Next' of Dialog: 'InstallDirDlg' > does not have an event defined in the ControlEvent table. It is a 'Do > Nothing' button. > WixUI_Mondo doesn't use InstallDirDlg -- are you referencing it? > But i do not know the names of all the dialogs,

Re: [WiX-users] Property refernces are not expanded in ScrollableText

2007-01-10 Thread Boris Kolpackov
Hi Bob, Bob Arnson <[EMAIL PROTECTED]> writes: > I'd be surprised if ScrollableText controls supported formatted text. > Even the {\rtf1 start uses MSI's style-formatted hint. I think you are right. It does not seem there is any way to get anything except static text to the ScrollableText contro

Re: [WiX-users] Patch Uninstall Help

2007-01-10 Thread Wilson, Phil
The Windows Installer version might be too old on that system. It's 3.0 you need. Phil Wilson From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Emma Hanna Sent: Wednesday, January 10, 2007 4:43 PM To: wix-users@lists.sourceforge.net Subject: [WiX

[WiX-users] Patch Uninstall Help

2007-01-10 Thread Emma Hanna
I am attempting to create a patch for my application, and I am able to create the patch and install it successfully but when I try to uninstall I receive the Windows Installer error - 1646 (Patch removal is not supported). I have set the AllowRemoval attribute of the PatchMetadata to 'yes', could s

Re: [WiX-users] Setting the target of a shortcut

2007-01-10 Thread Levi Wilson
Actually, it was here that I saw it: http://www.advancedinstaller.com/user-guide/formatted.html It might still apply though? Let me know. On 1/10/07, Jason Van Eaton <[EMAIL PROTECTED]> wrote: I didn't try [\/] only \/. I may have missed the [] part in the msdn topic for FormattedStrings.

Re: [WiX-users] Setting the target of a shortcut

2007-01-10 Thread Jason Van Eaton
I didn't try [\/] only \/. I may have missed the [] part in the msdn topic for FormattedStrings. There is still the problem with the misplaced double quote though. I haven't tried your suggestion yet, but thanks for your help. JVE From: Levi Wilson [mailto:[E

Re: [WiX-users] Setting the target of a shortcut

2007-01-10 Thread Levi Wilson
Can't you do something like this: I thought I read somewhere on MSDN (can't find the doc right now) you can do [\x] and it will print a literal 'x'. Maybe try that? On 1/10/07, Jason Van Eaton <[EMAIL PROTECTED]> wrote: I should have mentioned that I had already tried \/ to no avail. How

[WiX-users] Conditional Database Uninstall

2007-01-10 Thread Jonas Abrams
Hi everyone, I have an installation that creates a database. Currently, I leave the database on the machine when the product is uninstalled. But I would like to allow someone to pick whether the database is removed during uninstall or not. I saw an old post about this and it stated that this co

Re: [WiX-users] Installing the same files to multiple locations

2007-01-10 Thread Rob Mensching
You're installing the same set of files to three different locations, right? You've got those files include in your setup 3 times (which is a waste of space but allowed). Why not use CopyFile instead? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Nic

[WiX-users] Installing the same files to multiple locations

2007-01-10 Thread Nick
My sanity has been questioned, and I realize no sane person would probably want to do this, but... Here's what I'm trying to accomplish; is there a more elegant way to do this?

Re: [WiX-users] Checking for running process

2007-01-10 Thread Wilson, Phil
Do you care which one? VS 2003 and 2005 are both devenv.exe and could both be running. I'm also curious why you care - this might be one of those cases where describing what you want to achieve is more useful than asking how to implement your solution. Phil Wilson ___

Re: [WiX-users] How to specify checkbox control with unchecked bydefault

2007-01-10 Thread Frank Tse
Actually I had to remove the property declaration in the wxs file altogether, then the checkbox is unchecked by default. Interesting enough I can still reference the property in the wxs file even though the property name is only specified in the Property attribute of the CheckBox Control and is no

[WiX-users] Property refernces are not expanded in ScrollableText

2007-01-10 Thread Boris Kolpackov
Hi, I need to show some paths to the user at the end of the installation. Since I don't know the length of these paths, I figured it's best to use ScrollableText. So I have: Where BASEDIR is an Id of a directory. This does not work: I get unexpanded [BASEDIR] shown in the control. I've also tr

Re: [WiX-users] Trouble creating shortcut to a folder.

2007-01-10 Thread Wout de Zeeuw
I bet this is not the proper way of replying to a post, but couldn't find the right way! Anyways, thanks for your reply... it does confirm the feeling that I had about creating the shortcut/registry keys. I can live with a few dangling registry keys, so I'll go for the solution creating those b

Re: [WiX-users] Checking for running process

2007-01-10 Thread Levi Wilson
UINT __stdcall MyCA(MSIHANDLE hInstall) { BOOL bIsRunning = FALSE; // check for running process code if( bIsRunning ) { if( ERROR_SUCCESS!=MsiSetProperty(hInstall,"DEVENV_RUNNING","1") ) { MessageBox(0,"Error setting property.","My Install",0); return -1; // or some other error

Re: [WiX-users] Checking for running process

2007-01-10 Thread Levi Wilson
Off the top of my head you could schedule a Custom Action to run before LaunchConditions I believe and set a property like DEVENV_RUNNING? Then you could have a: NOT DEVENV_RUNNING I haven't tested this, but it seems like it would work. On 1/10/07, Jason Du Plessis <[EMAIL PROTECTED]> wrote:

[WiX-users] Checking for running process

2007-01-10 Thread Jason Du Plessis
Hi, I need to determine if an application (devenv.exe) is not running as part of an install. Is there any means of doing this within WiX? Thanks, Jason - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.n

Re: [WiX-users] How Can I Refresh a dialog?

2007-01-10 Thread Levi Wilson
Alright, well...for now to eliminate my problem and have it behave like I want it to I had to do the following **WARNING**HACK**: 1 1 1 1 1 So I still have the Reset event in there, but I preserve the PIDKEY before the Reset event. If any

Re: [WiX-users] How to specify checkbox control with unchecked bydefault

2007-01-10 Thread Matthew Janulewicz
This will not work (in Wix 3, at least.) I believe the CHECKBOXPROPERTY is an 'empty' vs 'nonempty' kinda thing. You have to eliminate the value altogether: This gives a compilation warneng, but it's the only way I've gotten it to work. -Matt _ From: Levi Wilson [mailto

Re: [WiX-users] light bogging down my machine

2007-01-10 Thread Rob Mensching
What version of the WiX toolset are you using? That sounds like an unexpected performance problem. It would be awesome if you wanted to do a little profiling to see if there is one particular part of the processing that takes longer than others. The verbose switch *might* give you enough info

Re: [WiX-users] User Interface Help Needed On Displaying A Custom DIalog

2007-01-10 Thread Scullum
Thanks for the link to the wiki http://www.wixwiki.com/index.php?title=WixUI_Custom very useful But i am still confused, my end goal is to provide a dialog allowing the user to select the website to install to, much like the websetup installer created by visual studio. The chm manual states ::   Yo

Re: [WiX-users] How Can I Refresh a dialog?

2007-01-10 Thread Levi Wilson
I wonder if I need to subscribe my MaskedEdit and Icon controls to some event? Any ideas? I noticed that some other "trick" that people have used is to create a cloned dialog and switch between them? This doesn't seem like a very feasible solution. On 1/10/07, Levi Wilson <[EMAIL PROTECTED]> w

Re: [WiX-users] How Can I Refresh a dialog?

2007-01-10 Thread Levi Wilson
The problem with that is when the Reset event is called, it sets PIDKEY back to whatever it was when the dialog was initialized. So when you press the "Next" button, when ValidateProductID is envoked, the PIDKEY is blank, so it fails. I *could* set a condition to not validate the PIDKEY if ProdI

Re: [WiX-users] How Can I Refresh a dialog?

2007-01-10 Thread Rob Hamflett
Could you not have the PIDKEY set to some pre-existing value, which is empty on the first run? Rob Levi Wilson wrote: > I have a UserRegistration dialog. The "Next" button publishes the > following: > > Height="17" Default="yes" Text="&Next"> > 1 >Valu

[WiX-users] How Can I Refresh a dialog?

2007-01-10 Thread Levi Wilson
I have a UserRegistration dialog. The "Next" button publishes the following: 1 1 CostingComplete = 1 "VerifyMe" obviously verifies if the ProductID is good to go. What I have are two icon controls in my dialog that sort of display the status of the enter

Re: [WiX-users] Trouble creating shortcut to a folder.

2007-01-10 Thread Tony Hoyle
Wout de Zeeuw wrote: > - Next approach was creating an unadvertised shortcut. But then > initially ICE gives an ICE43 error, telling: > "Error 2 ICE43: Component CadLibShortcuts has non-advertised shortcuts. > It should use a registry key under HKCU as its KeyPath, not a > file. C:\wout\views\ww

[WiX-users] Trouble creating shortcut to a folder.

2007-01-10 Thread Wout de Zeeuw
Hi, I'm trying to create a shortcut to a folder, and have somewhat succeeded, but not entirely to my liking, and there are a few things that I don't understand being fairly new to the msi installer world. At the bottom is a .hxs file that does compile and work. So here's my small list of quest

Re: [WiX-users] light bogging down my machine

2007-01-10 Thread Scott Palmer
On 1/10/07, André Pönitz <[EMAIL PROTECTED]> wrote: Hi all. I have the problem that longer runs of 'light' make my desktop machine basically unusable for any other task in that time I run Wix V3. I've noticed that Light locks up all of Visual Studio at least, but the rest of the system rem

[WiX-users] greedily

2007-01-10 Thread Samuel Fontenot
Thefairy tales are translated into Spanish, Portuguese, Korean, Japanese,Greek, Russian and Dutch by computer translation. se -Fantastic exhibitionwww. RSSfor My New York Fan ClubSlide Showsintroduction toAsbjorn Lonvig art, design etc. I have made these drafts of sculptures tohis remembrance. O

Re: [WiX-users] How to specify checkbox control with unchecked by default

2007-01-10 Thread Levi Wilson
You should be able to set CHECKBOXPROPERTY to 0 in your wxs file. That would initialize it to 0. On 1/10/07, Frank Tse <[EMAIL PROTECTED]> wrote: Hi, I am showing a simple checkbox control in a dialog: Currently when the dialog is shown, the checkbox is checked by default. Al

Re: [WiX-users] Icons

2007-01-10 Thread Levi Wilson
This is what I ended up doing. The bootstrapper example on the WiX page at sourceforge is a good example in that you can package (or "wrap") your msi into the setup.exe using msistuff. This way, you can change the resource icon for the setup.exe that gets created. The bootstrapper example proje

Re: [WiX-users] Setting the target of a shortcut

2007-01-10 Thread Jason Van Eaton
I should have mentioned that I had already tried \/ to no avail. However, your comment about it being XML makes a lot of sense. I will try the escape sequence for / and see what happens. Thanks! JVE From: Brian Patton [mailto:[EMAIL PROTECTED] Sent: Tuesday,

Re: [WiX-users] Setting the target of a shortcut

2007-01-10 Thread Jason Van Eaton
It was merely an example of passing a command line to %ComSpec%, which is what I am actually trying to accomplish. It isn't clear to me that I can use ExeCommand with %ComSpec% since I am not installing that file myself. So the question remains - is there a way to remove the quotes which cause

[WiX-users] Create a LocalGroup in the installation

2007-01-10 Thread Tobias Bengtsson
Hi there, I need to add a group to the computer I am installing on, and then I need to add a fileshare with that group as a member, creating a single user is easy, but I don't find any documentation about adding a group? I have tried having a VBScript CA adding the group prior to the Create

Re: [WiX-users] How to specify checkbox control with unchecked by default

2007-01-10 Thread Rob Hamflett
Do you have CHECKBOXPROPERTY set to anything? I think that if it has any value the checkbox will be checked. Don't specify it, and it will be created when the user clicks the checkbox. Rob Frank Tse wrote: > Hi, > > > > I am showing a simple checkbox control in a dialog: > > Wid

Re: [WiX-users] Icons

2007-01-10 Thread Constantin Bryzgalin
Hello, > Ok quick question. I have already added an icon that will show up inside > control panel->add / remove programs by setting ARPPRODUCTICON: > > Bad idea. If user has an application that registered .ico extension (like any picture viewer, ACDSee for example) he'll see icon of that ap

[WiX-users] light bogging down my machine

2007-01-10 Thread André Pönitz
Hi all. I have the problem that longer runs of 'light' make my desktop machine basically unusable for any other task in that time (unless one counts the display of partially updated windows as 'task'...) I do not really understand the reason for that. Windows thinks my desktop machine has two C

[WiX-users] How to specify checkbox control with unchecked by default

2007-01-10 Thread Frank Tse
Hi, I am showing a simple checkbox control in a dialog: Currently when the dialog is shown, the checkbox is checked by default. All I want is to have the checkbox unchecked by default. I have looked at the Control element schema and there doesn't seem to have an attribute to set