 |
|
 |
thanks very much ,it solve my problem.
|
|
|
|
 |
|
 |
very informative and I look forward to the walk throughs
|
|
|
|
 |
|
 |
Hello,
Ik like the tool.
But I cant seem to get it working.
This is the lin eI use:
msiconsole.exe test d:\\msiconsole\\debug\\test.msi file
test is the application name (aka productname)
Then the pathe to the msi,
and finally the tablename I want to see, "file"
But I keep getting the messga:
run the application with argumnets <application name> <Msidatabase(with full pat
h)> <table name in MSI database>
|
|
|
|
 |
|
 |
I was looking for a few samples for MsiOpenDatabase, found your small article.
It gave a useful link on Wise Solutions site,
Thanks.
P.S.: don't take too personal all the stuff on here. Keep writing
Yevgeny
|
|
|
|
 |
|
 |
Exactly the code I needed to open up an msi within VC++. Thanks a lot, and keep up the good work.
|
|
|
|
 |
|
 |
Last time I've read some data from a MSI table I've done it with about 10 lines of VBScript and it took 15 minutes to write and debug. Granted, it took another 30 minutes to find the relevant part of SDK doc.
Not everything is worth to write about, IMHO, even if you are "just a student".
MK
|
|
|
|
 |
|
 |
I really Don't understand? Why I am getting all negative comments. You say you did that within some 1 hour, It took me one day for writing that in vc++, nothing more than that. Le me tell you my dear friend try doing the same thing in vc++. In that case you can refer to my article it will be helpful Writing script is always has been very easy. please never compare script with vc++. cheers harinath
Harinath Reddy HOneywell Technology Solutions Lab, Bangalore, India-560076 harinath@vandemataram.com
|
|
|
|
 |
|
 |
Hello, Could you do me a favour and tell me how to get data from MSI file by VBScript?
I want a start. Thank you very much.
|
|
|
|
 |
|
|
 |
|
 |
You remind me of a Visual Basic "programmer" who can drag and drop buttons on a form and add event handlers by double-clicking the button. This is not programming, and what you "learned" about "MSI" (as you call it) could not be further from the truth. You really should research more about the technology you're dealing with before embarking on a project and especially trying to explain it to others.
First, as someone that beta-tested both the pre-release Windows Installer and Wise for Windows Installer, I can promise you that Windows Installer is not "a service on Windows 2000 and Windows XP". It is an application (msiexec.exe) available for all 32-bit Windows OS's. The service that runs on Windows NT-based OS's is used for remote installations primarily.
Second, you talked about learning "InstallShield". InstallShield is nothing more than a development environment for writing Windows Installer setups, just like Wise or even file-based installations where you write everything from scratch. It's just like I can write .NET or Win32 executables using Visual Studio .NET or 6.0, or I can use GViM or Notepad and the Platform SDK or .NET Framework SDK. In fact, InstallShield - only in the latest version - finally allows the developer to access ALL tables of the MSI file (before compiling). Wise has allowed it since the beginning, which one could argue facilitates developers who really understand Windows Installer and can manipulate MSI files.
So, before claiming that you learned quite a bit, be sure to get you P's and Q's straight about the technology you're using.
Reminiscent of my younger years...
10 LOAD "SCISSORS"
20 RUN
|
|
|
|
 |
|
 |
Thanks for your feed back. Thanks a lot for reminding me that I am in the begining stage. for your information, I am just a fresher, doing my Post graduation, and as a part of my project I am working in vc++ for the last 2 months. So I think It may not be big blunder if i have some mistakes in my article. Well, I really wonder for your statement "Windows Installer is not a service on Windows 200 and windows xp". As I know it is a service. all the services are nothing but some kind of .exe file only but with a minor changes. a exe which is running as a service will be able to respond to SCManager requests like start stop etc. FYI the service "windows installer" runs only msiexec.exe from C:\WINDOWS\System32\msiexec.exe with /v option. regarding the msiexec.exe you were talking about, in order to support .msi files msiexec.exe exists for even NT and other windows versions also, where windows installer is not a service. I think I am not wrong in what i am saying, I know How to create services and work with them through c++ programs also. so You can believe me in this regard. Actually you were telling about TABLES etc, what i told in my article. installshield has power editor. I hope you know ORCA tool. Regarding my knowledge about installshield etc. I said "little bit" only not "quite a bit", I am not responsible for your own assumptions. I just wanted to share my program results with other programmers so that it may be useful. thanks n regards harinath Harinath Reddy Bangalore, India-560076
|
|
|
|
 |
