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.
coJeff
Level 6
- Revenera Community
- :
- About coJeff
Oct 23, 2015
02:46 PM
My other idea is to automate the generation of the product code and then pass that into the installer. Have the installer put the product code it was built with to a specific registry entry and if the currently running installer sees it then uninstall that particular version.
... View more
Oct 23, 2015
02:14 PM
I've been looking into this but so far I haven't been successful. Without getting into specifics too much I need to allow a downgrade. I've read one solution to run a VBscript first then the installer. This option is not possible. I wrote a Installscript custom action that should execute before anything else and if it finds any version of the product it will uninstall it. Then it should proceed as a first time install. However the installer is still being prevented from downgrading. The Custom action is sitting in the Install UI Sequence "After ISVerifySCripting Runtime" and in the Exec Sequence "First action". I even changed the ISPreventDowngrade action to hopefully stop it from preventing the install but with no luck. This is getting installed on a tablet and the user won't have access to the traditional desktop or "Program & Features" so they won't be able to do much. I want my installer to detect any version of the product and if found uninstall it.
... View more
Labels
- Labels:
-
InstallShield 2015
Aug 27, 2015
01:44 PM
I removed the SP1 to see if that fixes anything but unfortunately I get the same error. I created a test InstallscriptMSI project with 1 feature, 1 component and 1 file and that installed successfully. So something happens during the upgrade of an old project to the new one. I will try creating a new project and slowly add the configuration to the new one instead of upgrading. This won't be desirable to do for all my projects, if it works of course.
... View more
Aug 27, 2015
12:45 PM
Has anyone figure out a resolution? I have tried some of the missing folder suggestions but nothing seems to work. We upgraded from 2012 Spring to 2014 and get this error. It appears like from the other threads this has been around for a long while and yet no resolution. Grrrrr
... View more
Aug 27, 2015
10:58 AM
Well it looks like I'm now involved in this bug. We just upgraded to Installshield 2014 from 2012 Spring. It happens all the time even if you "Run as Administrator". I double checked that those folders were there as suggested in the earlier posts. Is there any resolution on this?
... View more
Oct 17, 2014
04:36 PM
Thanks Michael! I ran process monitor on it but it didn't really tell me much. I see a bunch of Reg executions from the printer driver installer. Then once I close that I can my installer.exe try to read the particular registry key that goes missing. Is my main installer some how keeping track of the printer driver installer? The printer driver is "Seiko Smart Label Printer 7.1.1 R2". The registry key I know of that goes missing is: [HKEY_CLASSES_ROOT\TypeLib\{521782C8-2A7C-4F4E-ACF9-F054DE73B10E} I can manually install the printer driver then my installer with no trouble. This is undesirable. I can export all the registry entries then maybe using a custom action to let me know if the printer driver gets installed and then push those registry entries back in.
... View more
Oct 06, 2014
06:45 PM
It appears to have something to do with the properties that I'm passing into the MM. I use the very same properties for the main installer. I verified the properties exist in the MM. If I pass the following the line below: -z ProductVersion=2.6.0.109 -z BldLabel=2014-10-06_16-04-49_109 -z buildnum=109 -a Standard -c Release The result: ISDEV : fatal error 0: Standard\Release - 1 error(s), 0 warning(s) If I pass: -a Standard -c Release The result: Standard\Release - 0 error(s), 0 warning(s) There is a log file called errors in the build location but the file has no contents.
... View more
Oct 06, 2014
06:26 PM
I just created a merge module to handle some development changes. It builds perfectly fine in the IDE. However when I build it using IsCmdBld.exe it kind of reports an error. As far as I can tell the merge module is behaving just fine. ISDEV : fatal error 0: Standard\Release - 1 error(s), 0 warning(s) Why would it say 0 fatal errors but report one error that doesn't appear in the log. I've attached the log below: ================= Logging started at 10/6/2014 04:37:23 PM ================== Created release folders Directory table successfully built Component table successfully built Loading File table Building File table File table successfully built Building MsiFileHash table MsiFileHash table successfully built Class table successfully built Extension table successfully built ODBCDataSource table successfully built ODBCDriver table successfully built ISSQLScriptFile table successfully built ISSQLScriptReplace table successfully built ISSQLConnectionScript table successfully built ISSQLConnection table successfully built ISSQLConnectionDBServer table successfully built ISSQLRequirement table successfully built ISComPlusProxy table successfully built ISComPlusApplication table successfully built ISComCatalogCollection table successfully built ISComCatalogCollectionObjects table successfully built ISComCatalogObject table successfully built ISComCatalogAttribute table successfully built ISComPlusApplicationDLL table successfully built ISComPlusServerFile table successfully built ISComPlusProxyFile table successfully built ISComPlusServerDepFile table successfully built ISComPlusProxyDepFile table successfully built ISXmlFile table successfully built ISXmlElement table successfully built ISXmlElementAttrib table successfully built ISSearchReplaceSet table successfully built ISSearchReplace table successfully built AdminExecuteSequence table successfully built Condition table successfully built AdminUISequence table successfully built AdvtExecuteSequence table successfully built AdvtUISequence table successfully built AppId table successfully built AppSearch table successfully built Property table successfully built Binary table successfully built BindImage table successfully built CompLocator table successfully built Complus table successfully built ControlCondition table successfully built ControlEvent table successfully built CreateFolder table successfully built CustomAction table successfully built DrLocator table successfully built DuplicateFile table successfully built Environment table successfully built EventMapping table successfully built Font table successfully built IniFile table successfully built IniLocator table successfully built InstallExecuteSequence table successfully built InstallUISequence table successfully built ISChainPackage table successfully built ISChainPackageData table successfully built ProgId table successfully built ISComponentExtended table successfully built ISCustomActionReference table successfully built ISDRMFile table successfully built ISFileManifests table successfully built ISIISItem table successfully built ISIISProperty table successfully built ISLockPermissions table successfully built ISObjectProperty table successfully built IsolatedComponent table successfully built ISSelfReg table successfully built ISSQLDBMetaData table successfully built ISSQLScriptError table successfully built ISVirtualDirectory table successfully built ISVirtualFile table successfully built ISVirtualPackage table successfully built ISVirtualRegistry table successfully built ISVirtualRelease table successfully built ISVirtualShortcut table successfully built ISXmlLocator table successfully built LockPermissions table successfully built MIME table successfully built ModuleAdminExecuteSequence table successfully built ModuleAdminUISequence table successfully built ModuleAdvtExecuteSequence table successfully built ModuleAdvtUISequence table successfully built ModuleComponents table successfully built ModuleConfiguration table successfully built ModuleDependency table successfully built ModuleExclusion table successfully built ModuleIgnoreTable table successfully built ModuleSubstitution table successfully built ModuleInstallExecuteSequence table successfully built ModuleInstallUISequence table successfully built ModuleSignature table successfully built MoveFile table successfully built MsiAssembly table successfully built MsiAssemblyName table successfully built MsiDriverPackages table successfully built MsiLockPermissionsEx table successfully built MsiPatchCertificate table successfully built MsiServiceConfig table successfully built MsiServiceConfigFailureActions table successfully built MsiShortcutProperty table successfully built ODBCAttribute table successfully built ODBCSourceAttribute table successfully built ODBCTranslator table successfully built PublishComponent table successfully built Registry table successfully built RegLocator table successfully built RemoveFile table successfully built RemoveIniFile table successfully built RemoveRegistry table successfully built ReserveCost table successfully built SelfReg table successfully built ServiceControl table successfully built ServiceInstall table successfully built Shortcut table successfully built Signature table successfully built TextStyle table successfully built TypeLib table successfully built UIText table successfully built Verb table successfully built _Validation table successfully built Searching project for extract-at-build components... Building scanned MsiAssembly records Building scanned MsiAssemblyName records Resolving strings... Language English (United States) built Building .cab files... MergeModule.CABinet built Files built ISDEV : fatal error 0: Standard\Release - 1 error(s), 0 warning(s) ================= Logging stopped at 10/6/2014 04:37:25 PM ==================
... View more
Labels
- Labels:
-
InstallShield 2012
Sep 16, 2014
06:52 PM
Another strange thing..... The installer that I packaged up as a prerequisite and then wrote a batch file to recreate the folder structure it expects works fine. Except when the main installer quits or completes a registry key for the prerequisite gets deleted. I put a pause in the batch file so it would recreate the folder structure and then stop. I tested the installer from this location both manually/interacting or using the /S /v/qn command line options. I confirmed the registry key is there for both manual and silent. However when I quit or complete my main installer the key gets deleted. This causes the prerequisite installer to fail when being uninstalled cause its trying to unregister the dll. I get this error: Error 1905. Module {path to the file} failed to unregister. HRESULT -2147220472. Contact your support personnel. The prerequisite installer will uninstall correctly if I don't quit or complete the main installer. Why would my main installer delete a registry key to the prerequisite installer? I haven't tried to register the DLL myself in the main installer yet. I thought it was because I was doing it silently but it appears to be not the case. I wonder if there are other registry keys that get removed??
... View more
Sep 15, 2014
06:42 PM
I have a batch file that recreates the folder structure. However I have one other issue. I'm trying to add a shortcut but the prerequisite editor only adds what the shortcut's target is. For example, the shortcut is named "Shortcut to User Data Properties" with a target of "C:\WINDOWS\explorer.exe "shell:AppData\Label Printer" The editor wants to add explorer.exe from the windows folder. WHY? It should just add the .lnk file and not look at its target. :confused: I had to hand edit the prq and take away the windows explorer link and have it add the actual file. I opened the prq again in the editor and its listing the correct file.
... View more
Sep 12, 2014
04:58 PM
Is setup prerequisites still not able to have a folder structure? I have an install I need to add to my project and of course they have it uncompressed with a bunch of files and folders. I tried to include in Disk 1 but I really wanted the prerequisite to be contained from the setup.exe. I'm currently writing a batch file to recreate the folder structure so I can run the installer. Cheers!
... View more
Labels
- Labels:
-
InstallShield 2012 Spring
Mar 07, 2014
05:27 PM
I thought I would follow up with this thread. I've been able to work through this so this isn't an issue anymore.
... View more
Mar 03, 2014
03:08 PM
Lucky me I inherited an Installshield 2010 project that people have worked on for 10 years. I was attempting to get a DisplayName for the SQL server that was installed. This code works fine on Win7 32bit but fails on Win7 64bit. if (RegDBGetKeyValueEx ("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Microsoft SQL Server 10", "DisplayName", nvType, g_SQLDisplayVer, nvSize) < 0) then MessageBox ("RegDBGetKeyValueEx failed.", SEVERE); endif; I have a IS 2012 license as well and the above code works just fine but unfortunately it doesn't work with IS 2010. Any suggestions on how I might be able to get the DisplayName on 64bit without upgrading Installshield? Also this command if (RegDBKeyExist("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Microsoft SQL Server 10") = 1 ) then wouldn't find the key even if it exists but if (RegDBKeyExist("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Uninstall\\Microsoft SQL Server 10") ) then would work. I realize this is a very old version of Installshield but I don't know if upgrading Installshield will be possible. Thanks for any assistance! jeff
... View more
Labels
- Labels:
-
InstallShield 2010
Feb 03, 2014
06:20 PM
I thought that once you set the Template Summary to either Intel64 or x64 that the installer would display an error message if attempting to install on a 32bit machine.
... View more
Feb 03, 2014
06:03 PM
The installer I created was initially for 32bit but the requirement has now changed. I updated the 'template summary' on both the General Info page and on the release config. When I run the installation on a 32bit the installer doesn't display a 64bit error message, saying can only be on 64bit. If I run the installation on a 64bit machine I noticed that the installer still tries to install to Program Files (x86). I check in On Begin using SYSINFO.bIsWow64. I marked one component to be 64bit in case that was causing the install to still work on 32bit machines. How come its still being allowed to install on 32bit machines? Or if SYSINFO.bIsWow64 says its a 64bit machine then how come it wants to be installed to PF (x86)? My Installdir is set to [ProgramFilesFolder] property. Thanks for any suggestions.
... View more
Labels
- Labels:
-
InstallShield 2012
Latest posts by coJeff
Subject | Views | Posted |
---|---|---|
1090 | Oct 23, 2015 02:46 PM | |
1877 | Oct 23, 2015 02:14 PM | |
2542 | Aug 27, 2015 01:44 PM | |
2542 | Aug 27, 2015 12:45 PM | |
7378 | Aug 27, 2015 10:58 AM | |
2194 | Oct 17, 2014 04:36 PM | |
878 | Oct 06, 2014 06:45 PM | |
1299 | Oct 06, 2014 06:26 PM | |
2194 | Sep 16, 2014 06:52 PM | |
2194 | Sep 15, 2014 06:42 PM |
Activity Feed
- Posted Re: Allow downgrade on InstallShield Forum. Oct 23, 2015 02:46 PM
- Posted Allow downgrade on InstallShield Forum. Oct 23, 2015 02:14 PM
- Posted Re: InstallScript MSI -- Setup Launcher Unicode has stopped working -- IS 2014 on InstallShield Forum. Aug 27, 2015 01:44 PM
- Posted Re: InstallScript MSI -- Setup Launcher Unicode has stopped working -- IS 2014 on InstallShield Forum. Aug 27, 2015 12:45 PM
- Posted Re: InstallScript Setup Launcher Unicode Has Stopped Working (Windows message) on InstallShield Forum. Aug 27, 2015 10:58 AM
- Posted Re: Setup Prerequisite folder structures on InstallShield Forum. Oct 17, 2014 04:36 PM
- Posted Re: Merge Module no fatal error but reports an error. on InstallShield Forum. Oct 06, 2014 06:45 PM
- Posted Merge Module no fatal error but reports an error. on InstallShield Forum. Oct 06, 2014 06:26 PM
- Posted Re: Setup Prerequisite folder structures on InstallShield Forum. Sep 16, 2014 06:52 PM
- Posted Re: Setup Prerequisite folder structures on InstallShield Forum. Sep 15, 2014 06:42 PM
- Posted Setup Prerequisite folder structures on InstallShield Forum. Sep 12, 2014 04:58 PM
- Posted Re: RegDBGetKeyValueEx fails on 64bit looking for SQL on InstallShield Forum. Mar 07, 2014 05:27 PM
- Posted RegDBGetKeyValueEx fails on 64bit looking for SQL on InstallShield Forum. Mar 03, 2014 03:08 PM
- Posted Re: Template Summary / 64bit on InstallShield Forum. Feb 03, 2014 06:20 PM
- Posted Template Summary / 64bit on InstallShield Forum. Feb 03, 2014 06:03 PM
- Posted Set ProductVersion through isCmdBld.exe on InstallShield Forum. Sep 19, 2013 03:47 PM
- Posted Re: XML File Changes on InstallShield Forum. Jan 12, 2012 02:29 PM
- Posted XML File Changes on InstallShield Forum. Jan 11, 2012 05:38 PM
- Posted Re: Chart controls on InstallShield Forum. Apr 13, 2011 04:48 PM
- Posted Chart controls on InstallShield Forum. Apr 12, 2011 11:44 AM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Mar 18, 2019
12:10 PM
|