473,372 Members | 1,616 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,372 software developers and data experts.

Use of InstallShield

Hi,
I have got InstallShield with VC++, and I would like to
use it to create a setup for various types of project,
e.g. a game, activeX control, etc. However the project
wizard only allows you to choose an .exe, and it makes you
choose between 'database application', 'finance
application', etc. What if my product isn't an .exe, say
it's an .ocx, or what if it isn't one of these predefined
types of program?
I've no idea on where to start with the blank project
option. I added my .ocx to the 'components' view and then
tried pressing Ctrl+F5, but all it did was show the
initial progress bar 'InstallShield is peparing...guide
you through the rest of the installation process' then
just stops.
Can anyone with experience or knowledge in this give me a
few pointers on how to create a simple setup project? I
don't want anything fancy like optional modules or
custom/typical/compact distinctions, I just want a simple
setup program that will install the dependencies and
register it in Add/remove programs if it's an application.
Are the Visual Studio .NET setup project options easier to
use and as good as InstallShield? Can anybody tell me more
about these?
Many thanks
Ben
P.S. Please use this X-post list if replying via internet
explorer, as it only picks up the group you're replying
from. Thanks.
microsoft.public.vc.language, microsoft.public.vc.mfc,
microsoft.public.dotnet.languages.vc,
microsoft.public.vstudio.general,
microsoft.public.vstudio.development,
microsoft.public.vsnet.general,
microsoft.public.vstudio.setup
Nov 16 '05 #1
2 4421
Hi Ben

You can add an OCX control into that. And about the application type i am
not sure how to change it. That 4 or 5 options only it is giving,

Regarding OCX control adding and registration:
What you should do is in the "File Groups" tab you can see a folder as
"Shared DLL". If your dll/ocx is a shared one you can add that there. or in
the right side you can set the "Shared" option to "No" so that files
included in that group won't be shared. So in a folder you can add both
"Shared" and "Not Shared" dll's. You can even create a new folder. Select
the appropriate items from the right side lis. for ex: if it is a self
registration dll/ocx you can choose there. Also extra options as you want.

In the components tab you should add a ne component and in the right side
"Included File Groups" add the newly created file group. And also choose the
destination folder from the right hand side.

Finally in the scrip you should ad few lines of code in MoveFileData
function. I will paste that code here. This code is even available in the
InstallShield help.
// Register the files, check for errors.
if Do ( SELFREGISTRATIONPROCESS ) < 0 then
szMsg = "File(s) failed to self-register: \n" + ERRORFILENAME;
MessageBox (szMsg, WARNING);
endif;

This much i know. Not sure about that Visual Studio .NET setup project.

Hope some of this will help you.

Sreeram

"Ben Taylor" <be***********@yahoo.co.uk> wrote in message
news:07****************************@phx.gbl...
Hi,
I have got InstallShield with VC++, and I would like to
use it to create a setup for various types of project,
e.g. a game, activeX control, etc. However the project
wizard only allows you to choose an .exe, and it makes you
choose between 'database application', 'finance
application', etc. What if my product isn't an .exe, say
it's an .ocx, or what if it isn't one of these predefined
types of program?
I've no idea on where to start with the blank project
option. I added my .ocx to the 'components' view and then
tried pressing Ctrl+F5, but all it did was show the
initial progress bar 'InstallShield is peparing...guide
you through the rest of the installation process' then
just stops.
Can anyone with experience or knowledge in this give me a
few pointers on how to create a simple setup project? I
don't want anything fancy like optional modules or
custom/typical/compact distinctions, I just want a simple
setup program that will install the dependencies and
register it in Add/remove programs if it's an application.
Are the Visual Studio .NET setup project options easier to
use and as good as InstallShield? Can anybody tell me more
about these?
Many thanks
Ben
P.S. Please use this X-post list if replying via internet
explorer, as it only picks up the group you're replying
from. Thanks.
microsoft.public.vc.language, microsoft.public.vc.mfc,
microsoft.public.dotnet.languages.vc,
microsoft.public.vstudio.general,
microsoft.public.vstudio.development,
microsoft.public.vsnet.general,
microsoft.public.vstudio.setup

Nov 16 '05 #2
My intention is JUST to distribute an OCX, not to
distribute an application that uses an OCX. I just
wondered how you can get that to be the main file, and not
get it to make you choose an .exe, as there isn't any .exe
associated with this. Maybe it's better to just use a zip
compression utility and create a self extracting exe from
that? I see what you mean about the shared and non-shared
folders, but I still don't know how I would get it to know
that my .ocx is what I'm distributing. I'll have another
play around with it, and the .NET setup projects.
Thanks for the advice
Ben
-----Original Message-----
Hi Ben

