Jul 30, 2009
06:55 AM
Hi, I have a Basic MSI package and I ran a small\minor upgrade with it. Most files have no version, and they were not replaced even though the upgrade package contains a different instances of these files. So, can I order the upgrade process to replace all the files or at least all the files that are different? Thanks
... View more
Labels
- Labels:
-
InstallShield 2009
May 10, 2009
08:50 AM
Hello, To the best of my understanding, files should be associated with components that has a path to the file system, because on install they can be put there and not in the Registry. But the product "InstallSheild 2009" has a component {9B2CAF3C-B0AB-11EC-B01F-C8B3B9A1E18E} that has a path of 02:\SOFTWARE\Microsoft\Windows\CurrentVersion\SideBySide\Installations\x86_Microsoft.VC80.ATL_1fc8b3b9a1e18e3b_8.0.50727.762_x-ww_cbb27474\downlevel_payload.8.0.50727.762\ and files are associated with it. What does Windows Installer do when it wishes to installed this component? Thanks
... View more
Labels
- Labels:
-
InstallShield 2009
Mar 08, 2009
08:39 AM
Hi, I want to delete INSTALLDIR on uninstall. It is not deleted automatically, since the product writes log files in that directory, so the directory is not empty after the uninstallation had deleted all the product's files. I believe that the way to do this is with Custom Actions. If I'm wrong, I'd be happy if someone explains to me how to do this. If I'm right then I cannot use VBScript because I cannot pass arguments to scripts (again, if I'm wrong, please explain how I pass arguments to scripts). So, it looks like I must write an EXE and call it from Custom Action, because it's the only way, right? Thanks.
... View more
Labels
- Labels:
-
InstallShield 2009
Jan 26, 2009
04:08 AM
I got it! The dll depends on another dll - when I MANUALLY put the second dll in C:\Windows\System32, the installation works. Of cource I need a better solusion than putting the dll on the machine before the installation. I'll continue from here. Thanks.
... View more
Jan 26, 2009
03:23 AM
This DLL is stored in Binary Table, not installed with the product. Validation didn't complain about this file.
... View more
Jan 25, 2009
11:27 AM
I've developed in C++ a DLL that has one exported function. I've also tested it using a C++ client. It worked. The prototype of the function is as follows: #ifdef __cplusplus extern "C" { #endif __declspec(dllexport) unsigned int __stdcall MyFunc(unsigned long hInstall); #ifdef __cplusplus } #endif I also added EXPORT tag to the linker ( /EXPORT:"MyFunc" ). I tried to run it during installation (CustomAction #1), but it failed with error 3 (I think that Windows Installer called ::LoadLibrary(), and that call returned error 3 (The system cannot find the path specified.) ). How can that be?
... View more
Labels
- Labels:
-
InstallShield 2009
Jan 25, 2009
11:14 AM
I tries using a Public Property, and that solved the problem. I looked like the Private Properties are initialized twice - once for UI sequence and one for Execute sequence. I can't imagine why Windows Installer does that. Thanks
... View more
Jan 22, 2009
05:32 AM
I have this problem: On uninstallation, I need the user to choose between two options, and accordingly, one of two Custom Actions will execute during this process. So I created a dialog that has a Radio Button Group with the two options to choose from. The choice is saved in a Property (1 or 2). The condition of each Custom Action ANDs with the relevant Property value. After that, during the uninstallation process, I saw that the initial value of that Property always determine which Custom Action will execute. I thought that this Property never takes a new value. But that's not the case. I looked at the log, and I saw that just before the end of the file the Property has the value that the user has chosen, much after the uninstallation process ended and a decision of which Custom Action should ececute has made. Any ideas about what to do?
... View more
Labels
- Labels:
-
InstallShield 2009
Jan 18, 2009
03:32 AM
Thank you. I am using Basic MSI project, and it seems that this type of project also have the tab you talking about. But this tab doesn't help me (or I don't know how to make it do what I want). I know how to use this tab to controll the appearance of the buttons [Change] and [Remove], but what I want is a single button, [Change/Remove]. Maybe there is a way to change the text that is written on these buttons?
... View more
Jan 15, 2009
09:54 AM
Hi, I saw that some products have one button in Add\Remove Programs - "Change/Remove" instead of two. How do I do that? Thanks
... View more
Labels
- Labels:
-
InstallShield 2009
Jan 12, 2009
02:24 AM
Hi, Question: How can I suppress the creation/visibility of a console that is created by a console app that I execute (custom action #50) while installing? The console does not require input from the user, it just displays messages on screen, so there should not be a functional reason why not to suppress the creation/visibility of the console. Thanks
... View more
Labels
- Labels:
-
InstallShield 2009
Jan 06, 2009
05:23 AM
Hi, I want an installation of type Setup.msi to act like an installation of type Setup.exe when it comes to upgrades. Meaning that instead of asking the user to uninstall the existing version before installing the new one, just initiate an upgrade (replacing file and reg keys according to some logic). I have read that a way to do this is to supply certain command-line argument like so: msiexec.exe /i "MyFile.msi" REINSTALLMODE=voums REINSTALL=ALL. Hoever, I need the installation to work without the arguments. So, I tried to to use custom actions (of type 51) to force the needed values into those properties, but it had no effect. Is there another way to make the installation perform an upgrade automatically? Or, may be, another way to deceive msiexec into thinking that the needed arguments were supplied?
... View more
Labels
- Labels:
-
InstallShield 2009
Jan 01, 2009
06:25 AM
To make the installer get to ForceReboot I added a condition to InstallValidate to prevent it from executing on uninstall. The reboot really executes, however, when the system goes up again, the uninstallation doesn't resume. A message box appears on screen, saying: "This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package." I can see that the keys in the Registry are still there, the service (my service) is still registered, and all the files in the installation folder are still there. The uninstall didn't actually work. What I cannot see any more are the package in C:\WINDOWS\Installer, the relevant key in HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer, and the app in Add\Remove Programs. Any suggestions?
... View more
Dec 30, 2008
11:00 AM
Hi, I have a problem. I want the uninstall process to start with two steps: 1) Run an executable. 2) Reboot before continuing with the process. The latest I could put the custom action that executes the executable was just prior to InstallValidate. Later than that, and the uninstall process never gets to executing this custom action. HOWEVER, the place to put ForceReboot is between InstallInitialize and Installinalize, the uninstall process never gets there! So, how can I force a system reboot after running the executable? Can any body please shed some light on this issue for me?
... View more
Labels
- Labels:
-
InstallShield 2009
Dec 29, 2008
05:16 AM
Hi, When a user uses Add or Remove Programs to uninstall my software, I want several action to execute before the standard uninstall - reading/writing from/to the Registry and reboot. Can I interfere like that with the normal course of events that take place during uninstallation? Thanks
... View more
Labels
- Labels:
-
InstallShield 2009
Latest posts by z_efrati
Subject | Views | Posted |
---|---|---|
1843 | Jul 30, 2009 06:55 AM | |
1102 | May 10, 2009 08:50 AM | |
1705 | Mar 08, 2009 08:39 AM | |
697 | Jan 26, 2009 04:08 AM | |
697 | Jan 26, 2009 03:23 AM | |
1947 | Jan 25, 2009 11:27 AM | |
683 | Jan 25, 2009 11:14 AM | |
2190 | Jan 22, 2009 05:32 AM | |
899 | Jan 18, 2009 03:32 AM | |
2262 | Jan 15, 2009 09:54 AM |
Activity Feed
- Posted Replace all files in upgrade on InstallShield Forum. Jul 30, 2009 06:55 AM
- Posted How can it be that a component that has a path to the Registry also contains files? on InstallShield Forum. May 10, 2009 08:50 AM
- Posted Deleting INSTALLDIR on uninstall even though it is not empty on InstallShield Forum. Mar 08, 2009 08:39 AM
- Posted Re: Custom Action #1 returned 3 on InstallShield Forum. Jan 26, 2009 04:08 AM
- Posted Re: Custom Action #1 returned 3 on InstallShield Forum. Jan 26, 2009 03:23 AM
- Posted Custom Action #1 returned 3 on InstallShield Forum. Jan 25, 2009 11:27 AM
- Posted Yeah, that was the problem on InstallShield Forum. Jan 25, 2009 11:14 AM
- Posted Radio Buttons Group's Property doesn't take a new value on time on InstallShield Forum. Jan 22, 2009 05:32 AM
- Posted Re: Add\Remove Programs on InstallShield Forum. Jan 18, 2009 03:32 AM
- Posted Add\Remove Programs on InstallShield Forum. Jan 15, 2009 09:54 AM
- Posted How can I suppress the creation/visibility of a console that is created by a... on InstallShield Forum. Jan 12, 2009 02:24 AM
- Posted Reinstallmode & Reinstall on InstallShield Forum. Jan 06, 2009 05:23 AM
- Posted Succeeded initiating a reboot, however the uninstallation doesn't resume after that. on InstallShield Forum. Jan 01, 2009 06:25 AM
- Posted A question about execution sequence of uninstall on InstallShield Forum. Dec 30, 2008 11:00 AM
- Posted Customized Uninstallation on InstallShield Forum. Dec 29, 2008 05:16 AM
- Posted Do ScheduleReboot and Quiet Installation have problem working together? on InstallShield Forum. Dec 28, 2008 10:27 AM
- Posted I ran the installation kit with logging enabled on InstallShield Forum. Dec 22, 2008 04:15 AM
- Posted Reading data from the registry. on InstallShield Forum. Dec 18, 2008 09:05 AM
- Posted Thank you, I'll do that on InstallShield Forum. Nov 06, 2008 07:54 AM
- Posted Basic MSI Project on InstallShield Forum. Nov 06, 2008 07:51 AM