Re: [WiX-users] Clearing a MSI table (Clearing ListBox/ComboBox)

2007-08-30 Thread md5hans

Thanks!

I suppose I can filter the delete query with the property name?

I have never interacted with the MSI-database before but I have looked at
the database functions in the MSI Api and I have a general idea of how to do
this BUT if anyone have a c++ code sample to share I would be very, very
grateful.

/Hans


Bob Arnson-6 wrote:
 
 md5hans wrote:
 Is there a way to clear an msi-table from the c++ code? 
 
 Execute a DELETE query on the table.
 
 -- 
 sig://boB
 http://joyofsetup.com/
 
 
 
 -
 This SF.net email is sponsored by: Splunk Inc.
 Still grepping through log files to find problems?  Stop.
 Now Search log events and configuration files using AJAX and a browser.
 Download your FREE copy of Splunk now   http://get.splunk.com/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users
 
 

-- 
View this message in context: 
http://www.nabble.com/Clearing-a-MSI-table-%28Clearing-ListBox-ComboBox%29-tf4333896.html#a12403659
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Help Needed ......

2007-08-30 Thread V K Gangwar
Thanks a lot!!!

One more question -

Have you any idea about InstallAware 7. This package is also used for creating 
installation package. Which one is better to use InstallAware or WiX2.0.

Thanks!!
Veerendra

Karthik Krishnan [EMAIL PROTECTED] wrote: Adding wix-users back to the thread.

To answer your last question first, I know of no real way of telling what tool 
created the .MSI, except perhaps if Installshield has placed references in the 
Registry table of the .MSI. You might see things like 
Installshield_InstallDriver) 

If all you have is the .MSI to work from, you're in for a bit of work. Get the 
platform SDK, install Orca, open up the .MSI and inspect it. This should give 
you an idea of what to work towards, and a reference point to examine the 
output from dark. You can actually edit the .MSI within Orca, but you might 
want to do some reading first. 

You might end up having to recreate some of the work. If the .MSI contains 
custom actions, those can be extracted and re-incorporated into your project, 
and if there are a lot of files, well, I'd just install it, copy the files to a 
different place, and point my .wxs at them. 

Personally, I've made the switch to WiX v3, as none of the open bugs affect any 
of my projects. If this is your first time with Wix, I'd suggest v2, there are 
excellent tutorials and plenty answered questions in the mailing lists' 
archive. As Bob said in another email, Wix v2 is a low risk option, Wix v3 is 
medium risk. 

K

On 8/24/07, V K Gangwar [EMAIL PROTECTED] wrote: 
Thanks Karthik,

I have few more doubts.

I have .msi package with all .dll and .exe files.
I have to add some more features in existing .msi package.
What approach I should follow and what version of WiX tool I should use? 

What I did - 
I downloaded WiX 3.0 binaries nad votive3.0. Using dark I got my .wxs file 
(with few warnings, as I already mentioned), Now I am going throw the .wxs file 
and trying to understand this.

Is my approach is right? Otherwise there is a better way to comeout from my 
problems. 

One more thing that how one will know that particular .msi is build from WiX 
tool only. As I know that there are so many tools to create a .msi file.

Thanks!!
Veerendra



Karthik Krishnan  [EMAIL PROTECTED] wrote:  I don't think Dark has been 
completely updated for use with  WiX v3 yet. You might have better luck with v2.

That being said, I've never trusted the output from Dark for anything other 
than a reference point to begin work from.  


 On 8/22/07, V K Gangwar [EMAIL PROTECTED] wrote:  Dear All,

First time I am using WiX. I am working on wix-3.0.2925.0-binaries. I am using 
WiX with MS Visual Studio 2005.

I have a .msi file which I have decompiled using   dark.exe decompiler and got 
a .wxs file. Again I tried to build this .wxs file with my application code. 
Now I am getting errors.
What should I do? Is there any version mismatch problem. I have to add some 
patch with my wix binaries because I read that   wix3.0 is  not stable. 
I also got few warnings while decompile the .msi file. Following are the 
warnings.
Please help me. 


 


-
Looking for a deal?  Find great prices on flights and hotels with Yahoo! 
FareChase.


 

   
-
Take the Internet to Go: Yahoo!Go puts the Internet in your pocket: mail, news, 
photos  more. -
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] UI text problem

2007-08-30 Thread Anidil

After creating and running the msi using us-english .wxl file,i see that the
cancel text in the window while removing from add/remove programs has been
replaced with German as in the screenshot ,
http://www.nabble.com/file/p12403977/uninstall.jpg even when i do not user
german .wxl file while linking.How do i fix this issue?

NB:I have created german version of the msi earlier.
-- 
View this message in context: 
http://www.nabble.com/UI-text-problem-tf4353155.html#a12403977
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] dependent features

2007-08-30 Thread Adam Langley
I have a deployment project which is deploying 3 websites, and some
assemblies into the GAC.
2 of the websites require the GAC assemblies, 1 does not.
How do I configure these 4 features so that if either (or both) of the 2
websites that needs the GAC feature is chosen for installation, then the UI
forces the user to select the GAC feature aswell? But if only the website
that doesn't need the GAC assemblies is chosen, the GAC feature is allowed
to be disabled.
Is there a standard way to approach this type of 'inter-feature
dependencies'?