|
 |
No, you are the one that's wrong. You've been working on this for less than two months while I've been donig this since '97 or '98, before the general "public" even got wind of Windows Installer. Yes, msiexec.exe does run as a service but only to keep the libraries loaded for better performance and for remote installations. Read the Microsoft Platform SDK docs. the .msi extension is even associated with msiexec.exe - check your registry. Besides, Windows Services are not supported on 9x/ME machines. I've consulted for many small and large companies, including ActiveState that makes ActivePerl, ActivePython, Perl.NET, and many other projects. You're the one that's wrong.
And yes, I'm very familiar with ORCA. I've written Installer databases from scratch (no development environment like Wise or InstallShield) using it and the text -> table importer. I was using the Windows Installer SDK before you probably even heard of it or saw it used. I've been doing this for a long time and know very much what I'm doing and what I'm talking about.
Also, check the name on the editor of your article - it's me! No, correct or "proper" articles aren't the only ones posted at CodeProject - believe me, as an editor I know. We post articles that at least have a scrap of truth. While your concept and many statements about Windows Installer are incorrect, you're utility still does what you profess, so I edited and posted it.
Reminiscent of my younger years...
10 LOAD "SCISSORS"
20 RUN
|
|
|
|
 |
|
 |
Extremely Sorry. I don't have any more argument.Now I learned the facts about this topic. Well, I will try to read and do more work in this topic.
I feel You are encouraging me, thanks for the comments.
I am sorry again if I hurt you.I didn't know that you are the editor.
cheers
mahanare
Harinath Reddy
Bangalore,
India-560076
harinath@vandemataram.com
|
|
|
|
 |
|
 |
"No knowledge" does not mean you need to say sorry even you are wrong..... but this atricle is nothing but 2-month-experience-MSDN-Doc-searcher can write
However, you may like to take a look this Open Project....
MSI doesn't have any magic excpet M$'s stuff...
http://msi2xml.sourceforge.net/[^]
|
|
|
|
 |
|
 |
Thank You,
But still I feel I am not wrong in my article.
thanks for giving me nice link, certainly it i will go through that.
cheers
harinath
Harinath Reddy
HOneywell Technology Solutions Lab,
Bangalore,
India-560076
harinath@vandemataram.com
|
|
|
|
 |
|
 |
you have such an attitude problem you f***** twat.
This kid is just asking for help.
|
|
|
|
 |
|
 |
"as an editor I know"
WOW
Let me add another thing to the list of what you should know as an editor:
- People should be encouraged to write for CodeProject. If YOU posted the article and still have some comments then:
- Either express them in a constructive way
or
- Post the comments directly to the author.
Your intentions should be positive. We don't need all this show-offs here.
Yevgeny
|
|
|
|
 |
|
 |
Sir,
I have one doubt about ORCA. Actually i have one MSI file, whih has to be
updated with the new files (to be installed). So I used ORCA editor to do this and i modified some table values(like, file,component, feature components...) and able to change it succesflly.
Now, i cant repeat this process of editing MSI file for each and everytime when i change the files to be installed.
So is there any way to automate this process (instead of manually editing tables using ORCA) ????
Please help me in this issue and reply ur msgs to balaji.1manarmy@gmail.com
Thanks in advance...
balaji.J
|
|
|
|
 |
|
 |
HI there, I hae no knowledgeof msi files myself, but however , my computer does not recognise any msi files right now and you seem to know what your talking about. here is the error box of what it says is missing or cannot be found, Could you please help me either find this file and tell me how to get it re-installed on my computor. I run windows 2000, heres the error file thaats says its missing
c:\docume~1\admini~1.mad\local~1\temp\_isb4\internet cleanup.msi
you can e-mail me at maddog1122@hotmail.com with any information, I would greatly aprreciate it and would greatly learn and improve my own computor skills if you could explain this to me in english. thank you for listening to me very much
Tom stratemyer, Sr.
|
|
|
|
 |