Oct 18, 2010
09:41 AM
Not sure if this will help or not. This is what I use to call a batch file: Source Location: File Exists on target Computer File Location: [SystemFolder] File Name and Command Line: cmd.exe /c "[folderName]Databases\filename.bat" In-Script Execution: Deferred Execution in System Context Wait for action: Yes Ignore Exit code: Yes This is what I use to call an exe file to uninstall my service: Source Location: File Exists on target Computer File Location: [WindowsFolder]Microsoft.NET\Framework\v2.0.50727 File Name and Command Line: InstallUtil.exe /u "[INSTALLDIR]ServiceFileName.exe" In-Script Execution: Deferred Execution in System Context Wait for action: Yes Ignore Exit code: Yes Your File Location will just be the folder directory where your exe exists. The file name and command line will just be whatever the app is that you are calling.
... View more
Sep 21, 2010
11:39 AM
In the redistributable list, when you right click on the Microsoft C runtime library 7.0 (select properties), what is your destination set to ? I had to change mine to [SYSTEMFOLDER] in order for my application to recognize it was installed.
... View more
Aug 30, 2010
10:42 AM
Would anyone be able to post a notepad copy of their .prq file for Microsoft SQL Server 2005 Express if they've changed their instance name from the default name ? I would like to see what adjustments there are in it.
... View more
Labels
- Labels:
-
InstallShield 2010
Aug 20, 2010
02:26 PM
Not sure if this is what you mean, but this is what I do. I've added the following script in the Custom Actions settings-> After Setup Complete Success dialog. Change where you see SERVICENAME (2 instances) to whatever your service is called. The first part sets the retry on failure options. Filename: startup.vbs VB Script: Set wsShellObj = CreateObject("WScript.Shell") wsShellObj.Run "SC failure SERVICENAME reset= 0 actions= restart/1800000" , 1, false strComputer = "." Set objWMIService = GetObject("winmgmts:" _ & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2") Set colServiceList = objWMIService.ExecQuery _ ("Select * from Win32_Service where Name='SERVICENAME'") For Each objService in colServiceList objService.StartService() Next
... View more
Aug 18, 2010
03:44 PM
hmm...think i just figured it out. After looking at some other posts, I found I needed to leave the SQLEXPR32.exe in it's own quotes, then put cmdline= before the arguments. For example: Hope this helps someone else out.
... View more
Aug 18, 2010
02:47 PM
Is it possible to make adjustments to the "Microsoft SQL Server 2005 Express SP2.prq" file in the C:\Program Files\InstallShield\2010\SetupPrerequisites folder. I can get the following to work if I run via a batch file with the exact same switches. When I adjust the .prq file, I don't receive any compile errors, but it just bombs out during the sql install when the setup runs. I tried using the same switches to call SQLEXPR32.exe under the custom section after file downloads, but that doesn't compile correctly. Am I missing something, or is this not possible. I'm just trying to rename the sql instance and run silent ( doesn't matter if I see it on screen or not). This is what I've done in the prq.
... View more
Labels
- Labels:
-
InstallShield 2010 Express
Aug 10, 2010
08:33 AM
anyone, any ideas ?
... View more
Jun 23, 2010
04:55 PM
What's the better way to go.... I've created a full Project package for installation that contains a sql server setup. To update my software, I only need to overwrite some of the application files, I don't need the sql server setup. I noticed if I go the route of Update Patch and import my original installation package, I get a whole bunch of custom actions which in the detail view, I can't tell what is what and some I can't even select. If I create a new Project with just the stuff I need, what do I need to know as far as selecting or using as the project code or upgrade code ? Do I use the same project code and upgrade code as set in the original installation package ? or do I create a new set ? My goal is to create a smaller update package that just updates my application files.
... View more
Labels
- Labels:
-
InstallShield 2010 Express
Latest posts by fpci9590
Subject | Views | Posted |
---|---|---|
613 | Oct 18, 2010 09:41 AM | |
597 | Sep 21, 2010 11:39 AM | |
479 | Sep 02, 2010 03:07 PM | |
1465 | Aug 30, 2010 10:42 AM | |
830 | Aug 20, 2010 02:26 PM | |
624 | Aug 18, 2010 03:44 PM | |
4121 | Aug 18, 2010 02:47 PM | |
762 | Aug 10, 2010 08:33 AM | |
4552 | Jun 23, 2010 04:55 PM |
Activity Feed
- Posted Re: how install device driver after software install completes on InstallShield Forum. Oct 18, 2010 09:41 AM
- Posted Re: Redistributables not being included on InstallShield Forum. Sep 21, 2010 11:39 AM
- Posted Re: Pre-Requisite file on InstallShield Forum. Sep 02, 2010 03:07 PM
- Posted Pre-Requisite file on InstallShield Forum. Aug 30, 2010 10:42 AM
- Posted Re: how to set service to start? on InstallShield Forum. Aug 20, 2010 02:26 PM
- Posted Re: Sqlexpress 2005 .prq question on InstallShield Forum. Aug 18, 2010 03:44 PM
- Posted Sqlexpress 2005 .prq question on InstallShield Forum. Aug 18, 2010 02:47 PM
- Posted Re: Update patch or create a Project as an update ? on InstallShield Forum. Aug 10, 2010 08:33 AM
- Posted Update patch or create a Project as an update ? on InstallShield Forum. Jun 23, 2010 04:55 PM