Thanks

 - Adam Langley


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] UI text problem

2007-08-30 Thread Alexei

I'm guessing you used the german version as a template for this version: the
Language in the Product or Package tag will be wrong. Make sure it matches
the  http://www.tramontana.co.hu/wix/lesson2.php#2.4 Codepage  as well


Anidil wrote:
 
 After creating and running the msi using us-english .wxl file,i see that
 the cancel text in the window while removing the product from add/remove
 programs has been replaced with German as in the screenshot ,
 http://www.nabble.com/file/p12403977/uninstall.jpg even when i do not user
 german .wxl file while linking.How do i fix this issue?
 
 NB:I have created german version of the msi earlier.
 

-- 
View this message in context: 
http://www.nabble.com/UI-text-problem-tf4353155.html#a12406467
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Failure invoking remote custom action

2007-08-30 Thread John Hancock (HSG)

I'm using a .def file to export the function. That looks like:

LIBRARY CertSelect
EXPORTS
  Select

The function itself just looks like the following:


UINT __stdcall Select( MSIHANDLE hModule )
{
return ERROR_SUCCESS;
}

From: Bob Arnson [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 30, 2007 1:39 AM
To: John Hancock (HSG)
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Failure invoking remote custom action

John Hancock (HSG) wrote:
From what I've been reading it sounds like a missing dependency problem, but 
running depend.exe on the DLL on the installation machine didn't reveal any 
errors.

Another possibility is an incorrectly exported function. How are you 
declaring/exporting the function?


--

sig://boB

http://joyofsetup.com/
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Clearing a MSI table (Clearing ListBox/ComboBox)

2007-08-30 Thread md5hans

Hi!

I found a sample...

...

MSIHANDLE hDatabase, hView;

hDatabase = MsiGetActiveDatabase(hInstall);
if (MsiOpenDatabase(szPathName,MSIDBOPEN_DIRECT,hDatabase)!= ERROR_SUCCESS)
{
return FALSE;
}

if (MsiDatabaseOpenView(hDatabase,DELETE FROM 'ComboBox' WHERE 'Property' =
'PACKAGE_NAME',hView) != ERROR_SUCCESS)
{
return FALSE;
}
// execute query - not a parameter query so second parameter is NULL.
if (MsiViewExecute(hView,NULL) != ERROR_SUCCESS)
{
return FALSE;
}

if(MsiDatabaseCommit(hDatabase))
{
return FALSE;
}


-- 
View this message in context: 
http://www.nabble.com/Clearing-a-MSI-table-%28Clearing-ListBox-ComboBox%29-tf4333896.html#a12407294
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Kill Process

2007-08-30 Thread Simon Topley
Cool cool, I've found a work around so all is well.

Thanks for the help chaps

Simon 

-Original Message-
From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: 30 August 2007 05:50
To: Simon Topley
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Kill Process

Simon Topley wrote:
 I notice with most other things that are left running the installer 
 tells you to close them before it can proceed with the uninstallation,

 indeed under vista it does this very thing for the process in
question.
 Does anyone know why this is not the case for XP/2000/2003 ? 

See the MSI SDK doc for Restart Manager. It's a Vista feature that's
not available before Vista/Server2008.

--
sig://boB
http://joyofsetup.com/


The information contained in this e-mail is likely to be confidential and
may be legally privileged. It is intended only for the addressee. If you
have received this message in error please notify the sender immediately at
the above address. The disclosure, copying or distribution of this message
or its contents without the prior approval of Wallingford Software is
strictly prohibited. Wallingford Software is not liable for
unauthorised disclosures nor for subsequent actions or omissions in reliance
upon them.

Registered in the UK, company no: 02288719
Wallingford Software Limited, Howbery Park, Wallingford, Oxfordshire, OX10 8BA

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] SelectionTree Control

2007-08-30 Thread Alan Frye
I am using a selection tree control and pushbutton on a dialog and need to 
determine which features are selection to be installed after selecting the 
pushbutton.



 ole0.bmp 

Alan Frye MCP, OCA
Mesa Associates, Inc.
832 Georgia Avenue
Suite 300
Chattanooga,TN 37402
Phone: (423) 424-7460
Fax: (423) 424-7403


ole0.bmp-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] [MailServer Notification]Attachment Blocking Notification

2007-08-30 Thread ILMAIL_Administrator

a Mail that was send to you with The ole0.bmp has been blocked,
and Quarantine entire message has been taken on 8/31/2007 5:57:05 AM.
Message details:
Server:ILMAIL
Sender: [EMAIL PROTECTED];
Recipient:wix-users@lists.sourceforge.net;
Subject:[WiX-users] SelectionTree Control
Attachment name:ole0.bmp

__
This electronic message contains information from Verint Systems, which may be 
privileged and confidential. 
The information is intended to be for the use of the individual(s)or entity 
named above. 
If you are not the intended recipient, be aware that any disclosure, copying, 
distribution or use of the contents of this information is prohibited. 
If you have received this electronic message in error, please notify us by 
replying to this email (1).


-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now   http://get.splunk.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users