Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Updating rows of file table using vbscript


7 replies to this topic

Sourabh.Satam

Sourabh.Satam
  • Full Members
  • 5 posts

Posted 01 December 2008 - 06:00

Hi Everyone,

I have to update attributes of files of vendor msi using vbscript which runs externally.

I have attached the script which updates the attributes.
But the problem is it only updates attributes of few files.


Kindly help me in solving the above problem.

Attached Files


Edited by Sourabh.Satam, 01 December 2008 - 06:00.


VBScab

VBScab
  • Full Members
  • 436 posts

Posted 01 December 2008 - 09:49

QUOTE (Sourabh.Satam @ 2008-12-01 05:00)
I have to update attributes of files of vendor msi using vbscript which runs externally.

Why? Messing with vendor MSIs is A Really Bad Idea. Use a transform.
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.

Sourabh.Satam

Sourabh.Satam
  • Full Members
  • 5 posts

Posted 01 December 2008 - 10:02

Acualy as per our standard we need uncompress the msi.

For that we take admin image. N after taking admin image it is required to change file attribute.
So for that I need vbscript.



VBScab

VBScab
  • Full Members
  • 436 posts

Posted 01 December 2008 - 11:31

QUOTE (Sourabh.Satam @ 2008-12-01 09:02)
N after taking admin image it is required to change file attribute.

The situation is no different whether it's an admin image or not. Use a transform.
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.

Sourabh.Satam

Sourabh.Satam
  • Full Members
  • 5 posts

Posted 01 December 2008 - 12:58

In any condition i have to change attributes via vbscript only.

VBScab

VBScab
  • Full Members
  • 436 posts

Posted 01 December 2008 - 12:59

OK, you win. I give up.
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.

Sourabh.Satam

Sourabh.Satam
  • Full Members
  • 5 posts

Posted 02 December 2008 - 04:30

Atleast let me know how to do it.

VBScab

VBScab
  • Full Members
  • 436 posts

Posted 02 December 2008 - 10:18

Contact me off-line and I'll send you a quote for my time. I don't do this stuff for free. Nor, I imagine, would many other people.

Also, I don't really want to post advice on how to break vendor MSIs, but...

Download the Platform SDK. In there, you'll find in the 'Samoples' folder a collection of scripts showing you how to open an MSI, interrogate the various tables and so on. Use one of those as a template.
- Don't know why 'x' happened? Want to know why 'y' happened? ProcMon will tell you.
- Try using http://www.google.com before posting.
- I answer questions only via forums. Please appreciate the time I give here and don't send me personal emails.