Jump to content

benners

Member
  • Posts

    693
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United Kingdom

Everything posted by benners

  1. Hi oioldman, thanks for the reply. I use XPlode to install the apps, similar to WPI, XPlode has a selectedinstall plugin that can also do as you describe, this is the plugin I use. Although you can select the extensions to install, using the -install-global-extension the actual extension is installed to C:\Program Files\Mozilla Firefox\extensions and not to the C:\Documents and Settings\username\Application Data\Mozilla\Firefox\Profiles\voflrj9w.default\extensions so if you backup the profile by copying the Profiles\voflrj9w.default the extensions will not be available, but as stated before the prob is sorted.
  2. SOF IS NO GOOD FOR WHAT I WANT!!, @Djé You and I seem to be on the same page, that is what I want to happen. I have finished my script and it has worked on 3 different computers with 5 installs total. The problem with doubles, extensions in both folders, is that the extensions.ini has two entries for the same extension and if you want to uninstall you have to uninstall it twice. If you can make use of my AutoIt let me know and I will send it you. I use XPlode to select the extensions for each user or computername and the compiled script to install Firefox, Thunderbird, Install the extensions and delete the shortcuts if the username is Benners.
  3. Sorted , I think
  4. Hi keytotime, If I followed your process above how would the user be able to choose which extensions or seachplugins they wanted to install?. I will not be the only person using these installers and would like to offer the flexibility of installing only the searchplugins and extensions they wanted. After using Firefox and setting the options for the different extensions a user could then send me their profiles dir and I could add it to the profiles dir and next time it would be copied after the installation, but I can't see a way using your method, am I missing something? Also, if I am understanding it correctly using SOF is good for 1 user but would not work for multiple users as you would need to create a seperate executable for every user, is this correct.? Thanks.
  5. @bledd Thats the problem, I don't want to install extensions that are not going to be useful, if I dont use ebay I don't want ebaynegs or if I have a pop3 mail account I dont need the webmail, hotmail and gmail extensions, and I dont want to have other folks searchplugins.
  6. Hi Djé, Thanks for your reply, I have been so myopic about installing the extensions silently and with as little fuss and code as poss, totally blanked runnnig the exe with the filename , nice catch. What could also be done is use WinWaitActive to wait until the window is visible then move it off screen (poor mans silent ). I could write the extensions the user selected to a temp file, then parse the filenames from the file and install them. maybe add error checking for extensions that are not compatible or missing and write the errors to a log file. I test the extensions before installation but don't use them all myself, so a few may slip few. I use XPlode and AutoIt scripts to build my DVD image and one part parses the extensions dir and gets the filenames, the XPlode xml is updated with the version number if changed and this saves editing the xml everytime I add a new extension of a new version comes out. My installers are just silent sfx's created with WinRAR and these contain the files that are extracted from the firefox or thunderbird setup exes, they are extracted to the temp dir and an appropriate icon is used for the sfx.I have attached my AutoIt script, this is compiled to Mozilla.exe and run from XPlode with command line options. installer.rar
  7. Hi SRJ, I already have my own installer which installs silently, add the reg entries for association, deletes shortcuts then checks for profiles for the user currently logged on, if none is found a default is installed. The default has no settings or extensions and is used for people who want to specify the extensions they use instead of being dumped with 20 extensions that are not useful for them, this is why I want to install to the appdata folder, so that once the extensions have been chosen and the settings tweaked the user profile can be backed up and added to the install for next time.
  8. Does anyone know a way to silently install the xpi files to the profiles folder in the appdata dir instead of the application dir C:\Program Files\Mozilla Firefox\extensions. I know about the -install-global-extension command and have tried editing the extensions.ini, xpti.dat and compreg.dat files to reflect the different directories but no joy. The reason I want this is I have a list of 20 extensions that a user can choose from using the XPlode selected install method. Installing isn't problem but as they get installed in the application folder, if a profile is backed up it wont work on a fresh install of Firefox. The ones I use on Thunderbird work fine when moved from the application folder to the appdata folder as no other files seem to be altered, but I am struggling with Firefox.
  9. Hi harvas, To answer your questions, yes I do use both the Windows update packs and the WMP addon packs. As far as I can remember I have never had a problem with either of these packs, most problems seem to stem from using nlite to integrate the packs instead of Siginets Integrator, I use the integrator myself and have always found the results to be successful. If problems due occur you can always post on the forum to see if anybody else has experienced it, and if it is reproducable I am sure a fix can be sorted.
  10. Check ur PM. I did get a page that said download session invalid, and a link to click, after I clicked the link it sent me to another page with the download link. what probs are you having with Rapidshare, and is it only this link?
  11. Hi har-vas glad to see you got things sorted, I use Ryan VMs addons for WMP and these can be integrated into the windows installation files so do not need to be installed as seperate hotfixes. If you want to try it here is a link.
  12. Unsure why the error is popping up, always associated it with WMP, perhaps one of the hotfixes is WMP related. I always use RyanVMs update and addon packs and have no problems. As for the shortcuts, the Outlook express code seems ok and works when I create an Outlook Express.lnk in my programs dir and change Harris to Benners, is the lnk in the users dir or allusers? you could always type it into a dos window after install and see what error message is displayed, try this for the alcohol, an extra % is needed del "%systemdrive%\Documents and Settings\All Users\Desktop\Alcohol 120%%.lnk"
  13. you will need the .x4e files in the same dir as XPlode as well, these contain the commands needed
  14. So Lost Soul stepping out on me and getting help from somewhere else eh! Well I use the same switches as you pspx.msi Serialnumber=xxxx APPLAUNCH_REGISTRATION=0 PSP_CREATEQUICKLAUNCH=0 PSP_CREATEDESKTOPICON=0 PSP_READMESHORTCUT=0 PSP_UPDATEFREQ=3 /qn for the main app and use an AutoIt script to search for the msp files, then install them with the /qn switch. If the 10.02 update isnt installing try removing the switches and running normally and see it there is a message reported. I always install my PSP and updates off the cd with no problems, maybe with your slipstreaming something has fooked up and it may be better to start with fresh files. I used to slipstream the updates but extra files and folders were created in the directory and it made it bigger in size than the seperate files were, go figure, and the about box never displayed the proper version number so I dropped kicked that idea and went to the way I use now.
  15. The examples I posted were just that examples, I don't use the program and as such didn't have any settings to copy over. I picked the register, unregister and settings_overrides files at random, as you did not describe the file names that you wished to copy over, I thought I would give you an example of files that you recognized rather than extractions from my own iss files. You are correct in your conclusion that the files belong in the {app} folder and all the files that are currently residing in your appdata folder go into the {userappdata} folder. If you can describe in more detail or send the files to me I will make one that works correctly, when I mean correctly I mean one that works as well not just copies the files correctly. . Do you use Messenger?
  16. Nope adding files is that simple, using wlidcards, the recursesubdirs and createallsubdirs you don't need to list all the file or folders, which in the case of AveDesk is a boon, if you add more files to the same directories you don't have to add those either. The only problem (sometimes) is as I have said before, you cannot use different flags on wildcards as the flags apply to all the files. The more iss files you create the better they will be, it was a while before I realised the recuressubdirs flag, I manually added the files, thats my rookie mistake Don't worry about being a pain, help is what these forums are about.
  17. The code that you posted looks ok. It is not the full iss file, the lines I posted were just examples of how to do the tasks you wanted. To create the iss file from scratch, firstly I create a new folder named with the name of the app, open the folder and right click, select New - Inno Setup Script, this opens a default iss template with settings I have in all my scripts and name it with the app name. As I know where the files are going, and through experience with other files I have created I set up folders as if I had extracted the inno package, so I would create a folder called {app}, this is where the main bulk of the files will go to, and a folder called {userappdata}, this contains files I will copy to the current users app data folder, these folders relate to Inno variables in the script. Opening the script I goto Setup Options - App Directory and set the default location for the {app} variable, this is normally Program Files, which is already assumed with the {pf} variable there, and the name of the folder I want to create there, in this case AveDesk, so it will say {pf}\avedesk. Next I will set the Default program group name, select the Program Group tab next to the App Directory, and enter the name of the folder that I want to install icons to. in this case AveDesk.Once this is done the iss file will contain these lines [Setup] InternalCompressLevel=ultra OutputDir=.\ SolidCompression=true RestartIfNeededByRun=false AllowNoIcons=true ShowLanguageDialog=no LanguageDetectionMethod=locale WizardImageFile=compiler:WizModernImage-IS.bmp WizardSmallImageFile=compiler:WizModernSmallImage-IS.bmp AppName=avedesk AppVerName=avedesk v1.3 DefaultDirName={pf}\avedesk DefaultGroupName=Avedesk I then copy all the files I want to be installed to C:\Program Files\AveDesk into the {app} folder and all the files that I want to goto my app data folder into {userappdata} this would include folder structure as normally I would have installed the app first and setup as I liked, so any folders\files and settings would have been created, as I dont know exactly where your bin and ah weather are going I can't describe the addition of those files so I'll pretend I'm installing the bats and settings_overrides.ini to seperate folders. I would add these folder to the {userappdata}, note this will now differ from my original example. Next I will create the icons, including an uninstall one, import any reg files I have exported that contain registration info or settings\preferences, occasionally info under the Regsitry section requires altering. If I need to register dlls but have used the wildcard I will add these to the Install Run section and the unregistering to the Uninstall Run section, this time were are using the info from the register and unregister.bat. If everything has gone ok and I haven't made any mistakes or typos it should compile ok, below is a file that did providing the correct structure is in place. avedesk.iss
  18. in that case [Run] Filename: {app}\AveDesk.exe; Parameters: /RegServer; WorkingDir: {app}\; StatusMsg: Registering AveDesk.exe Filename: {app}\AveDesk.exe; Parameters: /AssocFiles; WorkingDir: {app}\; StatusMsg: Registering AveDesk.exe [UninstallRun] Filename: {app}\AveDesk.exe; Parameters: /UnRegServer; WorkingDir: {app}\; StatusMsg: Registering AveDesk.exe Filename: {app}\AveDesk.exe; Parameters: /UnAssocFiles; WorkingDir: {app}\; StatusMsg: Registering AveDesk.exe The StatusMsg only shows if it isn't silent, not important just to let the user know what is going on.
  19. I have downloaded the program and there are a lot of files and folders. I could be more helpful if you supplied me with the information regarding the files you need copied to the places you specified, the shortcuts required and the file that needs to be imported, I can only find the shellext.reg, do you have settings stored in a reg file?. I have never used this program so am unaware where the settings are stored. What you want is possible and there are a few ways to achieve some of your requirements. 1. i need to send files to the (current user) program files directory [Files] Source: {app}\*.*; DestDir: {app}; Flags: recursesubdirs ignoreversion createallsubdirs this will compile all the files in the {app} dir and extract them to the folder you designate in the Setup Options - App Directory - Default directory name. I use this especially if there are a lot of files and folders, the main draw back is it limits the use of flags for the files, like being able to register dlls etc, this I normally do under the install run section if using this method. 2. (current user) application data folder [Files] Source: {app}\register.bat; DestDir: {userappdata}\register.bat Source: {app}\settings_overrides.ini; DestDir: {userappdata}\settings_overrides.ini Source: {app}\unregister.bat; DestDir: {userappdata}\unregister.bat these files will be copied to the root of the users app data folder 3. create short cuts in startup and in Start Menu\Programs\AveDesk\ [Icons] Name: {group}\AveDesk; Filename: {app}\AVEDESK.EXE Creates a shortcut to the main executable in the start menu programs in a folder you specify in Options - Program group - Default group name. 4. plus have it import its own registry file [Registry] Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved; ValueType: string; ValueName: {{6DD050D8-FBDF-4562-AB05-8BF879FAE89E}; ValueData: AveInst Extension; Flags: uninsdeletekey Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved; ValueType: string; ValueName: {{F756AF2A-EB0E-4D42-9495-B61BD6D99B82}; ValueData: AveDesk Preview Extension; Flags: uninsdeletekey will let the installer add the registry entries and delete them on uninstall, notice the {{, the first { escapes the data imported from the reg file or, this will compile all the files in the {app} dir and extract them to the folder you designate in the Setup Options - App Directory - Default directory name. I use this especially if there are a lot of files and folders, the main draw back is it limits the use of flags for the files, like being able to register dlls etc, this I normally do under the install run section if using this method. 2. (current user) application data folder [code][Files] Source: {app}\register.bat; DestDir: {userappdata}\register.bat Source: {app}\settings_overrides.ini; DestDir: {userappdata}\settings_overrides.ini Source: {app}\unregister.bat; DestDir: {userappdata}\unregister.bat these files will be copied to the root of the users app data folder 3. create short cuts in startup and in Start Menu\Programs\AveDesk\ [Icons] Name: {group}\AveDesk; Filename: {app}\AVEDESK.EXE Creates a shortcut to the main executable 4. plus have it import its own registry file [Registry] Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved; ValueType: string; ValueName: {{6DD050D8-FBDF-4562-AB05-8BF879FAE89E}; ValueData: AveInst Extension; Flags: uninsdeletekey Root: HKLM; SubKey: SOFTWARE\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved; ValueType: string; ValueName: {{F756AF2A-EB0E-4D42-9495-B61BD6D99B82}; ValueData: AveDesk Preview Extension; Flags: uninsdeletekey will let the installer add the registry entries and delete them on uninstall, notice the {{, the first { escapes the data imported from the reg file or, [Run] Filename: regedit; Parameters: "/s ""{app}\Data\shellext.reg"""; WorkingDir: """{app}\data"""; StatusMsg: Importing Registry Entries this will let regedit import it silently at the end of the install. If you want to chat via messenger PM me and we can arrange a time.
  20. I find the easiest way is to locate the registry entries for the registration infomation and export to a reg file, then, in the registry section select Import From File and chose the exported reg file. Root: HKCU; SubKey: Software\JetCar\JetCar\General; ValueType: string; ValueName: RegDisp; ValueData: Bruce Wayne Root: HKCU; SubKey: Software\JetCar\JetCar\General; ValueType: string; ValueName: RegName; ValueData: batcave@gotham.city Root: HKCU; SubKey: Software\JetCar\JetCar\General; ValueType: string; ValueName: RegPass; ValueData: generated password here I will also try to uninstall all the created registry keys, really bugs me when an app doesn't cleanup after itself Root: HKCU; SubKey: Software\JetCar; Flags: uninsdeletekey for the software settings and, any other files created during normal running of the program.
  21. Unsure of the question m8, by register do you mean username and serial register or register the app in Windows?. If you mean serial number that would depend on whether the app stores registration info in the registry, or creates another file like WinRAR.
  22. I may have already done what you want. I have created an installer the installs Inno Setup 5 with the ISCrypt.dll in the dir (Never actually used it to encrypt) ISTool, custom settings and a adds an option to the new menu to create a new inno script from a default template. here if you want to test it.I have not come across any probs using it.
  23. I have only used it a few times but there is a user number created per user, that is the same and I is generated from the e-mail when an account is first created, a folder is created in C:\Documents and Settings\username\Application Data\Microsoft\MSN Messenger and winks, emoticons etc stored for that user and can be used on other machines. it only seems to be the password hash that is slightly different I have logged in from two network computers with the same email and password and was automatically logged out on one machine as soon as I logged in with another, a popup was displayed informing me of the new login and giving the option to log back in. Ah well looks like I will have to type the info in after every install, its only 10 secs of a job but we do call them unattended CDs thanks for your help.
  24. The %ProgramFiles% variable isn't critical, it just adds support for people whom chose to install to a different partition, you can hard code the paths, I think paths with spaces in would need to be quoted. As far as I know you can only extract to the one path. you could extract the to the temp folder and make a cmd file to copy them to the desired location using the "Run After Extraction" option. *waves hand firmly* Use Inno Setup </jedi mind trick>
  25. Done and replaced 1st notepad.rar in previous post. If you want more flexiblity, use Inno Setup, this has more scope for shortcut and file placement. forgot to add Winrar v3.51
×
×
  • Create New...