/build/static/layout/Breadcrumb_cap_w.png

Application issue?

I've an application which I was unable to do. Here below is the situation,

They gave me a reg file, a bat file and 3 shortcuts.

first we need to merge the regfile and then we need to run the .bat file and then we need to copy the 3 shortcuts to desktop.

registry file consists of hku keys and i have taken first capture and merged that registry key and taken 2nd capture. But, the keys are not captured.

So i created a batch file and used reg import command. the registry keys are merged but when i delete the keys using the reg delete command it shows an error stating that the specified path was not found.

when i uninstall the msi among the 3 shortcuts 2 are removed and one remains like that. when i logoff and logon then the other shorctut is removed.

Please help me how to get it done. I'm using adminstudio 11.5


0 Comments   [ + ] Show comments

Answers (2)

Posted by: jaybee96 11 years ago
Red Belt
3

Are you trying to repackage this ?

why not open Installshield and just add this information directly..?


Comments:
  • you mean to create dummy msi and import .. - vinodreddy10 11 years ago
  • create MSI ( ISM) from scratch and import registry info, batch activities and shortcuts. - jaybee96 11 years ago
  • Jaybee, how to import the batch activities? - vinodreddy10 11 years ago
  • first of all , what does the batch do? - jaybee96 11 years ago
    • Here is my batch file,

      @echo off

      IF EXIST R:\NUL NET USE R: /DELETE
      NET USE R: \\hacsstc089\dfs /PERSISTENT:YES

      reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v "NoClose" /t "REG_DWORD" /d "1" /f
      reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\system" /v "ForceStartMenuLogOff" /t "REG_DWORD" /d "1" /f
      reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System" /v "DisableLockWorkStation" /t "REG_DWORD" /d "1" /f

      xcopy /q /i /e /y R:\Apps\WorkstationShortcuts "C:\Users\Public\Desktop" /f - vinodreddy10 11 years ago
  • net use is only needed for the copy of the shortcuts ... so you can ignore this
    Registry keys can be manually added to the MSI
    Shortcuts can be manually added to the MSI

    done - jaybee96 11 years ago
Posted by: anonymous_9363 11 years ago
Red Belt
1

Good grief...all of that registry activity should be done via Group Policy! The "Policies" sub-key name is a bit of a give-away!!!


Comments:
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