Re: [WiX-users] Generating random password for created user

2009-01-05 Thread Kelly Leahy
Robert, your best bet if you're building a C/C++ custom action is to use static linking so you don't have any dependencies. Kelly "Robert Barnes" 01/05/2009 11:09 PM Please respond to "General discussion for Windows Installer XML toolset." To "General discussion for Windows Installer X

Re: [WiX-users] Generating random password for created user

2009-01-05 Thread Robert Barnes
2009/1/3 Peter Oehlert : > I'm creating a couple of service accounts with my install to be used as the > identity of an IIS App Pool. I'd like to simply create very long securely > random passwords (cryptgenrandom or system.security.RandomNumberGenerator). > I'm still fairly new to this but I think

Re: [WiX-users] Determine if file exists on build machine

2009-01-05 Thread wjguidry
thanks everyone. I'll check in to this. -- Original message from mi...@get2net.dk: -- Regarding the ability to "search for" and include a source file during wix > compilation/link I've > proposed to extend the WiX preprocessor with a FileExist functionality. > For detai

Re: [WiX-users] Reinstallation of Modified MSI

2009-01-05 Thread Devarajan, Mahesh IN BLR SISL
This happens because every time you build your application(setup) a new package code is getting generated, keeping the same package code will give you the behavior what you are expecting. Regards, Mahesh -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Tu

Re: [WiX-users] Reinstallation of Modified MSI

2009-01-05 Thread Rob Mensching
When you rebuild you have a new MSI. The only option is to recache/reinstall (minor upgrade like) or major upgrade. Or uninstall the previous package and install the new one. -Original Message- From: Pankaj Agrawal (Infosys Technologies Ltd) [mailto:v-pa...@microsoft.com] Sent: Monday

[WiX-users] Reinstallation of Modified MSI

2009-01-05 Thread Pankaj Agrawal (Infosys Technologies Ltd)
Hi, I have created a MSI with latest version of WiX and installed on my machine. Now I modified the WiX file and created the new MSI. Now I am installing the newly created MSI and it is not giving me the option for modify, remove and uninstall . I am getting the error that this package is alread

Re: [WiX-users] LockPermissions table not being created

2009-01-05 Thread Alan Sinclair
Thanks! Sorry I missed that in the docs. Sched/ExecSecureObjects actions look OK in the log. -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Monday, January 05, 2009 2:01 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-user

Re: [WiX-users] Multi-project development

2009-01-05 Thread Rob Mensching
Can you provide a few more specifics about your situation? -Original Message- From: Reese [mailto:quattro...@gmail.com] Sent: Monday, January 05, 2009 16:01 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Multi-project development Hi, what is the current recommendation regarding

[WiX-users] Multi-project development

2009-01-05 Thread Reese
Hi, what is the current recommendation regarding multiple project/ developer installation authoring via WiX. At one point I heard it might be to go with the merge module project but is there a better way? -- ___

Re: [WiX-users] WiX & environment variables

2009-01-05 Thread Alfredo Alvarez Lamela
Forwarding to the Wix alias. From: Jacques Eloff Sent: Monday, January 05, 2009 2:41 PM To: EE Dev Support Subject: WiX & environment variables Hi I've just tried the msiqow alias (which failed) and I can't find a general WiX alias, so hoping someone here might be able to help I need to creat

Re: [WiX-users] Disable cancel button on ProgressDlg during CustomAction execution

2009-01-05 Thread Richard
In article , Rob Mensching writes: > The WiX toolset "wcautil.lib" has helper functions that ensure that > user canc el isn't "swallowed" by a CustomAction. That's good to know, I'll have a peek inside that code as soon as someone gets me an assignment agreement :-). > You might be surp

Re: [WiX-users] LockPermissions table not being created

2009-01-05 Thread Rob Mensching
If you use Extended="yes" you're using SecureObjects instead of LockPermissions. Hopefully the verbose log file has information about what is getting configured. -Original Message- From: Alan Sinclair [mailto:alan.sincl...@citrix.com] Sent: Monday, January 05, 2009 12:37 To: WiX-users@l

[WiX-users] LockPermissions table not being created

2009-01-05 Thread Alan Sinclair
I'm trying to set permissions on a directory, using this code: When I added the code, light complained that SchedSecureObjects was missing until I added wixca.wixlib in the command to light.exe. The com

Re: [WiX-users] Disable cancel button on ProgressDlg during CustomAction execution

2009-01-05 Thread Rob Mensching
The WiX toolset "wcautil.lib" has helper functions that ensure that user cancel isn't "swallowed" by a CustomAction. You might be surprised at some of the functions that can return user cancel. -Original Message- From: Richard [mailto:legal...@xmission.com] Sent: Monday, January 05, 20

Re: [WiX-users] Repair mode condition

2009-01-05 Thread Wilson, Phil
Going back to the original post, a NOT Installed condition on a custom action should prevent it being called during a repair, so I'd look at a log of the repair to see what's going on and why the CA is being called. What's the complete condition being used? Phil Wilson -Original Messag

Re: [WiX-users] Disable cancel button on ProgressDlg during CustomAction execution

2009-01-05 Thread Richard
In article , sujanakar reddy writes: > When the user clicks Cancel button during CustomAction execution, the insta= > llation is not getting rollback and the product is installed successfully. Wouldn't you rather that the Cancel button worked properly instead of disabling it? Chances are,

Re: [WiX-users] Heat and Interop files

