Jump to content

ITGal

Members
  • Posts

    14
  • Joined

  • Last visited

ITGal's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. That's very possible. No, I didn't write the software, I guess my next option is to contact the vendor. Just wanted to make sure it was not a user error on my part. Thank you!
  2. I'm looking for basically C:UsersUsernameDocuments the registry shows the same as above but ends up saving here: C:UsersUsernameDocumentsUsername
  3. Even with @mydocumentsdir it still seems to save under a username folder within my documents. Same as the above issue.
  4. I actually haven't been able to get that to work either....!!
  5. Unfortunately neither work!
  6. Hey folks, I've created an install script for a program and it works well. I've decided to add a change a registry key as to where the default save location is for this program. I would like the file to be saved to 'My Documents' (the default location is in my documents but buried two folders deep) My registry change doesn't seem to work: RegWrite("HKEY_Local_Machine\SOFTWARE\My Software\etc\etc\User", "MyDocumentsLocation", "REG_EXPAND_SZ", "%USERPROFILE%\My Documents") Now this works to save the files in My Documents, but they are now in a folder with My Documents in a folder named as the user. How can I have them save to JUST My Documents? Thanks for your help!
  7. Thank you BrewManNH, that did the trick! Is there any way to delete the folder from My Documents from ALL users?
  8. I've also tried that, still having no luck!
  9. Having issues with a simple line of text. Want to remove a folder from within My Documents. Let's say this folder is called 'MyFolder'. I can't for the life of me get it to work! I've tried DirRemove, FileDelete, FileMove So, I'd like to try to do something simple like: DirRemove(@DocumentsCommonDir & "MyFolder", 1) or move it to the temp dir to be deleted from there. Help would be greatly appreciated!
  10. mechaflash213 You are amazing!! As much as I stared at it, I totally missed the &'s. Solved my issue
  11. (179) : ==> Error in expression.: RunWait(@ComSpec & " /c " & 'msiexec.exe /i"' $msiinstall"AUTO=1 EDITION="net" PRODUCT="scan" SERVER="192.168.198.2.1" /qn /norestart',"",@SW_HIDE) RunWait(^ ERROR >Exit code: 1 Time: 65.840
  12. Let me add a bit to this, any help would greatly be appreciated! If Not FileExists(@TempDir & "Software") Then DirCreate(@TempDir & "Software") FileInstall("C:UsersmycomputerDesktopInstallTempSoftwareInstaller v.12.msi", @TempDir & "SoftwareInstaller v.12.msi", 1) $msiinstall=@TempDir & "SoftwareInstaller v.12.msi" RunWait(@ComSpec & " /c " & 'msiexec.exe /i"' $msiinstall '"AUTO=1 EDITION="net" PRODUCT="scan" SERVER="192.168.2.1" /qn /norestart',"",@SW_HIDE)
  13. Error in expression, pointing to the $msiinstall=@TempDir & "SoftwareInstaller v.12.msi" line
  14. I'm having some difficulties with an msi that is within a folder within the temp directory. I'm transfering many files to the temp dir, but here are my lines, I'm getting an error on the last line: If Not FileExists(@TempDir & "\Software") Then DirCreate(@TempDir & "\Software") FileInstall("C:\Users\mycomputer\Desktop\InstallTemp\Software\Installer v.12.msi", @TempDir & "\Software\Installer v.12.msi", 1) $msiinstall=@TempDir & "\Software\Installer v.12.msi"
×
×
  • Create New...