You can add an OCX control into that. And about the application type i amnot sure how to change it. That 4 or 5 options only it is giving,
Regarding OCX control adding and registration:
What you should do is in the "File Groups" tab you can see a folder as"Shared DLL". If your dll/ocx is a shared one you can add that there. or inthe right side you can set the "Shared" option to "No" so that filesincluded in that group won't be shared. So in a folder you can add both"Shared" and "Not Shared" dll's. You can even create a new folder. Selectthe appropriate items from the right side lis. for ex: if it is a selfregistration dll/ocx you can choose there. Also extra options as you want.
In the components tab you should add a ne component and in the right side"Included File Groups" add the newly created file group. And also choose thedestination folder from the right hand side.

Finally in the scrip you should ad few lines of code in MoveFileDatafunction. I will paste that code here. This code is even available in theInstallShield help.
// Register the files, check for errors.
if Do ( SELFREGISTRATIONPROCESS ) < 0 then
szMsg = "File(s) failed to self-register: \n" + ERRORFILENAME; MessageBox (szMsg, WARNING);
endif;

This much i know. Not sure about that Visual Studio .NET setup project.
Hope some of this will help you.

Sreeram

"Ben Taylor" <be***********@yahoo.co.uk> wrote in message
news:07****************************@phx.gbl...
Hi,
I have got InstallShield with VC++, and I would like to
use it to create a setup for various types of project,
e.g. a game, activeX control, etc. However the project
wizard only allows you to choose an .exe, and it makes you choose between 'database application', 'finance
application', etc. What if my product isn't an .exe, say
it's an .ocx, or what if it isn't one of these predefined types of program?
I've no idea on where to start with the blank project
option. I added my .ocx to the 'components' view and then tried pressing Ctrl+F5, but all it did was show the
initial progress bar 'InstallShield is peparing...guide
you through the rest of the installation process' then
just stops.
Can anyone with experience or knowledge in this give me a few pointers on how to create a simple setup project? I
don't want anything fancy like optional modules or
custom/typical/compact distinctions, I just want a simple setup program that will install the dependencies and
register it in Add/remove programs if it's an application. Are the Visual Studio .NET setup project options easier to use and as good as InstallShield? Can anybody tell me more about these?
Many thanks
Ben
P.S. Please use this X-post list if replying via internet explorer, as it only picks up the group you're replying
from. Thanks.
microsoft.public.vc.language, microsoft.public.vc.mfc,
microsoft.public.dotnet.languages.vc,
microsoft.public.vstudio.general,
microsoft.public.vstudio.development,
microsoft.public.vsnet.general,
microsoft.public.vstudio.setup

.

Nov 16 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: MJB | last post by:
The application (it's a C# app) I'm trying to create the setup for uses MSDE. I want to add the MSDE merge modules to the setup so that it will all get installed at once. Will both InstallShield...
0
by: sonomaenterprises | last post by:
I have a VB.Net application that I am trying to build an installation package via InstallShield Express 5.0. I go through the new VB.NET Wizard and it collects my info and tells me that it is...
2
by: Donald | last post by:
Hi! Can I use the InstallShield to build an installer to deploy an OCX control that I have created? If so, how? Does anyone know any links to this kind of information. I have Visual Studio 6...
3
by: Agent86 | last post by:
I have created install packages for my ade on mssql installation as a windows installer package in installshield and it all works fine except; 1. I want to determine whether Access 2002 is...
0
by: Corobori | last post by:
Hi, I am having some problems using InstallShield Express to create a patch for my application, a Windows vb.net project. If you have some experience in that area and some spare time I would...
1
by: news.microsoft.com | last post by:
There is not much help from installshield. Can someone show me a way that I can create an installshield installation that install crystal report 11 run-time to client machine so my client can view...
1
by: Mike McCann | last post by:
I have a strong named assembly (.dll) and I need it for com interop. Works on the local machine fine XPSP2. Want to build an install. Put the dll in the GAC and a target local folder, then took...
7
by: Gui | last post by:
Hi folks, I have unpacked an all-in-one exe produced by InstallShield. I've made the necessary changes and now I'm ready to repack the files. How can I do that? Which program should I use? ...
4
by: Raoul Watson | last post by:
This has happened numerous times in the past and I never can pinpoint what caused it. It has to do with Installshield (either a failed software removal or installation). When a source code is...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.