Could you give me an example? David Guyer MS wrote:I think that in your install method, you need to use the "statesaver" object and save the output. Wednesday, March 15, 2006 8:37 PM Reply | Quote 0 Sign in to vote You can start with: http://msdn2.microsoft.com/en-us/library/system.configuration.install.installer.install.aspx That should get you started! Thursday, March 16, 2006 4:58 fSecurity.AddAccessRule(new FileSystemAccessRule(everyone, FileSystemRights.Modify | FileSystemRights.Synchronize, InheritanceFlags.ContainerInherit | InheritanceFlags.ObjectInherit, PropagationFlags.None, AccessControlType.Allow)); // Set the new access settings. up vote 14 down vote I had this problem when I didn't specify a custom action in my installer project for all four overrides (Install, Uninstall, Commit, and Rollback). have a peek at this web-site
Added the executable into Custom Actions in the Commit phase. "Li Pang" wrote: Hi, I did the following tasks: 1. Could this be unintended typing into a the code of a class or something about custom action because i tried to used custom actions to run a dotnet3.5 bootstrapper(from Microsoft) during Where should a galactic capital be? FileSecurity fSecurity = File.GetAccessControl(configPath); //Get SID for 'Everyone' - WellKnownSidType works in non-english systems SecurityIdentifier everyone = new SecurityIdentifier(WellKnownSidType.WorldSid, null); // Add the FileSystemAccessRule to the security settings.
It's 1am and I've been fighting with that error for an hour or so. I was getting the error 1001 when it was only added to Commit custom action. –JimSTAT Jul 9 '12 at 17:24 it works for me! –David Nov 20 '14 What's New?
Is there a solution that doesn't require me to re-create an installer using some different framework? General FAQ Ask a Question Bugs and Suggestions Article Help Forum Site Map Advertise with us About our Advertising Employment Opportunities About Us Ask a Question All Questions All Unanswered FAQ Success! Thanks! +1 –Żubrówka Oct 25 '12 at 15:53 Thanks man!
thanks in advance Nov 21 '05 #4 P: n/a Crouchie1998 With that folder you wanted to create: Did you set the 'AlwaysCreate' property to True in your installation project? Could Not Find Installstate C# I added a custom action to create a sub-folder after the installation commit phase, but it return a message "Could not find file MyAction.Installstate". Not the answer you're looking for? http://stackoverflow.com/questions/8063485/custom-action-error-1001-could-not-find-file-myapp-installstate/8205221 share|improve this answer answered Dec 1 at 21:11 vapcguy 907818 add a comment| up vote -2 down vote Try installing this as in an administrator command prompt.
You don't need to write code, just let the base Install method get called. I think you might also see this in situations where the user isn't privileged and doesn't have share|improve this answer answered Jul 15 '13 at 23:32 Elliot Chen 32329 The debugger statement in the code I shamelessly copied wasn't even causing a popup, just a miserable Error 1001 Could Not Find File Installstate I was using the "Textboxes (A)" and "Textboxes (B)" windows in the User Interface section. Error 1001 An Exception Occurred During The Commit Phase Of The Installation Did your installer create the said directory?
share|improve this answer answered Dec 1 at 21:11 vapcguy 907818 add a comment| up vote -2 down vote Try installing this as in an administrator command prompt. Check This Out EDIT: I found that removing everything but the phone number parameter, and putting [PHONENUMBER] in quotes, allows that parameter to be passed. Friday, February 29, 2008 9:34 PM Reply | Quote 0 Sign in to vote I want the custom action to be the running of the application just installed. A log file would be needed to determine why the file wasn't installed (assuming it is included as part of the installation). Error 1001 Could Not Load File Or Assembly
In first pass I also got same message butwhen I look walktrough very carefully I noticed attribute on Commit methodand I probably didn't saw first time because VB syntax. I created an installer class and override the Commit method. The problem occurred when I tried to pass the selected install path to my installer class. Source Do you believe in the future?
For each of the phases, in the Custom Actions section, I right-click and select Add > Add Custom Action... I put the "Primary output" under all of the phases in the Custom Actions GUI, but did nothing with the InstallerClass property (default: True) and only set the CustomActionData string on Maybe the new revolution begins with the unplugging.
Splitting a line into two Is it possible to have 3 real numbers that have both their sum and product equal to 1? Also, have you added a any file to that directory? "Li Pang" wrote: Hi, I made a MSI to deploy a service, and it worked well. I believe you are not doing anything in the Install phase instead need the required files in the commit or later stage, so no file is created.The solution is to add have a peek here share|improve this answer answered Jul 15 '13 at 23:32 Elliot Chen 32329 The debugger statement in the code I shamelessly copied wasn't even causing a popup, just a miserable
share|improve this answer answered Nov 9 '11 at 17:10 Cosmin Pirvu 17.9k52842 This was the case for me, in Custom Action Properties, the property named InstallerClass was set to I added this file into the Application Folder, but I received the above message. "Crouchie1998" wrote: Did you right-click where the special folders are & created your own custome folder? The system cannot find the file specified", and "Error 1001. That fixed this problem for me.
I was also getting the error "Could not find file xyz.installstate". To avoid this problem try to attach the same custom action to "Install" that you have attached to "commit". How to select a number from all the integers list? Wednesday, July 23, 2008 6:48 AM Reply | Quote 0 Sign in to vote Well I had same problem and the solution is quite simple.If you follow the walktrough on web