2009-01-05 Thread Neil Sleightholm
Possibly but there people actually do installs, the people on .Net forums still think you can xcopy deploy :-) Neil -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: 05 January 2009 17:16 To: General discussion for Windows Installer XML toolset. Subject: R

Re: [WiX-users] Disable cancel button on ProgressDlg during CustomAction execution

2009-01-05 Thread Wilson, Phil
It's this topic, although there may be others: http://msdn.microsoft.com/en-us/library/aa368791(VS.85).aspx Phil Wilson -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Monday, January 05, 2009 7:33 AM To: General discussion for Windows Installer XML

Re: [WiX-users] Heat and Interop files

2009-01-05 Thread Rob Mensching
I totally agree that if they should not be registered then heat should not include them. However, I don't think this is the right forum to get a definitive answer. -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Monday, January 05, 2009 09:09 To: General dis

Re: [WiX-users] Heat and Interop files

2009-01-05 Thread Neil Sleightholm
Alex, That is what I thought, I have never done any registration of them. On searching around I did find information about them having a TypeLib entry if you put them in the GAC but I couldn't find anything definitive. Rob, I asked the question here because I was interested in what the people her

[WiX-users] Letters in ProductVersion

2009-01-05 Thread lesterbangs
Our product versions mostly conform to the major.minor.build convention specified by the MSI standard, but sometimes we have to put letters in the strings to indicate an update or "hotfix", i.e. 1.0.5.U1 or 2.4.16.HF02. Obviously this is a big no-no to have letters in ProductVersion property. Wor

Re: [WiX-users] Heat and Interop files

2009-01-05 Thread Alex Ivanoff
In my experience, Heat does not deal right with interop assemblies. And yes, you are right: interop assemblies do not need registration entries, they do not need any entries in the registry at all. -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Monday, Januar

Re: [WiX-users] Removing temp files from isolated storage

2009-01-05 Thread Rob Mensching
You already said it. RemoveFile. -Original Message- From: Ajay Bhandari [mailto:aja...@microsoft.com] Sent: Monday, January 05, 2009 07:43 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Removing temp files from isolated storage Pardon my ignorance, bu

Re: [WiX-users] Removing temp files from isolated storage

2009-01-05 Thread Ajay Bhandari
Pardon my ignorance, but how do I remove them? These files are not installed by application but are created when the application is used. -Ajay -Original Message- From: Rob Mensching [mailto:rob.mensch...@microsoft.com] Sent: Monday, January 05, 2009 9:01 PM To: General discussion for Wi

Re: [WiX-users] Issue Regarding Install on mapped/shared drives.

2009-01-05 Thread Rob Mensching
It's always possible I remember incorrectly. A verbose log file would tell you more. -Original Message- From: gaurav.du...@wipro.com [mailto:gaurav.du...@wipro.com] Sent: Sunday, January 04, 2009 21:00 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Issue Regarding Install o

Re: [WiX-users] Disable cancel button on ProgressDlg during CustomAction execution

2009-01-05 Thread Rob Mensching
1. IIRC, there is a way to disable a Cancel button. I've seen it in the MSI SDK. 2. Yes, CustomActions can cancel the installation. I know the MSI SDK documents how to do that. -Original Message- From: sujanakar reddy [mailto:sujanakar_re...@hotmail.com] Sent: Sunday, January 04,

Re: [WiX-users] Removing temp files from isolated storage

2009-01-05 Thread Rob Mensching
No CustomAction should be necessary. -Original Message- From: Ajay Bhandari [mailto:aja...@microsoft.com] Sent: Monday, January 05, 2009 05:44 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Removing temp files from isolated storage Hi, I have an app that creates couple of files

Re: [WiX-users] Heat and Interop files

2009-01-05 Thread Rob Mensching
Probably a better question for a .NET mailing list. -Original Message- From: Neil Sleightholm [mailto:n...@x2systems.com] Sent: Monday, January 05, 2009 04:50 To: wix-users@lists.sourceforge.net Subject: [WiX-users] Heat and Interop files I have been looking at heat recently and noticed

Re: [WiX-users] Conditionally executing console program at end of upgrade

2009-01-05 Thread Wayne Roberts
> >Message: 7 >Date: Sat, 03 Jan 2009 13:19:30 -0800 >From: Bob Arnson >Subject: Re: [WiX-users] Conditionally executing console program at > end of upgrade >To: "General discussion for Windows Installer XML toolset." > >Message-ID: <495fd662.2030...@joyofsetup.com> >Content-Type: tex

[WiX-users] Removing temp files from isolated storage

2009-01-05 Thread Ajay Bhandari
Hi, I have an app that creates couple of files during its lifetime within machine isolate storage area. As part of application uninstall, we need to remove those files. Can this be achieved through some default properties & Remove File table or do I need to write a custom action? TIA, Ajay ---

[WiX-users] Heat and Interop files

2009-01-05 Thread Neil Sleightholm
I have been looking at heat recently and noticed that is generates COM registration entries for Interop files. I think this is wrong but wondered what anyone else thought. Also, is there a way to detect that a file is an Interop file. One possibility is that Interop files contain TypeLb\{g

Re: [WiX-users] Determine if file exists on build machine

2009-01-05 Thread misuo
Regarding the ability to "search for" and include a source file during wix compilation/link I've proposed to extend the WiX preprocessor with a FileExist functionality. For details see "[1932721] Using FileExist() in preprocessor condition statements" available at http://sourceforge.net/tracker/