[WiX-users] setup.exe with msi

2009-05-26 Thread Hukumchand Shah
Hi, I have my msi file created using WIX. I want to make setup.exe which does some tasks like copying some file and renaming it and finally launch msi installer. How can I do that setup.exe? Thanks, Hukum -- Register Now

Re: [WiX-users] How do I preserve a configuration file on a majorupgrade?

2009-05-26 Thread si
I know this thread is over a year old, but for those who find it via google, the custom actions below fail with Access Denied under Vista when the user does not have admin rights i.e. enters admin credentials during install. However it does work if you log in as Admin, or open a cmd prompt as

Re: [WiX-users] Read the text from .ini file.

2009-05-26 Thread Rahul.Ekbote
Hi,, I am using following property to read from .ini file Property Id=INISEARCH IniFileSearch Id=ini Field=0 Name=ALM.ini Section =VersionInfo Key=ProductVersion LongName=ALM.ini / /Property However I think it searches only system folder. The .ini file is part of my installation and

Re: [WiX-users] Wix installutil question

2009-05-26 Thread Glenn Macgregor
Rob, Thanks for the info. I have created a sample CA and have it working. I am now looking into actually registering the dll so my WMI instrumentation will work correctly. My CA is set to deferred execution and I am not sure what class(es) give me the info I need to do the registration. I have

[WiX-users] Problem with Custom UI

2009-05-26 Thread Rahul.Ekbote
Hi, I want to add Product key dialog in WixUI_InstallDir. So I written UI Like UI Id=myui Property Id=DefaultUIFont Value=WixUI_Font_Normal / TextStyle Id=WixUI_Font_Normal FaceName=Tahoma Size=8 / TextStyle Id=WixUI_Font_Bigger FaceName=Tahoma Size=12 /

[WiX-users] problem with Fat32

2009-05-26 Thread Rafal Perkowski (CPL Solutions)
Hello. I have a problem with wix installer. On Vista and XP with NTFS file system everything is working fine. I have a problem on Windows XP with Fat32 file system. Program doesn't work correctly. It's a problem with one dll. On this machine I have c drive (FAT32) and d drive (NTFS). If I

Re: [WiX-users] setup.exe with msi

2009-05-26 Thread Bob Arnson
Hukumchand Shah wrote: I have my msi file created using WIX. I want to make setup.exe which does some tasks like copying some file and renaming it and finally launch msi installer. How can I do that setup.exe? I'd suggest writing it in C++ if it's possible users won't have .NET

Re: [WiX-users] Problem with Custom UI

2009-05-26 Thread Bob Arnson
rahul.ekb...@sungard.com wrote: Error 2 ICE17: Bitmap: 'WixUI_Bmp_Dialog' for Control: 'Bitmap' of Dialog: 'FatalError' not found in Binary table You're probably missing a reference to WixUI_Common where all those are defined. -- sig://boB http://joyofsetup.com/

Re: [WiX-users] FW: installation directory must be on a local hard drive

2009-05-26 Thread Bob Arnson
Tency Kuruvilla wrote: Publish Dialog=MyInstallDirDlg Control=Next Event=SpawnDialog Value=InvalidDirDlg Order=3![CDATA[WixUI_InstallDir_VALID1]]/Publish You need to keep the original conditions as they rely on properties set by the custom action called by DoAction. -- sig://boB

Re: [WiX-users] problem with Fat32

2009-05-26 Thread David Watson
Hi, What error are you getting in you application when it fails? It looks like it may be a possible permissions issue. Dave W -Original Message- From: Rafal Perkowski (CPL Solutions) [mailto:i-rap...@microsoft.com] Sent: 26 May 2009 11:31 To: wix-users@lists.sourceforge.net Subject:

Re: [WiX-users] problem with Fat32

2009-05-26 Thread Rafal Perkowski (CPL Solutions)
Application doesn't fail. I have button in application and this button is disable, because application couldn't load one element from this dll that I have a problem. -Original Message- From: David Watson [mailto:dwat...@sdl.com] Sent: 26 May 2009 11:52 To: General discussion for Windows

Re: [WiX-users] problem with Fat32

2009-05-26 Thread David Watson
I would investigate the dll loading code then, maybe you are discarding an error that would be helpful. -Original Message- From: Rafal Perkowski (CPL Solutions) [mailto:i-rap...@microsoft.com] Sent: 26 May 2009 12:37 To: General discussion for Windows Installer XML toolset. Subject: Re:

[WiX-users] DTF and selfreg dll

2009-05-26 Thread Glenn Macgregor
Hi All, I have created a custom action in C# I want this CA to install the selfreg information from a dll I have created. Does anyone know what classes I need to use in the DTF to make this happen. Thanks Glenn --

Re: [WiX-users] DTF and selfreg dll

