Jun 19, 2013
03:37 AM
Could someone comment on my question above? Thanks, Kiran Hegde
... View more
Jun 16, 2013
02:08 PM
Hello, I am facing a strange issue where the files are not copied after a patch installation. Up until now, we were delivering updated versions of our product using .msi(major upgrades). However, now we want to ship our updates using .msp files. There are around 5 files in 5 different components. Each of these files are unversioned and are the key files for the respective components. Somewhere during the product lifecycle, someone introduced entries for these files in the RemoveFile table, so that the latest version of the files is always copied during the upgrade process. I am not sure as to why this was requiered, as the File hashing for unversioned files should have allowed upgrading of these files, without requiring an explicit removal(using RemoveFile table) and installation using the InstallFiles . This was done when the upgrades were delivered using msi files. All was working. Now , we have decided to release updates to our product using a msp(patch ) file. However, it's surprising that the files are not re-installed during apatch. i.e the remove file table deletes these files and the InstallFiles standard action does not restore them. I would have expected these to be restored as they are they key files for the respective components and missing key files to be restored. The windows installer log files indicates that the corresponding components are marked for installation. I also see the following snipped in the log file: Allowing installation of component: {199327E3-7FBE-4D9F-8DED-38DBDEDEEC03} even though a modified unversioned keyfile exists and file versioning rules would disable the component Is it because windows installer detected that the existing file on the disk was modified and decided not to replace it-atleast thats what the log message indicates.However, the Removefiles action goes ahead and cleans it whereas the InstallFiles does not do anything as the decision not to install the file was already taken earlier on in the Execute sequence. Could someone explain to me as to why this behavior? Regards, Kiran Hegde
... View more
Labels
- Labels:
-
InstallShield 2013
Jun 15, 2012
04:36 AM
Hello, The windows installer states that using x in the logging mode for generation of windows installer log files outputs extra debugging information. x- output extra debugging information. What do they mean by stating "extra debugging information"? What exactly is logged which is not captured by just specifying v? Thanks, Kiran Hegde
... View more
Labels
- Labels:
-
InstallShield 2012 Spring
Jun 13, 2012
12:23 AM
Folks, Any help? Thanks, Kiran Hegde
... View more
Jun 11, 2012
08:40 AM
Hello, I have been trying to figure this out. So thought of reaching out to a wider audience. When a msi file creates registry entries using the WriteRegistryValues standard action, i do not find any references in the log file which states that the registry entry is being created under a particular hive. is it possible to figure out the registry hive under which the registry entry is created just by looking at the log file? I am aware that opening the registry table using Orca would let me know this information. However , i am keen on figuring out this information from the log file. Thanks, Kiran Hegde
... View more
Labels
- Labels:
-
InstallShield 2012
Jun 10, 2011
04:14 AM
Hello, Did you ever get a resolution to this issue? If yes, kindly let me know. Regards
... View more
Nov 22, 2010
11:44 PM
I am using InstallShield 2008 Premier edition for my installer development activities. My project is basic msi with setup.exe being generated. A previous version of the product (version 1)was built using this version of InstallShield. This product targetted the 64 bit Itanium windows servers(IA 64). In version1 , i had added a component with its target directory being set to SYSTEM64 folder( \system32). I had marked the file within the component as a key file. Now for the next version of the prodcut we plan to do a minor upgrade. Hence the version was upgraded(version 2). However when i attemp to upgrade to the latest version, i get the following error: Error 2324: Could not open file C:\windows\system32\ GetLastError :2 A error code of 2 indicates that the file could not be found. However the file does exist in the system32 directory. If i were to copy the file to C:\Windows\SysWow64 directory, the install goes through. I did some research on the web and came across the following links: http://community.flexerasoftware.com...d.php?t=193508 In the above link, one of InstallShield engineers states that this problem occurs if if the 32-bit version of msiexec.exe is used to launch the MSI package, and the package had installed files to the 64-bit System32 folder.In InstallShield 2008, it seems that setup.exe launches a 32 bit msiexec process to run the installation. This seems to have been fixed in IS 2010. Questions: 1)As per Flexera software, setup.exe built using InstallShield 2008 launches a 32 bit msiexec process even on a 64 bit server. When the observe the same in task manager on an Itanium server, i see two new instances of 32 bit msiexec launched. They appear as msiexec*32. However if the same process Id as got from task manager is observed in Process explorer(Sysinternals), it is pointing to the 64 bit msiexec under C:\windows\system32. How can this be? Please explain. 2)What is the best way to get around this issue? I dont want to build my own custom wrapper. This is ruled out. Kindly help as i am running against time to fix this
... View more
Sep 03, 2010
11:43 PM
Hello Johan, Firstly, thanks for responding back. I apologize for the delayed response. I thought i would also get in touch with InstallShield. I am posting below my questions and the response i got from InstallShield. Hopefully people should benefit from this. Question Hello, We are using: Install Shield Premier Edition 2008 Basic msi project All flavors of windows targeted. We use a single setup.exe for both fresh install and minor upgrades (service packs) Our project uses a large number of files. As part of our project, we use multiple components with dynamic file linking setup. These components even have subfolders linked dynamically. I have done my fair amount of research on the web and each and every single post I have read states that the Component GUIDs change between every build of your product, if you do **not** point to your previous msi package(Releases view) when the installer built. However we have released several versions of our product without referencing our previous msi package. If all these posts were true, then the component GUIDs should have changed across releases and all our upgrades should have failed. Upon doing a MSI package diff of the msi's released across several versions, I observe the following: i) None of the component GUIDs has changed. ii) What has consistently changed is the Directory_ and Keypath column. So here are my questions: 1) For dynamic file linking, under what circumstances does the Component GUID change between installer builds? 2) What is the algorithm used by Install Shield to generate component GUIDs for dynamic file links? 3) What is the effect of Directory_ and Keypath column values changing across releases on upgrades? Remember we have **never** pointed our package to the previous msi package in any of our release and still the upgrades continue to work. How is this possible as the keypaths have changed? 4) This is the most important question of all We support upgrades from the last two versions: 4.5 and 4.6. We are currently at 5.0 Should i now start pointing my current version of my package to the last released msi, which is 4.6? What is the recommended approach here? Remember, i have not pointed either of 4.5 or 4.6 to their respective previous packages when they were built. I have just 3 more days to get answers to all of this. Any help would be very much appreciated. Response from InstallShield Thank You for contacting Flexera Software Technical Support. My name is Alpesh and I will be assisting you with this support incident. I understand that you have some questions about the Dynamic File Links. Please find answers to your questions here -- 1.) The Component GUID changes when you change the dynamic file link to point to a different folder. Ideally, during subsequent builds, the file keys for the files changes. But if you use the Previous Package field, then it will keep the file keys also in sync with the previous release. 2.) This would be Intellectual Property, but IS generates a different component for every PE file and subfolders. 3.) The Directory identifiers and File Keys are changing, but they are pointing to the same directory and same file. Hence, it is not causing the upgrade to fail. 4.) Ideally each package should point to a previous package. But if you are starting now, point to the latest package that is out right now. Also the Dynamic File link functionality has been improved upon with every IS release. I hope the information helps you. This is inline with what your observations have been. Thanks, Kiran Hegde
... View more
Aug 29, 2010
01:59 AM
Hello Johan, You mentioned that you could get new component GUIDs generated by renaming of the path variables. Test 1 1)Pointed my dynamic component to a particular folder. 2)Built the msi 3)Modified the msi to point to the same directory structure in an entirely **different** path. 4)Built the msi Results: 1)Compared the msi's and found out that the old component in msi 1 was deleted and a new component was created with a different GUID Test2: 1)Pointed my dynamic component to a particular folder. 2)Built the msi 3)Modified the msi to point to the same directory structure in the same path. However this time i ensured that the path variable used for the dynamic link was different than what was used in test 1, eventhough the source files were in the same location as used in step 1 4)Built the msi Results: 1)Compared the msi's and found out that the only thing which changed was the Directory_ and Keypath columns. Question: How did you manage to get the component GUID's changed by just changing the path variable? I am pretty stuck on this. Any help would be very much appreciated. Thanks, Kiran Hegde
... View more
Aug 11, 2010
10:37 PM
Thanks for sharing this piece of information. Let me search for compressed GUID and see where it leads to. Regards, Kiran Hegde
... View more
Aug 10, 2010
12:11 AM
Hello, I am faced with a strange issue. One of our customers tried uninstalling our product and the uninstallation was always rolling back. So he went ahead and ran a couple of cleanup steps ,which otherwise the installer would have taken care of during uninstallation.However now the product registration is not cleaned from the windows installer database. So the customer continues to see the entries for our product in the Add/Remove programs applet. The customer now wants to reinstall our product and the installer detects that the product is installed and goes into maintenance mode. He also wants the add/remove entries to be cleaned up. Here were my suggestions: 1)Use the windows installer cleanup tool - The customer is not ready to use this. 2)Use msizap - Not yet conveyed to the customer. However i am not sure if the customer would agree to this. 3)Provide the customer with a utility which would cleanup the windows installer registration entries. I am now pursuing the third option. Here are the steps i am performing in the cleanup utility: 1)Cleanup the registration entries under HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ 2) Cleanup the registration entries under HKEY_CLASSES_ROOT\Installer\Products\ I observed that cleaning up the registry key as described in step 2 removed the entries in the Add/Remove programs. Questions: 1)Is there an API/set of API's which i could use to cleanup the windows installer registration? 2)HKEY_CLASSES_ROOT\Installer\Products\ How do i locate this registry key? What is this registry key? How is this generated? Obviously, the Microsoft provided cleanup tools have some mechanism by which they locate this registry key.Does anyone know of the same. I am dead stuck here. Any help would be very much appreciated. Regards, Kiran Hegde
... View more
Labels
- Labels:
-
InstallShield 2008
Jul 29, 2010
11:47 PM
Thanks for the response. However this is happening on only 2 Japanese OS, not everywhere. What could be wrong? How do i generate a verbose log? How do i debug problems with InstallAnywhere? What are the next debugging steps i could use? Any help would be very much appreciated. Also if someone is aware as to what windows API is called during launching an executable operation, could you please let me know? I want to use the same API using a test program and see if it is working. Regards, Kiran Hegde
... View more
Jul 28, 2010
11:18 AM
Hello, I am using InstallAnywhere 8 enterprise edition to install one of our products on a windows server 2003 Japanese OS. There is a utilit which is packaged in one of the merge modules and is included in our installer. The utility is extracted during the install time and copied to Program Files directory. Upon copying, it is executed from Program Files directory. However what is strange is that the utility execution operation from InstallAnywhere is failing. The logs suggest that Program is not recognized, which indicates that the execution is failing as a result of spaces with the path(Program Files). However if i execute the same manualy from the command line without enclosing the path in double quotes, the utility executes sucessfully. What could be wrong here? I am stuck. Please help. I have inspected teh server and the server is configured to use short path names(8.3 registry setting). What are the next steps i could try? Any help would be very much appreciated. Regards, Kiran Hegde
... View more
Labels
- Labels:
-
InstallAnywhere 2008
Jul 11, 2010
11:08 AM
Hello, Is there a reason why you are using REINSTALLMODE="va" for your upgrade? To recache the new msi you need to use REINSTALLMODE="vomus". Regards, Kiran Hegde
... View more
Jul 11, 2010
08:08 AM
Hello, I have a pure Installscript project. I would like to know if there is any automated/easy way to convert this Installscript project into InstallAnywhere 2008. Is this possible? Any help would be very much appreciated. Regards, Kiran Hegde
... View more
Labels
- Labels:
-
InstallAnywhere 2008
Latest posts by kirann_hegde
Subject | Views | Posted |
---|---|---|
807 | Jun 19, 2013 03:37 AM | |
2514 | Jun 16, 2013 02:08 PM | |
2193 | Jun 15, 2012 04:36 AM | |
483 | Jun 13, 2012 12:23 AM | |
1320 | Jun 11, 2012 08:40 AM | |
608 | Jun 10, 2011 04:14 AM | |
1884 | Nov 22, 2010 11:44 PM | |
1356 | Sep 03, 2010 11:43 PM | |
1356 | Aug 29, 2010 01:59 AM | |
593 | Aug 11, 2010 10:37 PM |
Activity Feed
- Posted Re: Files not copied after a patch installation on InstallShield Forum. Jun 19, 2013 03:37 AM
- Posted Files not copied after a patch installation on InstallShield Forum. Jun 16, 2013 02:08 PM
- Posted windows installer logging -x - extra debugging information. on InstallShield Forum. Jun 15, 2012 04:36 AM
- Posted Re: Registry entry creation in windows installer log files on InstallShield Forum. Jun 13, 2012 12:23 AM
- Posted Registry entry creation in windows installer log files on InstallShield Forum. Jun 11, 2012 08:40 AM
- Posted Re: Merge Module Validation Errors on InstallShield Forum. Jun 10, 2011 04:14 AM
- Posted Need inputs on InstallShield Forum. Nov 22, 2010 11:44 PM
- Posted Re: Dynamic File Linking and (non)random Component GUIDs on InstallShield Forum. Sep 03, 2010 11:43 PM
- Posted Re: Dynamic File Linking and (non)random Component GUIDs on InstallShield Forum. Aug 29, 2010 01:59 AM
- Posted Re: Removing add/remove programs entries on InstallShield Forum. Aug 11, 2010 10:37 PM
- Posted Removing add/remove programs entries on InstallShield Forum. Aug 10, 2010 12:11 AM
- Posted Re: Strange issue on Japanese OS on InstallAnywhere Forum. Jul 29, 2010 11:47 PM
- Posted Strange issue on Japanese OS on InstallAnywhere Forum. Jul 28, 2010 11:18 AM
- Posted Re: Problem After upgrade on InstallShield Forum. Jul 11, 2010 11:08 AM
- Posted Converting an installscript project to InstallAnywhere 2008 on InstallAnywhere Forum. Jul 11, 2010 08:08 AM
- Posted Display a message box on dialog initialization on InstallShield Forum. Jul 11, 2010 07:39 AM
- Posted Re: Verify windows authentication credentials before installing? on InstallShield Forum. Jun 06, 2010 02:06 AM
- Posted Re: Prevent old version removal on major upgrade failure? on InstallShield Forum. Jun 06, 2010 02:02 AM
- Posted Re: Files are not being upgraded on InstallShield Forum. Jun 02, 2010 12:37 PM
- Posted Re: msiexec /uninstall does not remove installed folder/files on InstallShield Forum. Jun 01, 2010 02:13 AM