Go Back   Armenian Knowledge Base > Technical sections > Languages, Compilers, Interpreters

Reply
 
Thread Tools

Visual Studio: Package and Deployment Wizard Problem
Old 26.05.2003, 07:00   #1
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 44
Posts: 896
Rep Power: 0
Default Visual Studio: Package and Deployment Wizard Problem

I have a Visual Basic project and want to make Setup Package file for it. I use Package and Deployment Wizard in Visual Studio.
It makes setup files, but give such error on installation:

-----
Invalid line in setup information file
Section 1: Setup files
@comdlg32.ocx; $(WinSysPath)...
-----

(I use Common Dialog component in my project)

Can you tell me the way how to make setup installation package?

Old 26.05.2003, 07:19   #2
Академик
 
greka's Avatar
 
Join Date: 09 2001
Location: inside myself
Posts: 5,369
Rep Power: 6
Default

in order to create an install-project U have to add all components required by your app.

in this particular case "comdlg32.ocx" component is not in a list of files to be installed.

Note that ActiveX components couldn't be simply copied during installation - they need registration on a client machine, too (read manuals).

hope this helps.
__________________
И повешенные могут качаться в неположенную сторону. /С.Е.Лец/

Old 26.05.2003, 07:34   #3
Web developer
 
Aram Ghazanchyan's Avatar
 
Join Date: 09 2002
Location: Yerevan
Age: 44
Posts: 896
Rep Power: 0
Default

But I'm checking that component in list when making setup. How can I copy that ActiveX compnonent to client machine registry? I couldn't find it im manual

Old 26.05.2003, 14:04   #4
Академик
 
greka's Avatar
 
Join Date: 09 2001
Location: inside myself
Posts: 5,369
Rep Power: 6
Default

Quote:
Originally posted by Aram Ghazanchyan
But I'm checking that component in list when making setup. How can I copy that ActiveX compnonent to client machine registry? I couldn't find it im manual
I'm not aware of events covered by MS VStudio Package and Deployment Wizard, but I guess yuo have to have the possibility to use "AfterInstall" event of all components u're installing.
So there you have to write shell-code like:

"regsvr32 <my_path_where_component_have_been_installed\>MyActiveX.ocx"

to unregister component (i.e. on Uninstall) use:
"regsvr32.exe /u MyActiveX.ocx"

try this.
__________________
И повешенные могут качаться в неположенную сторону. /С.Е.Лец/
Reply




Реклама:
реклама
Buy text link .

All times are GMT. The time now is 21:46.
Top

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.