473,326 Members | 2,113 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,326 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 4420
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
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
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...

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.