This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: New to InstallShield - How to do a simple file install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 11, 2008
02:02 PM
New to InstallShield - How to do a simple file install
I am trying to learn my way around installshield. What I am attempting to do first is do a simple installation.
1. shutdown a service
2. install a file into a custom path i.e. C:\test
3. start service
I can't seem to find an easy way to do this. Can someone help get me started?
-Seed
1. shutdown a service
2. install a file into a custom path i.e. C:\test
3. start service
I can't seem to find an easy way to do this. Can someone help get me started?
-Seed
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 11, 2008
03:57 PM
First, tell us which project type you are using. InstallScript, Basic MSI, InstallScript MSI?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 11, 2008
04:24 PM
BasicMSI.
So I found out how to manage the files using components. Now I am working on managing a service I have to stop and start during the installation. I added a component for the service I need to manage and then added a StopServices and StartServices action in the Custom Actions and Sequences/Installation/User Interface but I get an error when I add it:
More log output:
=== Logging started: 12/11/2008 14:50:43 ===
Action start 14:50:43: INSTALL.
Action start 14:50:43: StopServices.
Info 2898.For Tahoma8 textstyle, the system created a 'Tahoma' font, in 0 character set.
Error 2235.Database: . Column 'Action' not present or ambiguous in SQL query: SELECT `Name`,`Wait`,`Arguments`,`Event`, `Action` FROM `ServiceControl`, `Component` WHERE `Component_` = `Component` AND (`Action` = 0 OR `Action` = 1 OR `Action` = 2).
MSI (c) (70:D0) [14:50:46:320]: Product: SP1 Update -- Error 2235.Database: . Column 'Action' not present or ambiguous in SQL query: SELECT `Name`,`Wait`,`Arguments`,`Event`, `Action` FROM `ServiceControl`, `Component` WHERE `Component_` = `Component` AND (`Action` = 0 OR `Action` = 1 OR `Action` = 2).
Action ended 14:50:46: StopServices. Return value 3.
Action start 14:50:46: SetupCompleteError.
So I found out how to manage the files using components. Now I am working on managing a service I have to stop and start during the installation. I added a component for the service I need to manage and then added a StopServices and StartServices action in the Custom Actions and Sequences/Installation/User Interface but I get an error when I add it:
More log output:
=== Logging started: 12/11/2008 14:50:43 ===
Action start 14:50:43: INSTALL.
Action start 14:50:43: StopServices.
Info 2898.For Tahoma8 textstyle, the system created a 'Tahoma' font, in 0 character set.
Error 2235.Database: . Column 'Action' not present or ambiguous in SQL query: SELECT `Name`,`Wait`,`Arguments`,`Event`, `Action` FROM `ServiceControl`, `Component` WHERE `Component_` = `Component` AND (`Action` = 0 OR `Action` = 1 OR `Action` = 2).
MSI (c) (70:D0) [14:50:46:320]: Product: SP1 Update -- Error 2235.Database: . Column 'Action' not present or ambiguous in SQL query: SELECT `Name`,`Wait`,`Arguments`,`Event`, `Action` FROM `ServiceControl`, `Component` WHERE `Component_` = `Component` AND (`Action` = 0 OR `Action` = 1 OR `Action` = 2).
Action ended 14:50:46: StopServices. Return value 3.
Action start 14:50:46: SetupCompleteError.
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)