2009-05-26 Thread Glenn Macgregor
Hi again, I am at a loss for how to get this done the suggested way. I found some info on stackoverflow referencing exactly what I want to do. Simmen: I have developed a WMI provider in C# using the System.Management.Instrumentation namespace. I need to install the provider into the GAC and

[WiX-users] ServiceInstall tag question

2009-05-26 Thread Glenn Macgregor
Hi All, I am using the ServiceInstall tag to install my service, this works great. This service needs to run as a specific user so I set the Account/Password attributes which works no problem. The msi I am creating needs to run with no user interaction so I want to hardcode the

Re: [WiX-users] Problem with condition based on custom property

2009-05-26 Thread cemiles
http://msdn.microsoft.com/en-us/library/aa370912.aspx Try making the property public so it can be passed from the UI to execute sequence. Routhier Louis wrote: Hi, I made a custom action that needs to run only if a checkbox was checked during UI or not at all if in quiet or minimal mode.

Re: [WiX-users] setup.exe with msi

2009-05-26 Thread Mike Rerick
A solution I have been using is AutoIt V3 scripting language. I create self-extracting executables that are then distributed to the customer. I would recommend downloading the SciTE editor as well - it has a lot of additional features. http://www.autoitscript.com/ -Original Message-

Re: [WiX-users] Failed to copy CustomAction log name

2009-05-26 Thread Rob Mensching
Why isn't 31 enough? Alex Ivanoff wrote: I use long descriptive names for my custom actions so I finally got this error: Failed to copy CustomAction log name. Turns out there is a 31 character log name limit in wcautil.cpp, line 28: static char s_szCustomActionLogName[32]; Why such a

Re: [WiX-users] Conditions with util:XMLConfig

2009-05-26 Thread Routhier Louis
Again, I found my solution by myself: To define custom conditions for the SchedXmlConfig action that gets added when you use XMLConfig, you simply have to reschedule it in the installExecuteSequence and there, you will be able to set your own conditions. For instance: InstallExecuteSequence

Re: [WiX-users] DTF and selfreg dll

2009-05-26 Thread Rob Mensching
CustomActions are very hard to write correctly. There are lots of moving parts that they have to fit in between. The way I learned it was to read the MSI SDK pages about CustomActions a few times. There is a lot of data to digest. DTF is just a managed wrapper around all of those concepts so

Re: [WiX-users] Problem with condition based on custom property (Routhier Louis)

2009-05-26 Thread Routhier Louis
OK, please don't throw me rocks... When I tried to debug my custom action, I realised I reversed the condition ( 1 instead of =1)... I hope this won't happen again as I feel so shameful :P Les renseignements contenus dans ce message peuvent ĂȘtre confidentiels. Si vous n'ĂȘtes pas le

[WiX-users] Passing TRANSFORMS into MSI patch

2009-05-26 Thread troy hostetter
We have successfully built and utilized a MST file when deploying our RTM version of our product. A separate MST file is built for each of our separate environments .. Dev, Integration, and Production. We use the following command to pass in this transform file: msiexec -i Product.msi -l *xv

Re: [WiX-users] ServiceInstall tag question

2009-05-26 Thread Rob Mensching
If you encrypt it, you'll have to have some process (CustomAction) run during the install to unencrypt it. The SCM API requires the password in plain text. Glenn Macgregor wrote: Hi All, I am using the ServiceInstall tag to install my service, this works great. This service needs to run as

Re: [WiX-users] Passing properties between deferred custom actions

2009-05-26 Thread Alex Ivanoff
What is the function name? -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Monday, May 25, 2009 20:10 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Passing properties between deferred custom actions There are functions in

Re: [WiX-users] ServiceInstall tag question

2009-05-26 Thread Wilson, Phil
And if you use a property, add it to the MsiHiddenProperties list so it doesn't show in plaintext in an MSI log. Phil Wilson -Original Message- From: Rob Mensching [mailto:r...@wixtoolset.org] Sent: Tuesday, May 26, 2009 9:45 AM To: General discussion for Windows Installer XML

[WiX-users] Problem with condition based on custom property

2009-05-26 Thread Routhier Louis
Hi, I made a custom action that needs to run only if a checkbox was checked during UI or not at all if in quiet or minimal mode. To do this, I created my property, linked it to my checkbox and then configured my condition but it seems that no matter what I do, the action is always ran. Here

Re: [WiX-users] Read the text from .ini file.

2009-05-26 Thread Alex Shevchuk
However I think it searches only system folder. The .ini file is part of my installation and copies on user machine. So how can I search this one? Actually, WI requires file to be in the Windows folder. You can either copy your .ini file to windows folder during installation or custom action is

[WiX-users] Read the text from .ini file.

2009-05-26 Thread gulfam murad
Hi, How can I use .rc dialogs or windows forms as my WIX Installer Package UI. Thanks, Gulfam -- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT is a gathering of tech-side developers brand